Game for arcade cabinet

Talk about making games.

Game for arcade cabinet

Postby retroarcade » Sat Mar 15, 2014 8:26 pm

Hi everybody.
I have built an arcade cabinet and wish to develop some game, just to have fun with it.
And I came across game-editor which is a really nice tool.

So I am just a noob with some problem to solve.

A - Until this evening my sprite was the basic game-editor pac-man. I changed it with a sprite I designed with Inkscape and now, after a jump, it has no more collision and fall across the floor. I hadn't this kind of trouble with the pac-man sprite;

B - My sprite has to fire and hit zombies or monsters. When I fire, the bullet should come out from the chest. Right now it seems to come out from the groin. There is a way to change the bullet height?

C - I use Linux Mint and export my tests for Windows XP. The game works just for few seconds then it crashes and I have to restart the pc. Does anybody know why?

I post my file, just in case.


So thank you very much in advance!!!
Attachments
testi.ged
(7.95 KiB) Downloaded 145 times
retroarcade
 
Posts: 18
Joined: Sat Mar 08, 2014 2:20 pm
Location: Italy - Germany
Score: 0 Give a positive score

Re: Game for arcade cabinet

Postby knucklecrunchgames » Sat Mar 15, 2014 9:42 pm

Please upload the data folder so it will load properly. If there is no data folder and you only load the testi.ged, this is what happens

Image
User avatar
knucklecrunchgames
 
Posts: 1071
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score

Re: Game for arcade cabinet

Postby tzoli » Sun Mar 16, 2014 7:15 am

Hi! Welcome to the game-editor community!
As knucklecrunchgames said you have to upload the data directory for the game so we can load it properly.
I can't help currently with A and C but here is the answer for your B question:

There is an option when you select the CreateActor function there is a part called Initial position.
If the Relative to Creator is set to "Yes" then if you set y negative number your actor will be created higher, if you set it a positive number your actor will be created lower.
If you set x it's the same with left and right.

I hope this helped.
Creepers are capable of climbing ladders, despite lacking arms. (Minecraft wiki)
User avatar
tzoli
 
Posts: 343
Joined: Sat Jun 12, 2010 6:54 pm
Location: Behind you
Score: 15 Give a positive score

Re: Game for arcade cabinet

Postby knucklecrunchgames » Sun Mar 16, 2014 9:00 am

Oh yeah, I forgot.

WELCOME TO THE FORUMS :D :D :D :D :D

Image

here is some wii controller cake to celebrate
User avatar
knucklecrunchgames
 
Posts: 1071
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score

Re: Game for arcade cabinet

Postby bat78 » Sun Mar 16, 2014 6:28 pm

A: Game Editor's "sprite default object" is not really a sprite. It is Icon.
And the collision is just the same when you change the view.
Create a canvas on the floor, then select a Collision event from your actor to the canvas and set the "Repeat Event" to Yes.
That will repeat the collision events. After then choose a Physical Response function.
The future of "Game-Editor" here
User avatar
bat78
 
Posts: 816
Joined: Sun Dec 14, 2008 9:13 pm
Location: Bulgaria, Sofia
Score: 88 Give a positive score

Re: Game for arcade cabinet

Postby lcl » Sun Mar 16, 2014 6:47 pm

bat78 wrote:A: Game Editor's "sprite default object" is not really a sprite. It is Icon.
And the collision is just the same when you change the view.
Create a canvas on the floor, then select a Collision event from your actor to the canvas and set the "Repeat Event" to Yes.
That will repeat the collision events. After then choose a Physical Response function.

If one wants to do collision this way - without using the actual land actor, it's better to use Filled region actors then Canvas actors.
That is because canvas actors are a lot heavier for the game than Filled region actors. While the difference isn't always visible on computer, it's
huge on a phone or other mobile platform. And in my opinion it just makes more sense because canvas actors are meant for drawing things, not for acting as collision boxes.

EDIT:
Also, welcome to GE forum! :)
This might be a little random, but are you from Finland?
Your file name just leads me to think that way, because 'testi' is finnish for 'test'. xD
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Game for arcade cabinet

Postby bat78 » Sun Mar 16, 2014 6:50 pm

Weeeeeeeeeeell.. you can't draw in filled regions so i think yeah.
Thats why they are called Filled perhaps.
The future of "Game-Editor" here
User avatar
bat78
 
Posts: 816
Joined: Sun Dec 14, 2008 9:13 pm
Location: Bulgaria, Sofia
Score: 88 Give a positive score

Re: Game for arcade cabinet

Postby retroarcade » Sun Mar 16, 2014 7:21 pm

Hi guys !

Nice to meet you !

I upload also the data files so you can check what's wrong. It is in progress, so be nice :oops:

So, for the A - problem, i found the solution just by chance. The hero sprite is upon a wire frame region. A thin one. I had to thicken it and my sprite doesn't fall through anymore.

For the B question, thanks to tzoli: now it works as I want.

