Guest User

Untitled

a guest
Oct 22nd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. local xOffset = 0
  2.    
  3.     for i = 1, levelPacks[prevCurrentLevelPack][prevCurrentLevel].ammount do
  4.        
  5.         if i == 1 then --setup first one
  6.            
  7.             --?
  8.            
  9.         end
  10.        
  11.         if i > 1 then --setup the rest
  12.            
  13.             xOffset = shapesPrevArray[i - 1].width + 10
  14.            
  15.         end
  16.                        
  17.         shapesPrevArray[i].x = xOffset   
  18.         shapesPrevArray[i].y = 41
  19.                 shapesPrevArray[i].isVisible = true
  20.  
  21.         i = i + 1
  22.  
  23.     end
Add Comment
Please, Sign In to add comment