Time Interval System (Persona-like)

Randommerade

All those years, outside looking in...
Veteran
Joined
Mar 30, 2013
Messages
561
Reaction score
81
First Language
English
Primarily Uses
So what I'm trying to do is make a time system much like Persona 3 and 4's through events, conditional branches, variables and switches. Problem is, I can't pinpoint exactly how...

How the system works is, you wake up and it's Morning. You go to school and it becomes Afternoon. Then, you do an activity and once you do, it automatically sends you back home for Evening. My game will have dungeon crawling that takes place during Midnight. Then the player goes to sleep, wakes up, and the cycle repeats again. I can't exactly figure out how to do this.

I already have my HUD graphics made, they contain:

- Base HUD (that goes underneath the variables)

- Every day of the week

- Every month

- Every day in the month

- The times of day (Morning, Afternoon etc)

I have a basic idea of how to do this but I don't know where to start. Could someone point me in the right direction? I've seen guides that base off the same idea, except with a clock system, and I've tried to build off those but to no avail...
 

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,933
Reaction score
1,326
First Language
English
Primarily Uses
RMMV
The best one I can tell you off the top of my head is Vlue's Advance Time Script. It can count hours, days, months, and years, and you can take out the time variable if you don't need it. With the event's it's just making one big common event on parallel that continuously checks the time and transports the player to during certain times.
 

Randommerade

All those years, outside looking in...
Veteran
Joined
Mar 30, 2013
Messages
561
Reaction score
81
First Language
English
Primarily Uses
The best one I can tell you off the top of my head is Vlue's Advance Time Script. It can count hours, days, months, and years, and you can take out the time variable if you don't need it. With the event's it's just making one big common event on parallel that continuously checks the time and transports the player to during certain times.
I'm using it for another game I'm making but not really what I'm going for for this one...
 
Last edited by a moderator:

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,933
Reaction score
1,326
First Language
English
Primarily Uses
RMMV
Well the advance script can do what all you're asking for except label the time of day as Afternoon or delight.
 

Randommerade

All those years, outside looking in...
Veteran
Joined
Mar 30, 2013
Messages
561
Reaction score
81
First Language
English
Primarily Uses
Well the advance script can do what all you're asking for except label the time of day as Afternoon or delight.
Ah okay, and I'm guessing I remove the unneeded time (seconds, minutes, hours) as well? How do I get the HUD to replace the default text also?
 
Last edited by a moderator:

Pumamori

Veteran
Veteran
Joined
Oct 29, 2012
Messages
109
Reaction score
21
First Language
German
Primarily Uses
RMMV
I think the script doesn't suit your specific needs too much. It would overcomplicate matters. The easiest thing to do would be to create a variable that is being checked all the time, displaying the hud according to the value of the variable, and just adding one to it everytime you change the time. Sure, it's a lot of work, but probably the easiest solution none the less.

Let me know if you need an example, I am happy to help! 
 

Randommerade

All those years, outside looking in...
Veteran
Joined
Mar 30, 2013
Messages
561
Reaction score
81
First Language
English
Primarily Uses
Oh someone was kind enough to write a simple script for me so I don't need this anymore :) But thanks for your help! I appreciate it <3
 

Pumamori

Veteran
Veteran
Joined
Oct 29, 2012
Messages
109
Reaction score
21
First Language
German
Primarily Uses
RMMV
Glad that your issue was resolved! Good luck with your game. :) 
 

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top