Skip to content

justindujardin/pow-core

Repository files navigation

pow-core Build Status Coverage Status Join the chat at https://gitter.im/justindujardin/pow-core

Core Typescript classes for use in the various Pow related projects. Uses JQuery for resource loading, and Underscore.js for general awesome.

Features

  • Serialized Entity composition with hot-swappable Component objects.
  • Resource Manager for loading Audio, Image, JSON, Javascript, XML, Tiled TMX, and Tiled TSX files.
  • Events class based on Backbone.Events.
  • Point and Rect classes for representing spatial objects.
  • Time manager that can efficiently notify many objects of time and frame updates.
  • World class for grouing app specific data so that there may be many distinct apps on a given page.

Installation

bower install --save pow-core

Browser Support

The pow-core test suite is run against a number of browsers to ensure it's compatible.

Sauce Test Status

Building

Download and install Node.JS if you don't have it:

node --version

npm --version

Install the grunt utility:

npm install -g grunt-cli

grunt --version

Install the bower utility that's used for installing javascript libraries:

npm install -g bower

Install the npm and bower dependencies:

npm install && bower install

Run the developer workflow:

grunt develop

Contributing

Commit messages should follow conventions.

About

Core set of Typescript classes for use in multiple Pow tools.

Resources

License

Stars

Watchers

Forks

Packages