yenwel / phaser-ecs

ECS Plugin for Phaser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phaser ECS Plugin

This is an Entity Component System plugin (ECS) for the Phaser game framework. It is based upon the makr.js ECS.

How to use?

Use the phaser-ecs.js file from the dist folder in your project. See the examples folder for some usages.

This is essentially a pretty thin wrapper around makr.js.

How to run the examples

Either copy the examples folder to the webroot of your webserver or run the gulp examples task.

To run the task after cloning this repo:

npm install

gulp examples

Then point your browser to http://localhost:9000/ and you should see a bunnies and invaders folder.

About

ECS Plugin for Phaser

License:MIT License


Languages

Language:JavaScript 100.0%