Skip to content

2.0.0

Compare
Choose a tag to compare
@straker straker released this 25 Sep 07:53
  • refactor(all): change the set function to be called init since it's doing more than just setting properties, it's also giving defaults and initializing other properties
  • refactor(sprite): change vector.init to take an object of properties instead of x,y to match all other init calls
  • refactor(sprite): made the advance and draw helper functions private (advanceSprite, advanceAnimation, drawRect, drawImage, drawAnimation)
  • refactor(animation): change frameSpeed to frameRate for better api
  • refactor(animation): make advance and draw functions private
  • chore(coverage): adding code coverage using coveralls.io
  • test(gameLoop): add tests for gameLoop.js
  • test(quadtree): add tests for quadtree.js
  • test(sprite): add tests for sprite.js
  • test(spriteSheet): add tests for spriteSheet.js
  • test(tileEngine): add tests to tileEngine.js
  • docs(examples): fix examples to use current api