Crafty Blog - JavaScript Game Engine Development

Development of Crafty

Posts tagged version

1 note &

0.4.6 Released!

  • Better documentation for internals, including HashMap and DrawManager.
  • Crafty.module supports uppercase versions (RELEASE etc.) and now uses as default repo
  • .color() now acts as a getter
  • Rename .delay to .timeout and introduce a new Delay component that is smarter about game pause etc.
  • Fix the play sound forever issue
  • Crafty.isPaused() returns whether the game is paused or not.
  • Better support for tween chaining
  • Remove the div representation when DOM component is removed from entity. This enables you to switch between DOM and canvas without polluting the dom.
  • .toggleComponent added
  • .getDomId added to DOM component
  • .dragDirection added to Draggable component

Filed under html5 crafty version release gamedev game