Skip to content

Develop/scaffold#89

Open
W3NDO wants to merge 5 commits intoecsx-framework:masterfrom
W3NDO:develop/scaffold
Open

Develop/scaffold#89
W3NDO wants to merge 5 commits intoecsx-framework:masterfrom
W3NDO:develop/scaffold

Conversation

@W3NDO
Copy link

@W3NDO W3NDO commented Mar 13, 2026

Some component and system pairs are often developed together.

A good example of these pairs are position components and a movement system. In a 2D space, you will have an XPosition, YPosition,Xvelocity and YVelocity component and a movement system that updates these components. Other examples would be health/damage systems, where your entity has health/damage point components and a health system updates their values.

By using a scaffold, you will now be able to generate these component system pairs. For instance;

mix ecsx.gen.scaffold movement2d

would generate these components and systems for movement on a 2d plane.

W3NDO added 5 commits March 12, 2026 19:30
- added basic documentation for scaffolding with ecsx
- created the bones of a scaffold generator
- added tests for scaffold generator
- We can scaffold a movement system and movement components for 2d
- new templates for movement2d system and health system when scaffolded
- Updated documentation for scaffolds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant