Oak v2.1.0 Release Notes

Release Date: 2019-03-04 // about 5 years ago
  • Full Changelog :

    Overall:

    -Added dependency tracking files for dep and go modules

    alg:

    • ➕ Added floatgeom.Point4, mirroring Point3/2
    • ➕ Added Cross to floatgeom.Point3 to calculate cross products
    • ➕ Added Shift and Center to floatgeom.Rect2/3 and intgeom.Rect2/3
    • ➕ Added TriangulateConvex utility for converting polygons into a slice of triangles by vertex index

    oak:

    • ➕ Added ResetCommands to remove all debug console commands.

    entities/x:

    • 📦 The subpackages here are meant to be experimental extensions of existing oak functionality. These aren't bound to the versioning compatibility requirements, but packages here are candidates to be moved out of x and made a part of versioning compatibility.
    • ➕ Added the btn package, an experimental UI package for quick menu and button creation.
    • ➕ Added the force package, containing utilities for imparting directionality with collisions.
    • ➕ Added the 'mods' package, containing expanded color and Modifiable manipulation functions.
    • ➕ Added the 'move' package, containing quick-start entity movement control functions like WASD.
    • ➕ Added the 'stat' package, extending event tracking to also track incremental statistics over a game's life.

    event:

    • ➕ Added the Caller interface to cover entities composed with CIDs.
    • ➕ Added the ScanForEntity utility, allowing searching for arbitrary entities by function matching.
    • ➕ Added the 'OnStop' event for when the engine is closed.

    examples:

    • ➕ Added the radar-demo package, demonstrating how to write custom renderables and point tracking with a radar UI element.

    key:

    • ➕ Added Period as a duplicate of FullStop
    • ➕ Added KeyHeld to track when a key triggers repeats by being held down for long enough.

    render:

    • ➕ Added DrawPoint to draw single pixels.
    • ➕ Added 'LoadSprites' utility combining LoadSheet and ToSprites.

    scene:

    • ➕ Added utilities BooleanLoop and GoTo for common Loop and End scene functions.

    shape:

    • ➕ Added Condense, which finds a minimal set of rectangles covering a given shape.
    • ➕ Added Points, representing a shape via a set of (x,y) points.