-
Notifications
You must be signed in to change notification settings - Fork 0
Day and Night Cycle Summary
Jump to a section
- Summary
- Day and Night Cycle Service
- Day and Night Cycle Filter
- Day and Night Cycle Clock
- Day and Night Cycle Clock UI
The day and night cycle service uses GameTime
to leep track of the current day, time and part of day/night cycle. This then triggers events that inform other components of the game to perform actions based on what stage of the day the game is in (e.g. enemies can spawn at night).
See here for more details.
The day night cycle filter is represented by a component in the codebase called DayNightCycleComponent.java
. It is responsible for giving the dawn,day,dusk and night look of the game. Underneath it uses an OpenGL Shader Language files to accomplish the shading. It hooks in to the game rendering cycle to apply the shading all the while making sure to avoid shading UI components.
See here for more details.
More information on the design of the clock and its ideation for Atlantis Sinks may be found here!
User Testing was completed in order for user expectation to be recognised in regard to the clock implementation and design! This paved the way for the various design fidelities.
See here for more details.