Help - Search - Members - Calendar
Full Version: Returning play time value
RPG RPG Revolution Forums > Scripting > Script Development and Support > RGSS
BlueLemming
Basically I want to try to modify the internal clock script (found here) into having day/night work off the game's playtime rather than the computer's clock time. I'm experienced in other coding languages but this would be my first attempt at modifying/writing RGSS.

Thanks in advance!

Edit: Right now I'm doing the framecount/framerate to get total time played in seconds, I'm guessing this is the only way to do this?
Tsukihime
That seems to be the most straightforward way to do it without creating new variables and dumping them into save files and making sure that it's correct when you load it etc.

Since frame rate and frame count are consistent with each other, as opposed to real-time vs frame rate.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.