Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not collide(down)
- piece.y += piece.vy
- else
- merge
- if left
- if not collide(left)
- piece.x -= piece.vx
- else
- align
- else if right
- if not collide(right)
- piece.x += piece.vx
- else
- align
- if key_release
- calculate_offset
- if offset
- piece.x +- piece.vx
Add Comment
Please, Sign In to add comment