Enhanced Stat is an addon suite for Godot 4.1, designed to provide an intuitive and powerful way to manage stats in games such as Health, Mana, Speed, and Attack Damage. This addon is part of the Enhanced suite aimed to make your Godot development faster, cleaner, and more enjoyable!
- Clone or download the repository.
- Copy the
enhanced_stat
folder inside your project'saddons
directory. - Enable the addon by going to
Project -> Project Settings -> Plugins
and activating the "Enhanced Stat" plugin.
- Reactive Programming: Stats are reactive, and changes can be listened to in real-time.
- Computed Stats: Type safe basic stats.
- Aggregated Stats: Create new stats based on existing stats, automatically updating when dependencies change.
- Bind Mechanism: Allows easy binding of stats to in game nodes.
- Modifiers: Flexible modification of stats through addition, multiplication, or other custom methods.
- Listeners: Events to notify game logic of stats changes.
- Component-based: Reusable components that can be combined to create complex status effects.
- Modifiers: Attachable to stats to create temporary or permanent changes.
- Vfx: Add vfxs or nodes while the status effect is active.
- Editor Inspector: Use the editor to configure the stats and status effects for your game.
- Enhanced Common: This addon depends on the enhanced_common addon for various utilities and common functionalities. Make sure to also have this addon installed and enabled.
Here is an overview of the project's file hierarchy:
- enhanced_stat
+---addons
+---enhanced_common
+---enhanced_stat
+---icons
+---scenes
+---editor
+---stats
+---bind
+---listeners
+---modifier
+---scripts
+---editor
+---stats
+---bind
+---listeners
+---modifier
+---core
+---stats
+---bind
+---listeners
+---modifier
+---stat
+---status_effects
+---components
Check the documentation for tutorials, API references, and examples to get started. Usage is straightforward and can easily be integrated into your existing Godot project.
Further documentation is available in the docs
directory.
You can also check the inline comments for a more detailed understanding of specific methods and functionalities.
Contributions are very welcome! Feel free to open issues or submit pull requests.
This project is licensed under the terms of the MIT license. See LICENSE for details. This project uses icons from icons8. If you fancy those lovely icons, please check out their website.
Made with β€οΈ for the Godot community. Happy coding! π