Time Change Problems


Author: Christian Romo

Posted on 2/9/2024

A current problem we have that has been an issue is that when our player decides to sleep or dies there should be time shift forward. Currently the problem that we are facing is that the system isn't allowing changes to happen mid play to the sun and moon rotation. This is a problem due to the fact that we cant manipulate the time of our game. Multiple of our game objects rely on making sure they keep track of how much time has gone by, so by not being able to set the time correctly they are limited to simple delay/timers.

One option that we are aiming to try is use an event dispatcher that would happen whenever a time shift is needed. Then we would tie in a time management interface that would be in charge of keeping track of the times. With both of these systems working together we hope to be able to set the correct times for everything once the player dies or sleeps. The only problem would be making sure that the changes take affect on the sun and moon positions while the game is playing. 


Leave a comment

Log in with itch.io to leave a comment.