Skip to content

Releases: hiulit/Godot-3-2D-Day-Night-Cycle

[3.1.0] - 2021-09-14

14 Sep 12:54
Compare
Choose a tag to compare

Added

[3.0.0] - 2021-01-15

17 Jan 21:17
Compare
Choose a tag to compare

NOTE: This release contain breaking changes!

Added

  • Moved the time-specific code into a Time singleton.
  • Add a debug overlay that shows:
    • A slider to change the time manually.
    • A checkbox to freeze/unfreeze the time.
    • A checkbox to show/hide the moon light.
    • The current time.
    • The current date.
    • The current period.
    • The FPS.
  • The moon light can be static or moving.

Changed

  • DayNightCycle is just tweening the cycles.
  • The delay variable of DayNightCycle must be set in in-game seconds.
  • MoonLight must be sync with a DayNightCycle.

[2.1.2] - 2019-10-07

07 Oct 09:53
Compare
Choose a tag to compare

Added

  • New parameter: on. Enables/disables the node.
  • New function obj_exists() to check if an object has been deleted.
  • Added a ColorRect as background to appreciate the cycles and the Moon better.

Fixed

  • The Moon wasn't moving properly.

[2.1.1] - 2019-06-12

12 Jun 14:11
Compare
Choose a tag to compare

Added

  • Check if Global.Moon exists instead of commenting the code that changes the Moon's state.

[2.1.0] - 2019-05-06

06 May 10:05
Compare
Choose a tag to compare

Added

  • New exported variables: move. Enables/disables the Moon movement.

Changed

  • New light.png.
  • state_night_start_hour from 18 to 19 in DayNightCycle.gd.

[2.0.0] - 2019-04-17

17 Apr 19:10
Compare
Choose a tag to compare

Added

  • Moon.tscn and Moon.gd.
  • Better documentation explaining how to use the new Moon.
  • New exported variables so they can be used right from the Inspector:
    • Day: day_duration and day_start_number.
    • Colors: color_dawn, color_day, color_dusk and color_night.
    • Cycle states: state_dawn_start_hour, state_day_start_hour, state_dusk_start_hour, state_night_start_hour and state_transition_duration.
    • Debug mode: debug_mode.

[v1.0.0] - 2019-01-31

18 Mar 13:49
Compare
Choose a tag to compare
  • Released v1.0.0