Guest User

Untitled

a guest
Jun 17th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. zone = levelgen:findObjectById(1)
  2.  
  3. function main()
  4. local g = zone:getGeom()
  5.  
  6. -- If not centered at 0,0 weird things can happen
  7. local newGeom = Geom.scale(g, 100, 100)
  8.  
  9. zone:setGeom(newGeom)
  10. end
Advertisement
Add Comment
Please, Sign In to add comment