By increasing the Y position of the player by using a constant: GRAVITY=6 INC PY,GRAVITY SPOFS 0,PX,PY And the jumps are performed when you set a opposing force (with negative value) that will nullify gravity and will gradually decrease: VEC=-16 INC PY,(VEC+GRAVITY) DEC VEC SPOFS 0,PX,PY