Skip to content
starwed edited this page Jul 12, 2013 · 3 revisions

0.6.0-alpha (notes as of Jul 12)

Improvements/bug fixes

  • Substantial reworking of how "SpriteAnimation" works. Not backwards compatible.
  • DOM sprites now scale to entity size
  • Collision hitboxes now automatically match the entities dimensions by default
  • Entities trigger a new "Resize" event when their dimensions change
  • New binding methods
  • One time events with one()
  • Non-duplicated events with uniqueBind()
  • The remove method of a component is now run on removal/destruction. (It's like the opposite of init)
  • Optimizations to how _attr and cascade work
  • Fix errors with "2D" methods isAt, contains, and within when an entity is rotated.
  • EnterFrame events are now passed the time since the last frame.
  • Each stage of the game loop now has an associated event that measures how much time passed.
  • "SceneChange" now called before the scene init function is run.
  • New "SceneDestroy" event.
  • "Isometric" place method works now
  • Crafty audio can now play the same sound file multiple times such that it overlaps with itself
  • Audio now has a default limit of 7 simultaneous sounds playing. (Use audio.setChannels to change.)
  • New canvas layer for debugging info, and some associated components
  • Improvements to WiredHitBox and SolidHitBox
  • getId() method added as a more readable way of getting an entity's ID.

Project features

  • Better compatibility with bower
Clone this wiki locally