Foundation - Component #1

Closed
opened 2026-01-02 13:57:07 +01:00 by cat · 1 comment
Owner

The primary building block of the ECS. Components are simple structs where only data is stored. Components are not allowed to store any functions or logic. They are strictly data only.

Implementation Ideas

  • The world is to hold each component in a std::span, Entityes themselves own the components.
  • Each component on initialization must have a pointer of its owner.
  • Components cannot have any private variables.
The primary building block of the ECS. Components are simple structs where only data is stored. Components are not allowed to store any functions or logic. They are strictly data only. **Implementation Ideas** - The world is to hold each component in a std::span, Entityes themselves own the components. - Each component on initialization must have a pointer of its owner. - Components cannot have any private variables.
cat added this to the Tourmaline Engine - Basics project 2026-01-02 13:57:07 +01:00
cat moved this to To Do in Tourmaline Engine - Basics on 2026-01-02 13:57:10 +01:00
cat moved this to In Progress in Tourmaline Engine - Basics on 2026-01-02 17:47:17 +01:00
cat moved this to Frozen in Tourmaline Engine - Basics on 2026-01-04 16:16:49 +01:00
cat moved this to Done in Tourmaline Engine - Basics on 2026-01-06 00:46:18 +01:00
Author
Owner
https://git.thenight.club/cat/Tourmaline-Engine/commit/c1efee5b4e94f0773847f9399c25f9ae6c1b4c15
cat closed this issue 2026-01-06 00:46:35 +01:00
Sign in to join this conversation.