Timbeaux’s 2D Day/Night System provides a clean, extensible way to add a full time-of-day cycle to 2D games.
The system supports both URP 2D Lighting and non-URP projects. In URP mode, lighting is driven entirely by Global Light 2D for natural light falloff and dramatic night lighting. For non-URP projects, an optional overlay-based solution is included as a fallback.
Time progresses continuously and is divided into configurable periods (such as Dawn, Day, Dusk, and Night). Developers can trigger events when periods change, at specific hours, or at specific minutes. This makes it easy to drive gameplay logic, lighting changes, ambient audio, or visual effects.
The package includes a polished demo scene showcasing:
- A smooth day/night transition
- URP 2D lighting integration
- Period-based events
- Ambient night audio
- Time-based light activation
All systems are modular, inspector-driven, and designed to integrate cleanly with ScriptableObject-based save systems.