cant fall off platform. HELP :):)

Blitz3D Forums/Blitz3D Beginners Area/cant fall off platform. HELP :):)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thankyou very much for that Nebula. It works perfactly.
I was wondering if you can give me some feedback on how I have determined how the code you have supplied works.

This is how I have explained it to myself.

When there is not a collision you have put that if dudeY is less than 390 (The Ground ) and jumpheight = 10. Then to activate a jump " canjump = 1 and jump = 1" but instead of making him jump upwards hes actually jumping towards the ground. Hes jumping towards the ground because jumpheight has been changed to negative number.

Have I interpreted this in the correct way?

THX again for helping me with this Nebula. Much Appreciated :)