sinanqd10 Posted October 31, 2014 Report Share Posted October 31, 2014 I want to count down the time in second.eg: 01.30 then time start to count down from 01:29,01:28,01:27 etc... till the end.What method should I use?Please give me the example. Quote Link to comment Share on other sites More sharing options...
lewster32 Posted October 31, 2014 Report Share Posted October 31, 2014 Here you go: http://jsfiddle.net/lewster32/vd70o41p/ sinanqd10, drhayes and juandelossantos 3 Quote Link to comment Share on other sites More sharing options...
sinanqd10 Posted October 31, 2014 Author Report Share Posted October 31, 2014 Thanks lewster32 for answered. Really help me alot Quote Link to comment Share on other sites More sharing options...
mwatt Posted May 16, 2015 Report Share Posted May 16, 2015 I'm sort of necro-ing this thread, but I have a question and I trust lewster32 to give a very definitive answer. I'd like to know if there is any advantage in using this Phaser based timer method recommended here over just creating your own countdown mechanism with POJS (plain 'ol JavaScript). Quote Link to comment Share on other sites More sharing options...
lewster32 Posted May 16, 2015 Report Share Posted May 16, 2015 Phaser's timer is synced to Phaser's internal execution order and frame rate. Using the timers guarantees that whatever's being called happens at the right time, when Phaser is ready to deal with it properly, rather than potentially happening anywhere while Phaser is doing its stuff between frames. Quote Link to comment Share on other sites More sharing options...
mwatt Posted May 19, 2015 Report Share Posted May 19, 2015 I appreciate the reply Lewster, thank you. I suppose this might in some cases be marginally better than using a timer, which of course won't run anyway until there is free time. Quote Link to comment Share on other sites More sharing options...
juandelossantos Posted March 31, 2017 Report Share Posted March 31, 2017 Thanks lewster32, I'm newbie and your post saved my day 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.