Timed Bar Display

This one came up as a request in the forums and thought I'd have a go at it. Been a little while since I did any coding so thought it'd be a nice exercise...


Request:

https://forums.rpgmakerweb.com/inde...equest-simple-progress-bar.68049/#post-650454


Download:

https://www.dropbox.com/s/vabw225nu4lmk4x/SRCrazy_TimedBarDisplay.js?dl=0


Screenshots:

Spoiler
window_test.png


image_test.png


just_bar.png



Features:

* Bar uses the standard horizontal two-colour gradient, colours are customisable


* Background colour for the bar is also customisable


* Script callable


* Window position and size on creation


* Support for frame counting or real-time


Version 1.0.0


* Rewritten to allow more customisation for text colour and placement, bar position and dimensions


* Made display of window optional


* Added support for displaying an image


Version 1.1.0


* Added support for tracking the current progress (time, frame count) in a variable


* Added support for triggering a switch or Common Event when timer completes
Thank you for this 🙂 ihave a suggestion: To allow a background picture instead of the default window skin and a custom picture of the losing bar, for more customization!
I shall add this to my todo list 🙂
This one came up as a request in the forums and thought I'd have a go at it. Been a little while since I did any coding so thought it'd be a nice exercise...

great job on this! 
Thank you for this 🙂 ihave a suggestion: To allow a background picture instead of the default window skin and a custom picture of the losing bar, for more customization!

Annnnnnddd... Done.
You're awesome 
YOU Sir, are a ****ing saint! Thank you SO much. Seriously! I know this wasn't a challenge or anything spectecular. Thank you even more for that! Please PM me your paypal or patreon account or so. Thank you so much! It works like a charme and it's exactly doing what i wanted and need. Seriously. Thank you so so much. I already put you in the credits, of course on the very top were you belong!

thankscrazy!.JPG
awesome plugin but how to get time in a variable?
@Haaku Ha, no worries. No need for the credit, though very much appreciated 😀


@Tarumes I assume you mean something like...


timedbar(x, y, message, $gameVariables.value(variableId));


?
@S_Rank_Crazy not realy but usefull thx


i mean something like "current time in seconds to variableID" or trigger switch oder common event
@S_Rank_Crazy not realy but usefull thx


i mean something like "current time in seconds to variableID" or trigger switch oder common event



Ah, so sending the current progress of the timer to a variable? I've just made some updates for that , triggering a switch and calling a Common Event 🙂  Hope that helps some people.


I added some usage examples to the plugin's help section that covers the 1.1.0 additions (variables, switches, common events)
found a bug start timer bar open menu with ESC close menu ---> timer bar is gone ^^
found a bug start timer bar open menu with ESC close menu ---> timer bar is gone ^^

Same if you leave the map. The timer is gone 😀
Thanks you so much for this. 😀


I have a suggestion, implemented a foreground picture with the backrground picture, for more customization!


For exemple this type

Jauge_0.png
@Tarumes & @styx92 I didn't really intend for it to be used while changing scenes, this will include loading another map, calling any menu, loading in from a saved game. Not sure of an ETA for a fix for that atm for 2 reasons:


- No internet at my current address (long story)


- Had some personal issues past couple of weeks, so lacking free time atm.


Also not looked in to the scene redraw process before,, but will try and get fixes when I'm able.


@Kingdommangas This should be pretty easy with how I've written the plug in so far and will add this when I get time.


Sorry I can't give any deadlines for y'all. Life just happens sometimes.
Alright. Than i have to wait. There is no othet visual timer plugins out there xD 


Would be great if you find the time to fix it.
Very useful plugin! Pretty much what I am looking for at the moment, so I wanted to add to the chorus of thank yous.
Hey guys, will try and look in to adding support for things you've mentioned in the next week (hopefully by Friday latest if my life doesn't get all hectic).
This would be very awesome!


Mabye a pause function would be nice, but i dont want to push you 😀 only ideas....that i needs xD


Thanks for your work crazy =)
This looks handy, but the dropbox link is dead. :aswt2:
Anyone have a mirror, or a link to a similar script?

Original thread: https://forums.rpgmakerweb.com/threads/timed-bar-display.68409/