Skip to content

forgeworksdev/Modular-Components-Godot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modular Components for Godot Engine Games

test

🏗️ Description

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.

⚠ Warning

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!!!

Components (Existing and planned):

  • ✅ 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)

Extras:

  • ✅ CharacterController2D & CharacterController3D

📷 Screenshots

image

🔧 Installation & Setup

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.


📥 Cloning the Repository

git clone https://github.com/forgeworksdev/Modular-Components-Godot.git
cd Modular-Components-Godot

🎮 Running the Project in Godot

  1. Open Godot v4.5.1;
  2. Click Import in the top left corner of the Godot project manager;
  3. Select the project.godot file in the repository;
  4. Click Import & Edit.

🛠️ Technologies Used

  • 🖥️ 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)

About

Modular components for Godot games

Resources

License

Stars

Watchers

Forks