Do you want to make your game’s environment more dynamic? Try a day/night effect to increase the immersion. You are in luck if you are working on a 2D game!

Last Updategithub|hiulit|Godot-3-2D-Day-Night-Cycle|master
Authorhiulit and more
Supported Versions3.2

Features

  • Day / Night Cycle for 2D Games
  • Cycle without the moon light
  • Cycle with a static moon light
  • Cycle with a dynamic moon light
  • Day/Night Configurator

Installation

  • Clone the repository or download it in a ZIP file
  • Copy the following files and folders to your project:
    • time.gd file (day_night_cycle/src/singletons/time.gd)
    • day_night_cycle folder (day_night_cycle/src/day_night_cycle)
    • moon_light folder (day_night_cycle/src/moon_light)
    • debug_overlay folder (day_night_cycle/src/debug_overlay)

Usage

Prerequisites

Add a simple cycle

Add a cycle with a moon light

Add a delay between cycles

Add a debug overlay

License

MIT

Extra

Nothing yet. If you want to recommend a tutorial resource for this, use the suggestions page.