Kaboom.js v0.2.0 Release Notes

    • (BREAK) removed aseSpriteSheet conf field from loadSprite(name, src, conf)
    • ➕ added pause(), resume(), stop(), loop(), unloop(), volume(), detune(), speed() methods to the handle returned by play()
    • ➕ added camShake() for built in camera shake
    • ➕ added loadAseprite(name, imgSrc, jsonSrc)
    • ➕ added area component generation for text()
    • ➕ added noArea to conf field of sprite(), rect() and text(), allowing to disable auto area component generation
    • ➕ added a quad field to sprite comp creation config sprite(id, { quad: quad(0, 0, 0.5, 0.5) })
    • 🛠 fixed resolve() not working if the obj also has solid, so it does not check for itself (#8)
    • mousePos() accepts a layer argument, which returns the mouse position affected by camera transform if that layer is not camIgnore()-ed
    • 🛠 fixed camera position getting calculated before completing every object's update (#14)
    • 🛠 fixed some cases on("grounded", f) called multiple times when moving on a smooth platform
    • ➕ added revery() to iterate objects in reverse order
    • ➕ added readd() to re-add an object to the scene without triggering events
    • ➕ added level.spawn()