caiser Posted December 20, 2015 Share Posted December 20, 2015 Hi guys, I'm wondering if it is possible to have a "slide effect" between states.I know we can use ease in/out effects but I couldn't find a slide (tween?) effect. Any help is appreciated. Thanks Link to comment Share on other sites More sharing options...
drhayes Posted December 21, 2015 Share Posted December 21, 2015 Yes, but you have to do it "manually". In other words, you have to start the tween and transition to the new state on tween end yourself. Link to comment Share on other sites More sharing options...
caiser Posted December 21, 2015 Author Share Posted December 21, 2015 Thanks drhayes,but what should I be tweening exactly ? Everything on Screen ? Link to comment Share on other sites More sharing options...
drhayes Posted December 22, 2015 Share Posted December 22, 2015 A nice, cheap version might be to tween the alpha of game.world down to 0, switch states, then tween the alpha back to 1. Not that I totally do that all the time or anything. ( = Link to comment Share on other sites More sharing options...
Recommended Posts