Skip to content

jefframos/crazy4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

simple connect 4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published