Skip to content
phated edited this page Mar 19, 2013 · 8 revisions

Changelog

v0.3.0

Breaking Changes

  • Removed previously deprecated methods and properties
  • Removed Node 0.6 support for the build process
  • frozen/sounds/Sound was a plugin, but is now the base object of other Sounds and frozen/sounds/AudioBase was removed
  • frozen/sounds/Sound plugin was moved to frozen/plugins/sound
  • frozen/box2d/Entity moved to frozen/box2d/entities/Entity
  • frozen/box2d/RectangleEntity moved to frozen/box2d/entities/Rectangle
  • frozen/box2d/CircleEntity moved to frozen/box2d/entities/Circle
  • frozen/box2d/PolygonEntity moved to frozen/box2d/entities/Polygon
  • frozen/box2d/MultiPolygonEntity moved to frozen/box2d/entities/MultiPolygon

New Features

  • Auto-selection of Audio extension if no extension is specified
  • loadSound and loadImage plugins now use require.toUrl() to generate a path to your resources
  • Added .jamignore file
  • Box.setAngularVelocity function added to set the angular velocity on an entity
  • Tests added for Sounds, BoxGame, and Sprite
  • Added frozen/box2d/entities which returns a map of entity types
  • Added frozen/box2d/joints which returns a map of joint types

Non-Breaking Changes

  • Made all the examples adhere to the linting rules of the rest of the project
  • Move linting declarations to .jshintrc to allow for JSHint being run in the directory standalone
  • Update Grunt to ~0.4.1 and add/update all the dependencies in package.json
  • Modified the Gruntfile to work with new plugins and define more tasks for convenience
  • Removed Node 0.6 from tested environments
  • Updated examples that were using deprecated methods
  • Cleanup event handler usage on Audio implementations
  • Rearranged the specs/ file structure to match src/
  • Implement the dcl Cleanup API for InputManager to remove event handlers on destruction
  • Add declaredClass to entities and joints

Deprecations

  • Box.destroyJoint has been deprecated in favor of Box.removeJoint

v0.2.1

Breaking Changes

  • None! This is a bug fix release

New Features

  • None! This is a bug fix release

Non-Breaking Changes

  • Scaling issues in IE10 were fixed
  • Fixed issue where ResourceManager was hanging when Audio loading errored
  • Made collision masking check against null or undefined instead of hasOwnProperty
  • Partial Chrome for Android sound support

Deprecations

  • Sound plugin will be moved to plugins 0.3.0
  • AudioBase will be renamed Sound in 0.3.0

v0.2.0

Breaking Changes

  • Default Box#gravityY to 9.8 instead of 10
  • Auto-scaling on Box (Will cause problems if you are already scaling and don't account for auto-scaling)P
  • Remove dojo/_base/declare from single layer - switch to dcl
  • Change color to fillStyle and strokeColor to strokeStyle to stay consistent with canvas API

New Features

  • Added Joints (Distance, Prismatic, Revolute) - Box gained methods related to Joints
  • Added GameCore#setHeight and GameCore#setWidth to set the game's and canvas' height or width
  • Entities gained pointInShape function to determine if a point is within shape
  • Collision filtering inside Box and properties on Entities
  • Added insideCanvas utility and an insideCanvas property flag on mouse or touch events
  • HTML5 Audio Support - with plugin that auto-detects which audio type to use
  • Default lineWidth on Entities - used inside default draw
  • AMD Plugins for loadImage and loadSound
  • BoxGame added for easy creation of Box2d games - added preUpdate to GameCore to support this
  • Jasmine tests for the library

Non-Breaking Changes

  • loadSound and loadImage now accept a String, Array of Strings, or Object of Strings and return the same type
  • Dojo/on is used to listen for Image loading - allows for other event listeners to be added without breaking things
  • Removed width and height from Box
  • Cleaned up InputManager#resize
  • Rewrote pointInPolygon module
  • Fix some InputManager bugs
  • Add more documentation
  • Update examples

Deprecations

  • Any method that is just a getter or setter that did nothing else - No reason to continue the Java paradigms
  • Animation#createFromTile
  • ResourceManager#imageCount, ResourceManager#loadedImages, ResourceManager#playSound
  • Sprite#drawCurrentFrame
  • Entity#hidden
Clone this wiki locally