Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. //bounce player(working)
  2. if place_meeting(x, y - 1, oParActor) && (y > oParActor.y) || place_meeting(x, y - 1, oParProp) && (y > oParProp.y)
  3. {
  4.  
  5. //if something lands on me, bounce them.
  6. with (other)
  7. {
  8.  
  9.  
  10. vy = other.vy * -1.5;
  11.  
  12.  
  13. }
  14.  
  15. sprite_index = jump_pad_squish;
  16. image_speed = 0.8;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement