- // @not completely framerate independant :-/
- physic.set_velocity_y(physic.get_velocity_y() + 50 * elapsed_time);
-
- if(physic.get_velocity_y() > 900)
- physic.set_velocity_y(900);
- else if(physic.get_velocity_y() < -900)
- physic.set_velocity_y(-900);
-