Skip to content

Conversation

@valkyrienyanko
Copy link
Contributor

@valkyrienyanko valkyrienyanko commented Dec 2, 2025

Added

  • Added static game class for ease of access to all manager scripts e.g. Game.Scene.SwitchToMainMenu() or Game.Audio.PlaySFX
  • Added convenience methods for scene switching in SceneManager

Removed

  • Removed singleton pattern from all manager scripts (access them through Game.cs now)
  • Removed all GodotUtil namespaces and changed them to __TEMPLATE__

Fixed

  • Fixed Godot not restarting on completing setup process
  • Fixed Godot corrupting [Export]'s after completing setup process
  • Fixed crash from game console being assigned too early in popup menu
  • Fixed SFX players not being cleaned up properly
  • Fixed SFX players in AudioManager not being pooled to save a ton of performance

Documentation

  • All XML documentation in GodotUtils is now exposed (before it was not even showing up)
  • Improved documentation for AudioManager

Introduces a static Game class providing global access to core managers and services via the Autoloads singleton.
Updated all Framework and UI classes to use the __TEMPLATE__ namespace instead of GodotUtils, and adjusted using directives accordingly.
Introduced dedicated methods in SceneManager for switching to specific menu scenes (MainMenu, Options, ModLoader, Credits) and updated all usages to call these methods instead of accessing MenuScenes directly.
@valkyrienyanko valkyrienyanko self-assigned this Dec 2, 2025
@valkyrienyanko valkyrienyanko changed the title 1.0.7 dev wip Remove singleton pattern, add static game class, cleanup events, docs and more, wip Dec 2, 2025
@valkyrienyanko valkyrienyanko changed the title Remove singleton pattern, add static game class, cleanup events, docs and more, wip Remove singleton pattern, add static game class, pool sfx players, cleanup events, docs and more, wip Dec 3, 2025
@valkyrienyanko valkyrienyanko merged commit cd31ae6 into main Dec 3, 2025
@valkyrienyanko valkyrienyanko deleted the 1.0.7-dev branch December 3, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants