Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Releases: prescientmoon/ecs

Added badges to the readme!!!

21 Nov 19:29
Compare
Choose a tag to compare

Groups & the Ecs builder are here!!!

21 Nov 19:10
Compare
Choose a tag to compare

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!

19 Nov 16:36
Compare
Choose a tag to compare

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

18 Nov 20:55
Compare
Choose a tag to compare

Just work...

18 Nov 20:48
Compare
Choose a tag to compare

Deploying to gpr is sooooo annoying...

I. HATE. DEVOPS.

18 Nov 20:43
Compare
Choose a tag to compare
v0.0.7

0.0.7

JUST WORK

18 Nov 20:37
Compare
Choose a tag to compare
v0.0.6

0.0.6

Changed ci... again

18 Nov 20:33
Compare
Choose a tag to compare

So deploying to npm worked, hopefully thisll also fix deploying to the gpr

Hopefully fixed those acionts once for all

18 Nov 20:20
Compare
Choose a tag to compare

Finally made the tests & build pass

18 Nov 20:17
Compare
Choose a tag to compare

The name is pretty self explainatory