No description
Find a file
2013-04-10 14:59:58 -04:00
img update images 2013-04-10 14:59:58 -04:00
.gitignore reverting back to commonjs format, using browserify to compile 2013-03-12 17:41:32 -04:00
algos.js move more scoring functionality into shared. on the web side, we'll 2013-03-12 18:10:16 -04:00
favicon.ico add a bunch of possible shared items for now, will clean up later 2013-03-11 14:50:00 -04:00
helpers.js reverting back to commonjs format, using browserify to compile 2013-03-12 17:41:32 -04:00
index-browser.js move more scoring functionality into shared. on the web side, we'll 2013-03-12 18:10:16 -04:00
index.js reverting back to commonjs format, using browserify to compile 2013-03-12 17:41:32 -04:00
items.js reverting back to commonjs format, using browserify to compile 2013-03-12 17:41:32 -04:00
Makefile reverting back to commonjs format, using browserify to compile 2013-03-12 17:41:32 -04:00
package.json reverting back to commonjs format, using browserify to compile 2013-03-12 17:41:32 -04:00
README.md update the readme 2013-03-12 17:46:36 -04:00

Shared resources useful for the multiple HabitRPG repositories, that way all the repositories remain in-sync with common charactaristics. Includes things like:

  • Assets - sprites, images, etc
  • CSS - especially, esp. sprite-sheet mapping
  • Algorithms - level up algorithm, scoring functions, etc
  • Item definitions - weapons, armor, pets

Note: We can't load CommonJS format into the browser. There's a way to pull it in with RequireJS (r.js?), but I couldn't get that working. Instead I created a Makefile which runs Browserify to compile index-browser.js, which you include in a <script/> tag in your index.html. Let's fix this sometime.

##Installation

  • npm install
  • make