Skip to content

Releases: straker/kontra

2.0.0

25 Sep 07:53
Compare
Choose a tag to compare
  • 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

1.2.2

19 Sep 04:07
Compare
Choose a tag to compare

fix(pool): fix bug that would allow you to fill pool with infinite objects when not setting a maxSize
test(pool): add tests for pool.js

1.2.1

16 Sep 04:52
Compare
Choose a tag to compare

fix(kontra): add back missing asset loader scripts

1.2.0

16 Sep 04:39
Compare
Choose a tag to compare
  • style: switching to using angular.js comment style
  • test(core,store): add tests for core.js and store.js
  • fix(core): fix bug in isCanvas and isImage functions when passing a truthy value that is not an object
  • chore(license): add MIT license
  • chore(bower): add bower support
  • docs(examples): update examples to reflect change in api
  • fix(pool): pass dt to update function

1.1.1

11 Jun 06:57
Compare
Choose a tag to compare
  • fix(tileEngine) - bug in Safari and Firefox when trying to clip image outside image region

1.1.0

10 Jun 03:16
Compare
Choose a tag to compare
  • added tileEngine.js for drawing tilesets
  • added tileEngine example

1.0.1

18 May 07:15
Compare
Choose a tag to compare
  • Added particleEngine and ExtendingSprite examples
  • Changed _proto to prototype to make it more obvious

1.0.0

17 May 05:13
Compare
Choose a tag to compare

Official release.