View difference between Paste ID: ygmY1fjj and fu6djQch
SHOW: | | - or go back to the newest paste.
1
local function phaseOne(self)
2
	transition.to( self.display,  { time=1000, x = 25, onComplete = self.moveHangerGun} )
3-
function animStart()
3+
4-
transition.to( self.display,  { time=1000, x = 25, transition = easing.linear, onComplete = self:moveHangerGun()} )
4+
5
function hangerGun:moveHangerGun()
6
	transition.to( self.display,  { time=1000, x = 450, onComplete = phaseOne} )
7-
transition.to( self.display,  { time=1000, x = 450, transition = easing.linear, onComplete = animStart} )
7+