
-----------------------------------
gigaman
Wed Dec 21, 2005 1:17 pm

Making objects fall
-----------------------------------
I am making a mario game (yes i know the picture used is luigi) The problem i am having is making the character fall. I was trying to use threads but i don't understand them and i am not even sure they would work. Any help is appreciated

-----------------------------------
Tony
Wed Dec 21, 2005 3:14 pm


-----------------------------------
inside your game's loop (so during each frame render) accelerate your character downwards by a set amount.

make sure you're not letting things fall though the floor though :wink:

-----------------------------------
gigaman
Wed Dec 21, 2005 11:20 pm

Timer
-----------------------------------
Since positions can't be altered in the general declarations (yes obvious) should i do this in a timer?
