habitica/common
2015-12-26 19:41:20 -06:00
..
audio Rebalance audio themes 2015-12-04 13:39:29 -05:00
css WIP(event): Winter Wonderland 2015-16 partial 2015-12-15 17:15:02 -05:00
dist/sprites chore: Compile css 2015-12-26 19:02:28 -06:00
img chore(news): Android announcement 2015-12-23 14:43:16 -05:00
locales feat: Refine clear local storage function 2015-12-26 19:00:45 -06:00
script refactor: Extract constants into constants file 2015-12-26 19:41:20 -06:00
index.js Convert coffee files to JS 2015-11-11 20:32:00 -06:00
README.md chore(sprites): Update readme 2015-12-12 17:17:04 -06:00

Common

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

  • Assets - sprites, images, etc
  • CSS - especially, esp. sprite-sheet mapping
  • Algorithms - level up algorithm, scoring functions, etc
  • View helper functions that may come in handy for multiple client MVCs
  • Item definitions - weapons, armor, pets

Compiling spritesheets

Because of some wonkiness with Heroku, the spritesheet compilation is not part of the production build process and must be done manually when new images are added by running:

npm run sprites