Pixi.js template using ES6/2015
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets first commit Jan 2, 2016
build minor update. Now the bundle it's compressed Mar 17, 2016
src first commit Jan 2, 2016
.gitignore first commit Jan 2, 2016
LICENSE first commit Jan 2, 2016
README.md minor fix in the readme.md Jan 2, 2016
index.html
package.json first commit Jan 2, 2016
webpack.config.js minor update Mar 17, 2016

README.md

es6-pixi-bolierplate

This is a simple Pixi.js template to start building games using ES6/2015.

Usage

First of all, this project needs Webpack in the global scope:

npm install webpack -g

Once we have installed webpack just clone this repository:

git clone https://github.com/Nazariglez/es6-pixi-bolierplate.git

And install it:

npm install

Now you can use npm start or npm run dev to start watching and compiling files, or npm run build to create a minified, ready to production file.

Files

This project has just 5 files in the src folder like a start point.

  • plugin.js: Add the plugins what you want to extend pixi. This template use the pixi-animationloop plugin by default.
  • index.js: Create the game object.
  • config.js: The renderer config, like width, height, etc...
  • Game.js: A simple object to manage the basic game things.
  • Bunny.js: An extended PIXI.Sprite used like an example.