Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x += xsp
- y += ysp
- {
- if xsp > xspmax
- xsp = xspmax;
- }
- //right
- {
- {
- if (keyboard_check(vk_right)) && (!keyboard_check(vk_left)) image_xscale = 1
- if (xsp >= 0)
- xsp += 0.08;
- }
- {
- if image_xscale = 1 && (!keyboard_check(vk_right))
- if (xsp > 0)
- xsp -= 0.4;
- if xsp <= 0
- xsp = 0
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement