Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function self:move_right(amount) -- Move the player right said amount. Amount must be an integer. No return.
- for i=0,tonumber(amount) do
- if x<const.WIDTH then
- x=x+1
- else
- break;
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment