Maybe the example project "Marble Racer" can help you. It's in the Examples folder, under Games. You can also find it online here.
In short, pressing a key changes the variable by a little bit. Then you change the coordinate you want to change by the variable.
Hope that helped!
Last edited by coolstuff (2010-05-21 19:50:56)
Offline
There is many other variables that go along with it to affect it gravity (the push down), friction (the way it slows down) and force (how hard it hits something creating a counter reaction). I have a game called gravity ball it could give you accurate gravity and velocity variables.
Offline
wildplayer wrote:
There is many other variables that go along with it to affect it gravity (the push down), friction (the way it slows down) and force (how hard it hits something creating a counter reaction). I have a game called gravity ball it could give you accurate gravity and velocity variables.
Indeed, I also have a game called Runner (here is the sequel, which is better) which addresses friction.
Offline