Oak v2.2.0 Release Notes

Release Date: 2019-03-23 // about 5 years ago
  • 2.2.0 Changelog:

    collision:

    • ➕ Added Size method to rtrees.
    • ⚡️ Deprecated UpdateLabel Method.
    • 🛠 Fixed race condition bug in UpdateSpace and UpdateSpaceRect, these methods will now return an error if attempting to update a space that does not exist in the tree.

    entities:

    • ➕ Added GetReactiveSpace to the Reactive type.

    entities/x:

    • 🛠 General bug fixes
    • force/NewHurtColor and force/NewHurtDisplay now take a variadic set of layers
    • ➕ Added move/ShiftX and move/ShiftY

    examples:

    • Corrected the particle demo to use 2.0.0 commands

    render:

    • ➕ Added ToSprite to CompositeM
    • 0️⃣ Corrected default font access
    • NewSheetSequence now returns an error if given invalid frames
    • Sprites now satisfy stdlib draw.Image
    • 🛠 bugfix: Sprite copies now don't reuse the same pixel slice
    • Switch.Set returns an oakerr.NotFound instead of oakerr.InvalidInput

    scene:

    • ➕ Added GoToPtr, taking a string pointer as the next scene to run