Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. if (jump && y == 100)
  2. {
  3. for (i = 0; i < 20; i++)
  4. {
  5. y = y - 5;
  6. if (right)
  7. {
  8. x = x + 2;
  9. draw_sprite(x, y);
  10. }
  11. else if (left)
  12. {
  13. x = x - 2;
  14. draw_sprite(x, y);
  15. }
  16. else
  17. {
  18. draw_sprite(x, y);
  19. }
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement