Advertisement
Squalleze

Untitled

Apr 27th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. local player = players[name]
  2. player.rockImages = {}
  3. for x = 1, puzzle.w do
  4. player.rockImages[x] = {}
  5. for y = 1, puzzle.h do
  6. local pieceX = (x - 1) * puzzle.pieceW + puzzle.x
  7. local pieceY = (y - 1) * puzzle.pieceH + puzzle.y
  8. player.rockImages = tfm.exec.addImage(...)
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement