Guest User

Untitled

a guest
Oct 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. if not collide(down)
  2. piece.y += piece.vy
  3. else
  4. merge
  5.  
  6. if left
  7. if not collide(left)
  8. piece.x -= piece.vx
  9. else
  10. align
  11.  
  12. else if right
  13. if not collide(right)
  14. piece.x += piece.vx
  15. else
  16. align
  17.  
  18. if key_release
  19. calculate_offset
  20.  
  21. if offset
  22. piece.x +- piece.vx
Add Comment
Please, Sign In to add comment