Skip to content

Releases: ThatCoolCoder/spnr.js

v1.8.1

26 Feb 07:55
Compare
Choose a tag to compare

ES6 imports are now available through the NPM package.

It no longer says hello in non-browser environments

v1.8.0

12 Feb 06:38
Compare
Choose a tag to compare

Spnr.js finally supports being imported through .mjs format!

API Changes:
None

New Features:

  • spnr.obj.toEnum() - easy, modifiable "enums"
  • spnr.v.map(), spnr.v.copyMap() - equivalents of spnr.mapNum
  • spnr.GameEngine.FrameRateDisplay - displays fps in a corner of the canvas
  • spnr.dom.elementSize() - get size of an element as a spnr.v
  • spnr.v.copyRotate() - no more extra lines to copy vectors!

Bugfixes:
None

1.7.0

13 Feb 01:29
Compare
Choose a tag to compare

API Changes:
None

New Features:

  • wrote spnr.arr.mode()
  • created spnr.convergeValue() - useful for pseudo-physics
  • added spnr.str.alphabet - includes lowercase and uppercase
  • spnr.str.shuffle(), spnr.arr.shuffle(), spnr.arr.shuffleInPlace()
  • spnr.obj.isEmpty()

Bugfixes:

  • Fix not running on Safari due to weird syntax in Game Engine

Other:

  • Move to JSDoc for documentation
  • Move to uglify-js to for minifying

v1.6.1

01 Sep 09:18
Compare
Choose a tag to compare

API Changes:
None

New Features:
None

Bugfixes:

  • Make GameEngine mouse position scale with canvas scaling

v1.6.0

01 Aug 07:42
Compare
Choose a tag to compare

API Changes:
None

New Features:

  • Added option to make particle effects delete themselves when finished
  • Added automatic canvas sizers to spnr.GameEngine
  • Lots of behind-the-scenes work on documentation, etc

Bugfixes:
None

v1.5.0 - Initial release after renaming

05 Jul 04:11
Compare
Choose a tag to compare

New release for the new name! Changes are minimal except for the renaming.