Hi folks,
I think the transitions feature is great. I would like to be able to pause a transition and resume it.
Cheers
Michael [import]uid: 5712 topic_id: 777 reply_id: 300777[/import]
Hi folks,
I think the transitions feature is great. I would like to be able to pause a transition and resume it.
Cheers
Michael [import]uid: 5712 topic_id: 777 reply_id: 300777[/import]
Check the “Transition Manager” class: http://karnakgames.com/wp/2011/03/transition-manager-for-corona-sdk-pause-resume-and-manage-all-transitions-in-a-scene/ [import]uid: 10990 topic_id: 777 reply_id: 26284[/import]
This is AWESOME. Thanks.
One hangup: when using a timer so spawn multiple bad guys:
---- transition.to(objectX, {time = 1000, x = 300, onComplete = anotherFunction}) ----
transition.to handles the passing of self great when using onComplete: i am able to call another function and have it pass self and keep on going.
---- tm:add(objectX, {time = 1000, x = 300, onComplete = anotherFunction}) ----
When i switch to tm:add , i get a "attempt to index local ‘self’ (a nil value) error. when i switch back to transition.to, the problems go away.
Suggestions? [import]uid: 14136 topic_id: 777 reply_id: 31823[/import]