Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //bounce player(working)
- if place_meeting(x, y - 1, oParActor) && (y > oParActor.y) || place_meeting(x, y - 1, oParProp) && (y > oParProp.y)
- {
- //if something lands on me, bounce them.
- with (other)
- {
- vy = other.vy * -1.5;
- }
- sprite_index = jump_pad_squish;
- image_speed = 0.8;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement