doyouknowyou Posted December 15, 2014 Report Share Posted December 15, 2014 I was wondering if anyone knows a way I can detect if a tween is running for a certain amount of time. I've got a loading icon which needs to trigger an event if it runs for a certain length, kind of like a timeout. If anybody knows a good way to achieve this please share! Quote Link to comment Share on other sites More sharing options...
rtlehr Posted December 15, 2014 Report Share Posted December 15, 2014 Not sure if you can detect a tween time, but could you create an event?...game.time.events.add(1000, function() { doSomthingHere();}, this); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.