Crafty Blog - JavaScript Game Engine Development

Development of Crafty

0 notes &

0.4 Released

And with lots of new features. It’s been too long and I know 1.0 should be out by now but there are a few things I want completed such as full Mobile support and good amounts of test cases.

Here is the change log:

  • .css() should accept both JS and CSS notation
  • .requires() method for adding components if not already added
  • Detect the browser extension (Moz, webkit, o, ms)
  • IE rotation and transparency support
  • Faster Draw Manager for canvas and Dom
  • Tween component
  • Fixed an error in addEvent (Leo Koppelkamm)
  • Collision now has a justStoppedHitting event (Leo Koppelkamm)
  • Particles (Leo Koppelkamm)
  • Faster mouse events
  • Components now use title case
  • Crafty.pause method. Invoked when leaving the window or tab
  • Fixed crashing after inactivity
  • Global events, use Crafty.bind and Crafty.trigger
  • Repetition count for Animation component (Leo Koppelkamm)
  • Fixed typeahead find bug
  • .isDown() method for Controls component
  • Faster scrolling for DOM and canvas
  • .delay() and .requires() is chainable (sorenbs)
  • .DOM() will remove the previously created DOM element
  • Crafty.timer.getFPS() returns the current FPS (Leo Koppelkamm)

The API hasn’t been updated because of a new method of documentation that will move all the docs into the source code.