Pow is a set of core game classes to support my 2D typescript game experiments. It has a basic component architecture, serialized entity format, and loads and renders Tiled! TMX maps.
It no longer houses any produced game output except for sprite sheets and core code. For a game example checkout Angular2 RPG.
You need to have Node.JS, Bower, and Grunt.JS installed. You'll also need a basic familiarity with executing commands in your system terminal.
Download and install it.
node --version
npm --version
If those commands both return a value, and no error message, you're ready to go.
Install the grunt
utility.
npm install -g grunt-cli
grunt --version
If you receive errors, you may need to run this command as an administrator on your OS. For more detailed information, see the grunt Getting Started Guide.
Install the bower
utility.
npm install -g bower
bower --version
Install the npm dependencies:
npm install && bower install
Once you've installed the project, start up the developer workflow using grunt:
grunt develop
This will build game sprite sheets, compile core game classes into output files (in lib/
), and and produce test files.
npm install -g karma-cli
and then karma start
after having run grunt develop
Commit messages should follow conventions
The folks over at JetBrains have been kind enough to sponsor this open source project by providing free licenses of WebStorm to any serious contributors to the project.