Playtime Window

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
375
Reaction score
292
First Language
English
Primarily Uses
RMMV
Introduction:

This is a simple plugin which allows you to have a playtime window in your menu, as indicated by the screenshot below:

It will work with any resolution. Mine is 912x720, just for reference. This plugin is fully compatible with my Menu Location plugin. If you need to change the location/size of the window, I would recommend using the Super Tools Engine by SumRndmDde.

This plugin also works with Yanfly Engine Plugins, which can be found @ http://yanfly.moe

Enjoy!

Script:

Dropbox

Credit:

Not required, but much appreciated!

Terms of use:

Free to use in any project, even commercial ones.
 

kovak

Silverguard
Veteran
Joined
Apr 3, 2016
Messages
1,256
Reaction score
1,558
First Language
PT - EN
Primarily Uses
RMMV
this is so good that i'm in tears now.
 

Kai1994

Warper
Member
Joined
Apr 30, 2017
Messages
3
Reaction score
1
First Language
Dutch
Primarily Uses
RMMV
Hello. I have the following issue with the plugin.



It's supposed to be abit more to the left right? I'm not sure what's causing this but otherwise really cool plugin and thanks for uploading!
 

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
375
Reaction score
292
First Language
English
Primarily Uses
RMMV
Hello. I have the following issue with the plugin.

It's supposed to be abit more to the left right? I'm not sure what's causing this but otherwise really cool plugin and thanks for uploading!
Sorry about that. I was testing something on my game and didn't notice the change I had made as it was overwritten by another plugin.

You can download the new version, or simply replace line 35 with this:

this._playtimeWindow.x = 0;

:D
 

Kai1994

Warper
Member
Joined
Apr 30, 2017
Messages
3
Reaction score
1
First Language
Dutch
Primarily Uses
RMMV
Cheers! Works perfect now thank you! Love it :)
 

Kisai

Veteran
Veteran
Joined
Aug 7, 2013
Messages
35
Reaction score
17
First Language
English
Primarily Uses
N/A
This, and the Menu Location plugin don't really work with Yanfly's scripts if you have his menu alignment set to "right". As in, the menu commands are on the right side of the screen. It works perfectly fine if it's left to the default "left" side, but if you switch it to the right side, these plugins don't really work...

Well, editing the script in notepad, I managed to rearrange the windows so that the command, gold, playtime, and location windows are on the right side, with the status window on the left. ^^;
 
Last edited:

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
375
Reaction score
292
First Language
English
Primarily Uses
RMMV
This, and the Menu Location plugin don't really work with Yanfly's scripts if you have his menu alignment set to "right". As in, the menu commands are on the right side of the screen. It works perfectly fine if it's left to the default "left" side, but if you switch it to the right side, these plugins don't really work...
Oh, I know. I just meant that, in terms of compatibility, they work together. I just threw both of those plugins together real quick and didn't setup parameters. It's also why I mentioned using the Super Tools Engine by SRD. It's a great plugin that allows you to move and resize your windows, among other things. You should check it out! :wink:
 

Kisai

Veteran
Veteran
Joined
Aug 7, 2013
Messages
35
Reaction score
17
First Language
English
Primarily Uses
N/A
Oh, I know. I just meant that, in terms of compatibility, they work together. I just threw both of those plugins together real quick and didn't setup parameters. It's also why I mentioned using the Super Tools Engine by SRD. It's a great plugin that allows you to move and resize your windows, among other things. You should check it out! :wink:
It probably would've been more efficient than repositioning the windows through trial and error, so I will. ^^ And yeah, as far as compatibility, it seems to work okay, no crashing or anything. And it's possible to make the windows visible anyway, so that's good. Anyway, as someone who desperately wanted these two staples of an RPG menu, thanks. ^_^
 

Cinnamon

Veteran
Veteran
Joined
Jun 20, 2014
Messages
605
Reaction score
209
First Language
English
Primarily Uses
I love those icons in front of the Main Menu options, where can I find that?
 

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
396
Reaction score
190
First Language
English
Primarily Uses
RMMV
Sorry to necropost but I'm having a problem with this plugin. I did a LP of my demo & couldn't help but notice that the playtimer was way behind the actual playtime. After completing my LP in just under 3 1/2 hours the playtime said it was just over an hour. Either the playtimer is too slow or it wasn't counting when its supposed to. Here's my video of it. Just skip to 3:18:40 the end when you can see the menu & compare the playtime to the time on the video itself.
 
Last edited:

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
375
Reaction score
292
First Language
English
Primarily Uses
RMMV
Sorry you're having issues with it @Animebryan . The timer counts when it's supposed to, every second. It's running at 1/3 speed on your game for whatever reason. There might be a plugin you're using that conflicts with it. Any external lag etc wouldn't slow it down.
 

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
396
Reaction score
190
First Language
English
Primarily Uses
RMMV
So, its internal lag? I can't imagine any plugin interfering with it.
 

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
375
Reaction score
292
First Language
English
Primarily Uses
RMMV
The refresh function is supposed to be on a 1 second timer. I know that can be changed elsewhere, but I wouldn't recommend that. Sometimes browsers can slow down JS functions like the timer. But since you're using the MV executable, I'm inclined to say it's either another plugin or too many plugins.
 

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
396
Reaction score
190
First Language
English
Primarily Uses
RMMV
Is there a way to speed it up to compensate?
 

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
375
Reaction score
292
First Language
English
Primarily Uses
RMMV
I'm not sure. I've never tried that.
 

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
396
Reaction score
190
First Language
English
Primarily Uses
RMMV
Is it at least possible?
 

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
375
Reaction score
292
First Language
English
Primarily Uses
RMMV
I'm sure it is, but I wouldn't know where to begin. Try looking at the coding of some other timer plugins and see if you can tinker with anything to achieve the desired effect.
 

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
396
Reaction score
190
First Language
English
Primarily Uses
RMMV
I don't have any experience in coding either so I wouldn't know what to look for. I do know that the games made with RPG Maker naturally have a in-game timer that's referenced deep in conditional branches, yet ironically, there's no way to display it by default. So I imagine most playtime plugins are simply taking that built-in timer & finding a way to display it in a window.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

The most rewarding part of making custom body character parts is absolutely not making the masks work. Somebody please put me out of my misery.
Any commercial devs here ever mess with Gamejolt? Been contemplating making my games available there but don't know if it's worth the effort or not.
Social distancing taught me of how much of not a loner I am. Dammit, I miss seeing my friends...
Happy 4th of July all. Anybody have plans? Mine here is staying home away from the virus. Still a nice 3 day weekend.
The project I am working on is going great at the moment. I'm hoping everyone is having as successful a time as I am. :)

Forum statistics

Threads
99,258
Messages
963,580
Members
130,850
Latest member
MarcusCryo
Top