Timed Bar Display

S_Rank_Crazy

Veteran
Veteran
Joined
Dec 30, 2015
Messages
78
Reaction score
47
First Language
English
Primarily Uses
RMMV
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/index.php?threads/plugin-request-simple-progress-bar.68049/#post-650454


Download:

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


Screenshots:

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
 
Last edited:

?????

Developer??
Veteran
Joined
Aug 26, 2014
Messages
40
Reaction score
25
First Language
English
Primarily Uses
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!
 
Last edited by a moderator:

Leon Kennedy

Restaff Novice
Restaff
Joined
Aug 14, 2016
Messages
613
Reaction score
469
First Language
english
Primarily Uses
RMMV
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! 
 

S_Rank_Crazy

Veteran
Veteran
Joined
Dec 30, 2015
Messages
78
Reaction score
47
First Language
English
Primarily Uses
RMMV
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.
 

?????

Developer??
Veteran
Joined
Aug 26, 2014
Messages
40
Reaction score
25
First Language
English
Primarily Uses
You're awesome 
 

Haaku

Villager
Member
Joined
Sep 9, 2016
Messages
5
Reaction score
0
First Language
German
Primarily Uses
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 ******* 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
 

Tarumes

Villager
Member
Joined
Mar 2, 2014
Messages
27
Reaction score
10
First Language
German
Primarily Uses
awesome plugin but how to get time in a variable?
 

S_Rank_Crazy

Veteran
Veteran
Joined
Dec 30, 2015
Messages
78
Reaction score
47
First Language
English
Primarily Uses
RMMV
@Haaku Ha, no worries. No need for the credit, though very much appreciated :D


@Tarumes I assume you mean something like...


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


?
 

Tarumes

Villager
Member
Joined
Mar 2, 2014
Messages
27
Reaction score
10
First Language
German
Primarily Uses
@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

Veteran
Veteran
Joined
Dec 30, 2015
Messages
78
Reaction score
47
First Language
English
Primarily Uses
RMMV
@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)
 
Last edited by a moderator:

Tarumes

Villager
Member
Joined
Mar 2, 2014
Messages
27
Reaction score
10
First Language
German
Primarily Uses
found a bug start timer bar open menu with ESC close menu ---> timer bar is gone ^^
 

Kingdommangas

Veteran
Veteran
Joined
Jun 29, 2015
Messages
61
Reaction score
25
First Language
French
Primarily Uses
RMMV
Thanks you so much for this. :D


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


For exemple this type

Jauge_0.png
 

S_Rank_Crazy

Veteran
Veteran
Joined
Dec 30, 2015
Messages
78
Reaction score
47
First Language
English
Primarily Uses
RMMV
@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.
 

styx92

Veteran
Veteran
Joined
Jan 7, 2016
Messages
310
Reaction score
38
First Language
German
Primarily Uses
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.
 

Canini

Veteran
Veteran
Joined
Mar 29, 2016
Messages
1,006
Reaction score
668
First Language
Swedish
Primarily Uses
RMVXA
Very useful plugin! Pretty much what I am looking for at the moment, so I wanted to add to the chorus of thank yous.
 

S_Rank_Crazy

Veteran
Veteran
Joined
Dec 30, 2015
Messages
78
Reaction score
47
First Language
English
Primarily Uses
RMMV
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).
 

styx92

Veteran
Veteran
Joined
Jan 7, 2016
Messages
310
Reaction score
38
First Language
German
Primarily Uses
This would be very awesome!


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


Thanks for your work crazy =)
 

DaklozeDuif

Veteran
Veteran
Joined
Aug 15, 2014
Messages
38
Reaction score
8
First Language
Dutch
Primarily Uses
This looks handy, but the dropbox link is dead. :aswt2:
Anyone have a mirror, or a link to a similar script?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Managed to find a way to hang a bed cover over my window. So no more being toasted alive in the afternoon!:kaoswt2:
So, uh, has anyone tried buying any resources from KokoroReflections? Because I've been looking for a 'buy' button on the site for like 10 minutes now and can't find one.
Any also thought it's too cringy to put the word "and you" in your credit as a special thanks?
Cause that's what I thought...
Everyone in the US right now: Please stay safe.
Symphony Celestia: Prophecy of the Falling Stars RPG Maker music pack WIP. Symphony Celestia is a new series that focuses on symphonic and orchestrated music to tell a story. Each story will include compositions that make up that story from beginning to end. Themes include: Battles, adventures, character themes, etc. Below is a video preview to the first story.

Forum statistics

Threads
97,980
Messages
948,329
Members
129,246
Latest member
Flaminguex
Top