LiGameAcademy/godot_core_system
About
A highly modular and extensible core system framework designed for Godot 4.4+
Games & EmulationWhat you can do
- Switch menus and levels with a fade - CoreScenes reports completion, rejects overlapping requests and uses an optional persistent transition. Resource loading is synchronous. - API · Two-scene example
- Save and load a validated snapshot - CoreSaveStore provides versioned JSON, validation and error results. It distinguishes missing files from invalid data; Windows replacement uses a native extension. - API and counter example
- Read and persist local settings - ConfigFile state with explicit paths, optional diagnostics and no AutoLoad dependency. - API · Configuration example
- Change keyboard and mouse bindings - CoreInputs manages an explicit action group, checks conflicts and restores defaults while preserving joypad inputs. - API and capture/persistence example
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalGodot Core System
English | 简体中文
Lightweight foundation systems for Godot indie developers: reduce repeated engineering and make small games easier to finish and maintain.
Getting Started • Documentation • Examples • Direction & Operations Plan (中文) • Contributing • Support and Help
What you can build
Choose a system for a concrete task and start with its example. The project favors small APIs, explicit ownership and documented failure behavior.
| Task | Service and practical boundary | Start here |
|---|---|---|
| Switch menus and levels with a fade | CoreScenes reports completion, rejects overlapping requests and uses an optional persistent transition. Resource loading is synchronous. | API · Two-scene example |
| Save and load a validated snapshot | CoreSaveStore provides versioned JSON, validation and error results. It distinguishes missing files from invalid data; Windows replacement uses a native extension. | API and counter example |
| Read and persist local settings | ConfigFile state with explicit paths, optional diagnostics and no AutoLoad dependency. | API · Configuration example |
| Change keyboard and mouse bindings | CoreInputs manages an explicit action group, checks conflicts and restores defaults while preserving joypad inputs. | API and capture/persistence example |
| Manage state transitions and countdowns | Value/behavior state machines and an explicitly stepped timer make lifecycle rules visible. | State machines · Timer |
| Scope events and engine pause/speed changes | Subscription tokens and time scopes give their owners explicit cleanup responsibilities. | Events · Time |
| Classify objects and evaluate rule conditions | Local tags and triggers support explicit rule composition. | Tags example · Triggers example |
Audio, configuration, resource management, legacy input/save/scene features, threading and frame-splitting utilities are also documented below. Their scope differs from the independent services above.
Lightweight by design
- Adopt capabilities around actual needs; keep game values, victory rules and UI in your game.
- Use Godot scenes, Resources and signals as the foundation. Add small shared lifecycle rules when real projects justify them.
- CoreSystem remains an application-service entry point for legacy managers. Independent services such as CoreScenes, CoreInputs and CoreSaveStore do not require that AutoLoad.
- Choose one owner and one modification gateway for each state. Avoid mixing legacy and independent services on the same operation.
Independent ownership does not yet mean every module has a separately packaged download. Dependency lists and installation friction are part of the operations plan (中文).
🚀 Getting Started
System Requirements
- Current independent-service validation records use Godot 4.7.2 / Windows x64, in editor and headless hosts. See each module's verification section.
- The included Windows x64 persistence extension requires Godot 4.7+. Exported packages and other platforms still need separate acceptance.
- Basic knowledge of GDScript and Godot Engine.
The project originated with Godot 4.4-era APIs. That historical target is not a compatibility guarantee for the current checkout. Shared behavior with C# is documented module by module; the two versions have different coverage.
The versioned JSON service uses a Windows x64 native extension. Include its DLL when exporting; other platforms need validated packaging. This service has a separate format from the legacy save manager.
Installation Steps
- Obtain the repository contents from a selected commit or tag and record that revision. If using a release, check its compatibility notes.
- Place the contents under
addons/godot_core_system/, withplugin.cfgdirectly inside that directory. This repository is a plugin; use an existing or new Godot host project. - For legacy managers, enable
godot_core_systemin Project Settings → Plugins. The plugin registers the CoreSystem AutoLoad. - For an independent service, follow its setup and ownership instructions. Enabling CoreSystem is optional for these services; scene transitions still need a persistent owner, and Windows save examples need the native extension.
First successful integration
Start with the two-scene example: register its SceneExampleHost AutoLoad, run scene_a.tscn, and use the button to switch through the fade. Then follow the API document to move ownership into your application's persistent node.
For persistence, run the counter example using its API document. For rebinding, use input_bindings and the setup in the input document.
Legacy APIs remain documented below. Independent APIs are separate contracts, including save formats and event routing; replacing old calls requires checking the relevant migration notes.
📚 Documentation
Legacy managers and broader system documentation:
| System | Description | Documentation |
|---|---|---|
| State Machine System | Game state management and transitions | View Docs |
| Audio System | Sound and music management | View Docs |
| Input System | Input control and event handling | View Docs |
| Logger System | Logging and debugging | View Docs |
| Resource System | Resource loading and management | View Docs |
| Scene System | Scene switching and management | View Docs |
| Tag System | Object tagging and categorization | View Docs |
| Trigger System | Event-driven triggers and conditions | View Docs |
| Config System | Configuration management | View Docs |
| Save System | Game save management | View Docs |
Detailed documentation for each utility:
| Utility Name | Description | Documentation |
|---|---|---|
| Frame Splitter | Performance optimization tool | View Docs |
| Async IO Manager | Non-blocking file I/O, strategies | View Docs |
| Threading System | Simplified multi-threading management | View Docs |
| Random Picker | Weighted random selection tool | View Docs |
🌟 Example Projects
Visit our example projects to understand the framework's practical applications and best practices.
Historical Game Examples
These links show earlier use of the project. Their current plugin revisions and compatibility need confirmation before they are used as cases for a new release.
- GodotPlatform2D - A 2D platform game example developed using the godot_core_system framework, demonstrating practical application of the framework in actual game development.
- Exocave : 2d platform jumping puzzle game. Gravity flip as the core mechanism - Developed using the godot_core_system framework's scene_system.
🤝 Contributing
We welcome all forms of contributions! Whether it's new features, bug fixes, or documentation improvements. See our Contributing Guidelines for details.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
💖 Support & Help
If you encounter any issues or have suggestions:
- Check the detailed documentation
- Search through existing issues
- Create a new issue with the plugin revision, Godot version, OS, minimal steps, expected behavior and actual result.
Real integration reports help us improve adoption: which module did you use, what blocked setup, and does it remain in your project? The operations plan (中文) describes the proposed pilot and release preparation; its milestones are planned work.
Community
- Join our Discord Community
- Follow us on itch.io
- Star ⭐ the project to show your support!
🙏 Acknowledgments
- Thanks to all developers who contributed to this project!
- Special thanks to every student at Li's Game Academy!
- Built with ❤️ by the Godot community
Making game development easier
See state machines for value flows, behavior lifecycle, optional nested driving and compatibility changes, and independent timer for deterministic countdown rules.
Native main-scene switching and optional persistent fades are available through CoreScenes, with a standalone example and C# behavior mapping. Legacy scene APIs remain available.
Exclusive engine pause/speed ownership and snapshot restoration are available through CoreTime scopes, with a standalone example and matching C# lifecycle behavior.
For synchronous snapshot events and disposable scene-owned tokens with C# lifecycle parity, see minimal CoreEventBus. Legacy event extensions remain separate.
Local classification and rule conditions with dual-language parity are available through CoreTags, with a standalone example. Legacy object tagging remains a separate extension.
The character tag demo also uses local CoreTags without AutoLoad. Old tag classes are deprecated adapters; see the migration changes.
Local CoreTrigger adds explicit condition/quota evaluation with a standalone example; event and timer ownership remain with the caller.
Caller-owned CoreGameSession adds a fixed identity, lifecycle phases, commit-before-notification and optional pause/resume adapters. The count/timer example uses two independent end rules without a global manager or game assets.
Caller-owned CoreEntities composes a loaded scene and an exclusive instance pool. entities demonstrates per-activation leases, reset and mutable Resource isolation without AutoLoad.
Independent audio now provides scene-owned CoreAudio/CoreMusic, exclusive CoreAudioBusScope and optional explicit CoreAudioPreferences. No CoreSystem AutoLoad is required; see audio contracts and minimal example. Legacy AudioManager migration changes are recorded in the contract.
Explore related projects
Loading…