For the C problem, i have tried everything. Strangely, when i test the game on my arcade cabinet in the game-mode, everything works fine. But when i export it, it last only few seconds and the it crashes.

PS:
To lcl: I'm not from Finland but from Italy. We also use to word "test" for test, but i mispelled it and it stayed so. Too lazy to change it :D
Attachments
data.zip
(938.08 KiB) Downloaded 134 times
retroarcade
 
Posts: 18
Joined: Sat Mar 08, 2014 2:20 pm
Location: Italy - Germany
Score: 0 Give a positive score

Re: Game for arcade cabinet

Postby bat78 » Sun Mar 16, 2014 7:28 pm

MMMM export it for Linux?
testi_linux.zip
(1.18 MiB) Downloaded 133 times
The future of "Game-Editor" here
User avatar
bat78
 
Posts: 816
Joined: Sun Dec 14, 2008 9:13 pm
Location: Bulgaria, Sofia
Score: 88 Give a positive score

Re: Game for arcade cabinet

Postby bat78 » Sun Mar 16, 2014 7:33 pm

test_lin.zip
(1.33 MiB) Downloaded 140 times
*
Sorry*
The future of "Game-Editor" here
User avatar
bat78
 
Posts: 816
Joined: Sun Dec 14, 2008 9:13 pm
Location: Bulgaria, Sofia
Score: 88 Give a positive score

Re: Game for arcade cabinet

Postby retroarcade » Sun Mar 16, 2014 7:37 pm

Oh by the way, here is my boy!


Still some improvements to do, but it does its job!
Attachments
SAM_0786.JPG
retroarcade
 
Posts: 18
Joined: Sat Mar 08, 2014 2:20 pm
Location: Italy - Germany
Score: 0 Give a positive score

Re: Game for arcade cabinet

Postby retroarcade » Sun Mar 16, 2014 7:42 pm

Hi bat78 !

You mean export for Linux and then use the file in Windows?

I tried to built my cabinet with Lubuntu but got stuck with sound troubles. So, at least for the moment, I use xp.
retroarcade
 
Posts: 18
Joined: Sat Mar 08, 2014 2:20 pm
Location: Italy - Germany
Score: 0 Give a positive score

Re: Game for arcade cabinet

Postby knucklecrunchgames » Sun Mar 16, 2014 7:55 pm

retroarcade wrote:Oh by the way, here is my boy!


Still some improvements to do, but it does its job!


DID YOU BUILD THAT!!! :o :shock: I have a few questions:

Did you build that from scratch, or bought the frame, if you bought it, where did you get it from

How do you put the game in, Do you put a laptop inside the machine???

That is amazing
User avatar
knucklecrunchgames
 
Posts: 1071
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score

Re: Game for arcade cabinet

Postby bat78 » Sun Mar 16, 2014 8:19 pm

Use Windows 7 VM
A have friends with Linux and they have sound issues as well. But it works at least.
According to Windows XP...... that OS is Ancient and i have no horrific clue about it. I know it works with proper Win7.
The future of "Game-Editor" here
User avatar
bat78
 
Posts: 816
Joined: Sun Dec 14, 2008 9:13 pm
Location: Bulgaria, Sofia
Score: 88 Give a positive score

Re: Game for arcade cabinet

Postby retroarcade » Mon Mar 17, 2014 5:00 am

All right! I'll try Win7 at work. Maybe the problem is xp itself.


To knucklecrunchgames: yes I built the cabinet frame. It was an old dream! And it has been easier than expected. Just need some good tools and time to spend.

I found some useful informations reading this book
http://www.amazon.com/Project-Arcade-Build-Your-Machine/dp/047089153X/ref=pd_sim_sbs_b_1/189-8781814-7073319?ie=UTF8&refRID=1G5SVW6N368ZVWG4NJ5Y.

For the frame I wrote the plan myself because the one proposed in this book was too hard for me.
The frame is by far the most difficult part of the story.
As you can see the sides were made in a single piece: I think it was a mistake. For improvements or further handlings it is better to divide the side in two parts. I'll do it in the future.

Inside the cabinet there is an old pc with xp tweaked in order to give the impression you are in front of a real cabinet (I erased the xp logo and things like that).
I bought an old 4:3 lcd monitor on Ebay. I've tried to use also the Raspberry Pi but it had problem handling the IPAC2. But for real small cabinets, the RPI is the solution.

The arcade joystick and the button can be found on ebay to.

For the wirings, used the IPAC 2 (usb version)
http://www.ultimarc.com/ipac1.html
and found the instructions here http://www.koenigs.dk/mame/eng/basicwiringguide.htm.
Very funny to make it!

For the emulation I use MAME and MaLa as frontend. For the Roms, no comment 8)
Attachments
SAM_0558-1 (copy).JPG
retroarcade
 
Posts: 18
Joined: Sat Mar 08, 2014 2:20 pm
Location: Italy - Germany
Score: 0 Give a positive score

Next

Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest