0.4.1 Full Video Tutorial, Useful Tester UIs, and Bug Fixes


During prepping for the first World Time plugin tutorial, I noticed a few quality of life changes that could be made and a few date changing bugs now fixed after additional unit testing.

UI Changes

  • Added a basic date_time display UI template
  • Added a basic time_of_day display UI template
  • Moved world_speed_control to ui/time_speed and renamed it to world_speed_slider
  • Increased default width of world_speed_slider.tscn to 200px

Bug Fixes

  • Fixed a bug where the month wouldn't increment in the calendar as expected
  • Fixed a bug where GameYear days_before_start_of_month() didn't add last month's index when counting days
  • Fixed a bug where GameCalendar days_until_end_of_year() was calculating from the previous month for number of days in each month instead of the current month
  • Fixed a bug where the starting time of day wouldn't set properly
  • Fixed a bug where time of day directional lighting wouldn't start until the first change in time of day
  • Fixed a bug where when game starts at 0 game seconds, the time of day initial progress would also be 0 when it should be a percentage of the way between the transition start and end times

Files

world_time-0.4.1.zip 30 kB
Oct 25, 2023

Get World Time Plugin for Godot 4

Buy Now$30.00 USD or more

Leave a comment

Log in with itch.io to leave a comment.