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 banned.url 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
56
Reaction score
24
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
990
Reaction score
662
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: 2)

Latest Threads

Latest Posts

Latest Profile Posts

i watched the sonic movie it was pretty good i hope they make a sequel
tomorrow I'ma go on a cruise for the first time ever... lets hope I'll survive the experience!
Omg! 8 years in this forum :o
Ksi
Streaming the last of the RMN Valentiny event games so feel free to drop on by and watch me cry (whether that's from laughter, rage or sheer pain, who knows?)
Today I went to sleep without setting an alarm, so I could sleep more than 2 hours. I woke up after 2 hours.

Forum statistics

Threads
94,310
Messages
919,833
Members
124,063
Latest member
pluscho
Top