Godot project architecture
Scopes
In GFF, a scope is an entry point available during a specific period of time in the application lifetime.
The application is structured with two scopes:
- App (
res://sources/App.cs): The application scope, initialized at the start of the application, released before quitting. App is a singleton. - Game (
res://sources/Game.cs): The game scope, initialized when starting or loading a game, released when going back to main menu.
Each scope contains Services that can be accessed from anywhere.
Application Scope
Services