Page 1 of 2

Game for arcade cabinet

PostPosted: Sat Mar 15, 2014 8:26 pm
by retroarcade
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!!!

Re: Game for arcade cabinet

PostPosted: Sat Mar 15, 2014 9:42 pm
by knucklecrunchgames
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

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 7:15 am
by tzoli
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.

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 9:00 am
by knucklecrunchgames
Oh yeah, I forgot.

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

Image

here is some wii controller cake to celebrate

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 6:28 pm
by bat78
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.

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 6:47 pm
by lcl
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

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 6:50 pm
by bat78
Weeeeeeeeeeell.. you can't draw in filled regions so i think yeah.
Thats why they are called Filled perhaps.

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 7:21 pm
by retroarcade
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

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 7:28 pm
by bat78
MMMM export it for Linux?
testi_linux.zip
(1.18 MiB) Downloaded 133 times

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 7:33 pm
by bat78
test_lin.zip
(1.33 MiB) Downloaded 140 times
*
Sorry*

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 7:37 pm
by retroarcade
Oh by the way, here is my boy!


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

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 7:42 pm
by retroarcade
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.

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 7:55 pm
by knucklecrunchgames
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

Re: Game for arcade cabinet

PostPosted: Sun Mar 16, 2014 8:19 pm
by bat78
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.

Re: Game for arcade cabinet

PostPosted: Mon Mar 17, 2014 5:00 am
by retroarcade
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)