Hi everyone,
I implemented a day/night cycle in my game. This is a continuous cycle depending on a timer, meaning I can't like switch between a day and a night map.
Works well so far, except for one thing. I'd like to change the enemies one can encounter depending on the time. Like, if I have 4 troops in the map's encounter list, I'd like troops 1 and 2 to only be encountered during daytime (switch is off), and 2 and 3 only during nighttime (switch is on). I'd like to use the map's encounter settings because of regions.
Does anyone know how I can implement this?
I implemented a day/night cycle in my game. This is a continuous cycle depending on a timer, meaning I can't like switch between a day and a night map.
Works well so far, except for one thing. I'd like to change the enemies one can encounter depending on the time. Like, if I have 4 troops in the map's encounter list, I'd like troops 1 and 2 to only be encountered during daytime (switch is off), and 2 and 3 only during nighttime (switch is on). I'd like to use the map's encounter settings because of regions.
Does anyone know how I can implement this?