Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function moveBackgroundGrid()
- if not isGameEnd then
- for i,v in ipairs(backgroundGrids) do
- v.y = v.y + (gameSpeed * 2)
- if v.y > 1500 then
- v:translate(0,-2208)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement