Advertisement
Guest User

Untitled

a guest
Dec 16th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. local function phaseOne(self)
  2.         local function phaseTwo(self)
  3.         transition.to( self,  { time=1000, x = 450, onComplete = phaseOne} )
  4.         end
  5.     transition.to( self,  { time=1000, x = 25, onComplete = phaseTwo} )
  6.     end
  7.      
  8.     function hangerGun:moveHangerGun()
  9.     print("1")
  10.     transition.to( self.display,  { time=1000, x = 450, onComplete = phaseOne} )
  11.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement