Ember

Jump-thru Platform

May 22nd, 2011
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if place_meeting(x,y,PLAYER_OBJECT)
  2.     if PLAYER_OBJECT.vspeed < 0 {solid = false;} else {solid = true;}
  3.  
  4. if solid = false and !place_meeting(x,y,PLAYER_OBJECT)
  5.     {solid = true;}
Advertisement
Add Comment
Please, Sign In to add comment