sinanqd10 Posted October 31, 2014 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. Link to comment Share on other sites More sharing options...
lewster32 Posted October 31, 2014 Share Posted October 31, 2014 Here you go: http://jsfiddle.net/lewster32/vd70o41p/ juandelossantos, sinanqd10 and drhayes 3 Link to comment Share on other sites More sharing options...
sinanqd10 Posted October 31, 2014 Author Share Posted October 31, 2014 Thanks lewster32 for answered. Really help me alot Link to comment Share on other sites More sharing options...
mwatt Posted May 16, 2015 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). Link to comment Share on other sites More sharing options...
lewster32 Posted May 16, 2015 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. Link to comment Share on other sites More sharing options...
mwatt Posted May 19, 2015 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. Link to comment Share on other sites More sharing options...
juandelossantos Posted March 31, 2017 Share Posted March 31, 2017 Thanks lewster32, I'm newbie and your post saved my day Link to comment Share on other sites More sharing options...
Recommended Posts