Jumping works perfectly, but moving and falling off platforms doesnt.
STANDING OBJECT(*=left or right, ~=plus sign or minus sign, the instance change in Step is the last jumping object, the instance change in Press up is the first jumping object.)
Step:
if place_free(x,y) then instance_change(obj_jump4*, true)
Press up:
instance_change(obj_jump1*, true)
Keyboard right/left(moving):
sprite_index=spr_walk* hspeed~=5
Keyboard right/left(turning)
instance_change(obj_stand*, true)
Release right/left
sprite_index=spr_stand* hspeed=0
Edited by Dragon Star, 02 December 2010 - 01:46 AM.











