Browse files

Added easing to plane4 transition on example code.

  • Loading branch information...
1 parent a937933 commit 5eb1ac81a199a16f5aee5a2fe7c5c4ac6450e970 @alfredbaudisch committed Mar 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 example/main.lua
View
2 example/main.lua
@@ -46,7 +46,7 @@ local function transitions()
tm:add(plane3, {time = 5000, alpha = 0, rotation = 270, onComplete = function() print("Plane 3 finished") end})
- tm:add(plane4, {time = 5000, x = display.contentWidth - plane1.contentWidth * .5, onComplete = function() print("Plane 4 finished") end})
+ tm:add(plane4, {time = 2000, x = display.contentWidth - plane1.contentWidth * .5, transition = easing.inOutExpo, onComplete = function() print("Plane 4 finished") end})
end
transitions()

0 comments on commit 5eb1ac8

Please sign in to comment.