Description
Changelog
Reviews (0)
Modular architecture framework for Godot. Godular allows you to split your game (or app) into modules, leveraging dependency injection (DI) to manage complex projects and their lifecycles.
Godular establishes a way of structuring code into modules, explicitly declaring what each module provides and what it depends on. This has several benefits:
- It makes code dependencies explicit, if something's missing, the game will fail immediately, not deep within a gameplay session.
- It promotes decoupling, making your code easier to maintain and reuse. Your game runs on mobile and desktop? Mount a different UI module depending on the platform.
- Testing is easier. Dependencies expect specific contracts (Capabilities), this alongside DI makes testing much easier. You can simply mount mock modules where you need them, allowing easier to maintain test suites and less side effects obscuring your test failures.
Features
- Dependency injection for services and factories.
- Middleware that runs before, after, or around a callable.
- A command bus for local handlers and transports you provide.
- Jobs with dependencies, manual start options, and resets.
Install
Godular needs Godot 4.5 or later.
- Install the complete
addonsfolder from your download. Keep both bundled add-on folders. - Enable Godular under Project Settings, then Plugins.
- Follow the getting started guide to create your first module.
AI disclosure
Code, documentation, and the project icon were produced with AI assistance under human review.
Changelog for version 0.1.0
No changelog provided for this version.