terebentina Posted May 9, 2014 Share Posted May 9, 2014 Here's a progressbar I created for my projects: https://github.com/terebentina/VisualTimer Feel free to use it if you need one, I released it under MIT.Not much but I thought to give back to the community MichaelD, plicatibu, Fenopiù and 3 others 5 1 Link to comment Share on other sites More sharing options...
stasuss Posted May 9, 2014 Share Posted May 9, 2014 Very nice indeed! Link to comment Share on other sites More sharing options...
plicatibu Posted May 9, 2014 Share Posted May 9, 2014 Hey, that's very nice of you. Thank you. Link to comment Share on other sites More sharing options...
terebentina Posted May 9, 2014 Author Share Posted May 9, 2014 Thanks guys. Would be nice to know if you put this to use. Link to comment Share on other sites More sharing options...
Rocco Posted May 15, 2014 Share Posted May 15, 2014 don't know if i need it right now, but will come in handy for sure sometimes!Very well done, thank you!! Link to comment Share on other sites More sharing options...
terebentina Posted June 3, 2014 Author Share Posted June 3, 2014 I just updated this to use phaser timers instead of setInterval() so that it can be paused with the game. Link to comment Share on other sites More sharing options...
oler Posted November 21, 2014 Share Posted November 21, 2014 Here's a progressbar I created for my projects: https://github.com/terebentina/VisualTimer Feel free to use it if you need one, I released it under MIT.Not much but I thought to give back to the community Great work! There is one questions I have though. I would I go about it if I wanted a more smoothly animated progress bar as opposed to the current tick animation ? Thanks in advance for your time. This might also help other who might be wondering the same. Oler Link to comment Share on other sites More sharing options...
terebentina Posted November 21, 2014 Author Share Posted November 21, 2014 Hmm, good question. I suppose tweening for width could be used instead of plainly setting it. Unfortunately I don't have time to look into it now but pull requests are welcome Link to comment Share on other sites More sharing options...
lmfname_Marco Posted September 12, 2015 Share Posted September 12, 2015 I want to add time in running Game. The Progress Bar how to do?? Link to comment Share on other sites More sharing options...
joe2movies Posted December 8, 2017 Share Posted December 8, 2017 Hi I followed your instructions to but i get error VisualTimer undefined when i did the below. I included the VisualTimer.js in the index.html (lib/VisualTimer.js) and in the preload.js file i did this.game.load.script('VisualTimer', 'lib/VisualTimer.js'); var indicator = new VisualTimer({ game: this.game, x: 123, y: 456, seconds: 60, onComplete: function() {} }); indicator.start(); Thanks Link to comment Share on other sites More sharing options...
Recommended Posts