0.0.13 • Published 3 years ago

@browndragon/phaser3-ecs v0.0.13

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

@browndragon/phaser3-ecs

Binds @browndragon/ecs to the phaser.io library.

See @browndragon/phaser3-ecs-examples for examples (shared lerna monorepo).

Scene.System

The root is the Scene.System which should (ideally in its constructor) this.runSystem(SomeSystem) for all intended systems.

Each System has the scene methods preload() and create(), as well as System-and-scene-method update(context, time, delta). The System is constructed with a this.scene reference as well, for access to scene facilities.

While the Scene does expose addEntity and removeEntity actions, it's assumed you'll be doing most of your work within Systems; the context.observe and context.remove actions are much more convenient.

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.7

4 years ago

0.0.7-alpha.0

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago