You can do a simple smooth jump with fastloop in about four events.
n/a
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
5th May, 2006 at 15:37:27 -
Simple & nice jump events:
- When jump action is triggered: set alterable value of object to jump to -20.
- Always: add 1 to alterable value and set y position to y + (alterable value / 5 or another strength)
- Collision with object + alterable value > 0: set alterable value to 0 and set y position to y + 1 (so the object gets pushed up back to the floor again, seeing as there are lost pixels).
You could add a maximum for the alterable value to implement terminal velocity (or whatever ).