This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
Releases: prescientmoon/ecs
Releases · prescientmoon/ecs
Added badges to the readme!!!
Groups & the Ecs builder are here!!!
Basic use of the new features:
type vector2 = [number, number]
const ecs = new EcsBuilder()
.addManager('position', typedManager<vector2>(UmbrellaComponentManager))
.addManager('speed', typedManager<vector2>(UmbrellaComponentManager))
.addManager('color', typedManager<string>(UmbrellaComponentManager))
.group('physics', ['speed', 'color'])
.group('render parameters', ['color', 'position'])
.build()
That will create an ecs with 3 basic components (position, speed and color) and 2 groups.
What are groups you might ask?
Groups are just a way to well, group multiple components together in a single object, for them to be usable in the same system!
The UmbrellaComponentManager is here!
Added:
- The
UmbrellaComponentManager
class (insipred by the managers from this project) - The
typedManager
helper
Chore:
- Cleaned a few files (i still have to remove a few random dependencies)
I really hate devops, trust me
v0.0.9 0.0.9
Just work...
Deploying to gpr is sooooo annoying...
I. HATE. DEVOPS.
v0.0.7 0.0.7
JUST WORK
v0.0.6 0.0.6
Changed ci... again
So deploying to npm worked, hopefully thisll also fix deploying to the gpr
Hopefully fixed those acionts once for all
v0.0.4 0.0.4
Finally made the tests & build pass
The name is pretty self explainatory