Hey guys!
I started playing with ZGameEditor and I'm really impressive with this awesome tool.
I followed the tutorial that comes with it (a simple game) and I'm really happy with the results.
I'm trying to make a car movement, but I don't know how do I start, because Up/Down, Left/Right movement is made with just changing the X and Y velocity, but car movement is a little more complexy I think (for me).
I just want to rotate using the Left and Right keys and to accelerate using the Up key, really simple.
I used Game Maker for a while, and in GM there are some variables that I can do that movement, like speed and direction. But in ZGE I don't know how do I do that.
If someone has any tutorials or documentation/help I will appreciate!
And sorry for my english!
Car Movement
Moderator: Moderators
Hi,
ZGameEditor doesn't have such variables build-in no. But, fortunately it's really easy to do this yourself
Attached is a basic example .. in case you have any questions, just let me know!
K
ZGameEditor doesn't have such variables build-in no. But, fortunately it's really easy to do this yourself

K
- Attachments
-
- Car.zgeproj
- (4.41 KiB) Downloaded 642 times
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:
hacks,.
Welcom Psyke!
here I am just riffing on Kjell's example; added some tire tracks, and some camera rotation (in the Z axis) so the car points up-screen,. . we could do a nice little game with this setup,. . .
here I am just riffing on Kjell's example; added some tire tracks, and some camera rotation (in the Z axis) so the car points up-screen,. . we could do a nice little game with this setup,. . .
- Attachments
-
- Car2.zgeproj
- additional hacks,. .
- (6.14 KiB) Downloaded 651 times
iterationGAMES.com
Hi guys,
@Psyke - And with only a few more calculations you can make the car behavior look pretty convincing in 3D as well ( see attached ).
@jph - Yea, there's always room for good ( arcade style ) racing games
K
@Psyke - And with only a few more calculations you can make the car behavior look pretty convincing in 3D as well ( see attached ).
@jph - Yea, there's always room for good ( arcade style ) racing games

K
- Attachments
-
- Car.zip
- (205.56 KiB) Downloaded 662 times
-
- Car.jpg (38.34 KiB) Viewed 7509 times