-
Hi all....
How do you move a space ship around that is continuosly moving, so there is an effect of gravity and there is a speed that to turn round you have to accelerate the other way, and to keep afloat you have to keep pressing down to thrust upwards?
Any Ideas Kieran - :(
-
Keep track of X-velocity and Y-velocity... Every frame or so, add the X-velocity to the X-position and the Y-velocity to the Y-position. When the controls are used, add or subtract from the velocities to simulate acceleration. If you want to use gravity, add/subtract a small number from the Y-velocity every movement frame.
-
In English?....
I don't really understand that please can you send me an example FLA file so I can figure it out... Cheers!
Kieran
-
An example would be great for that, if you can send one to me also I would greatly appreciate it.
jpike@galaxyonline.com
-
I got one that i can send you.
jydnas_@hotmail.com
I did not make it i just downloaded it from another site on the web.
-
Maybe u like this
This game has a bit of a spacy-accelaration, maybe not what you're looking for but hop you'll enjoy.
http://www.xystes.com/html/games/grubplay.htm
Sander
http://www.xystes.com
-
not really....
That game is not what I'm looking for, I'm looking for one controlled by keyboard, and it has to be quite realistic except for graphics etc....
Thanks! ;)