These are some modular components for the godot engine.
This project is based on the principle of:
- Modularity: Components should be independent and stackable.
- Flexibility: Components should be customizable and flexible.
Making game features modular helps you to implement new features and makes the pre-existing features easier to debug and edit.
All components are subject to constant updates, and none are considered usable yet This project is a WIP.
DO NOT USE THIS PROJECT FOR YOUR GAMES YET!!!
- ✅ GameControllerComponent (scene manager)
- ✅ AudioManager (audio manager)
- ✅ DialogueComponent (dialogue system)
- ✅ TransitionComponent (can be used for scene transitions under GameControllerComp, or for transitions in general)
- ✅ HealthComponent (health manager for player characters and NPCs. Accompanied by comps for hitbox, hurtbox and healbox)
- ✅ FiniteStateComponent (node-based state machine for NPCs)
- ✅ Drag2DComp & DragGUIComp (makes objects draggable trough mouse input)
- ✅ VFXComponent (customizable effects like screenshake)
- ✅ IDGenerator (Generates sequential IDs and uuids)
- ✅ InventoryComponent (manages and stores your items)
- ✅ TimeComponent (tracks time in total minutes, minutes and days)
- ✅ InteractionComponent (allows for interacting with objects)
- ✅ ItemCarry3DComponent (allows for picking up items in 3d space)
- ✅ GUIComponent (For your pause screen, inventory screen and UI needs)
- ✅ CharacterController2D & CharacterController3D
No executables will be provided, since these are to be interacted with from within the editor.
You can run the project by cloning the repo and importing the project into Godot.
git clone https://github.com/forgeworksdev/Modular-Components-Godot.git
cd Modular-Components-Godot- Open Godot v4.5.1;
- Click Import in the top left corner of the Godot project manager;
- Select the
project.godotfile in the repository; - Click Import & Edit.
- 🖥️ Godot v4.5.1 (Engine)
- 🎨 GDScript (Scripting)
- 📦 TeenyTinyPixls by Chequered Ink Ltd.
- 📦 TeenyTinyPixls by Chequered Ink Ltd.
- 📦 Godot Pixelorama Importer addon (Fork by Daniel Chabrowski, original by Technohacker)
- 📦 Prototype Textures (by Kenney)