Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = players[name]
- player.rockImages = {}
- for x = 1, puzzle.w do
- player.rockImages[x] = {}
- for y = 1, puzzle.h do
- local pieceX = (x - 1) * puzzle.pieceW + puzzle.x
- local pieceY = (y - 1) * puzzle.pieceH + puzzle.y
- player.rockImages = tfm.exec.addImage(...)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement