Day & Night Cycle Script [IN PROGRESS]
Added 2023-05-18 12:40:16 +0000 UTCHey everyone! Hope you're doing well and that your projects are going good. ๐
I thought I'd let you know that I've been working on the day & night cycle script that I asked you earlier if you wanted to see a tutorial for. I've attached a video preview of how it looks like and thought I'd explain a little about it as well.
The earlier post about it can be read here: https://www.patreon.com/posts/feedback-needed-81120653
The tutorial will show you how to make a sort of time system for your visual novel where the player can have the character do activities that progresses time. There will be no clock, only times of day like morning, afternoon, evening and night.
To progress time, we will have a function that adds a certain amount of "activity points" when the player does specific activities. Each time of day will then have so many activity points available to spend before the next time of day arrives.
You can also decide that the player can only do certain actions after so many days have passed for example.
We'll be able to see what day and time of day it is somewhere on the screen, so the player can plan out what to do based on that. With this info, we can then decide at which day and time of day an activity can be done and how many activity points that gives.
For example, in the video above, I made sure the restaurant can only be visited between Monday to Saturday in the afternoon and evening, and is closed on Sundays and in the morning and night.
We also have a function that will progress to the next day which in the example video, is triggered when the player goes to sleep.
The script should be quite easy to work with and gives opportunity for you to expand on it's functionality.
I wanted to let you know how it's looking so far! ๐ More info soon when the tutorial is done!
Thank you for supporting my channel and work to keep it going!
Comments
This looks great, thank you!
Ryu
2023-05-18 12:51:27 +0000 UTCLooks fun and the interaction runs smoothly. Itโs turning out great ๐๐ป
Akouo Studios
2023-05-18 12:46:55 +0000 UTC