Oak v2.4.0 Release Notes

Release Date: 2020-08-15 // over 3 years ago
  • 2.4.0 Changelog:

    buttons:

    • ๐Ÿ‘Œ support fitting text within the button

    collision:

    • โž• added a helper for 2d rectangular spaces.

    config:

    • โž• added option for targeting a specific screen pixel ratio width/height when not in fullscreen (helps for osx retina displays)

    dlog:

    • โž• added an example for non-default logger (regex logger)
    • small efficiency boost to standard logger
    • ErrorCheck now returns the error consumes

    oak:
    -viewports can now be shifted by a relative amount rather than having to be set to an absolute location with ShiftScreen

    • ๐Ÿ‘Œ improved screenshake logic
    • ๐Ÿ”ฆ expose keypress functionality to allow for software simulated keyboard interactions

    render:

    • 0๏ธโƒฃ our default font is now baked into our binary, to support use while vendoring.
    • โž• added NewStrPtrText to Font.
    • โž• added Reverting.Get to support sub Switch types.
    • โž• added Polygon.GetThickOutline
    • โž• added Polygon.GetGradientOutline
    • โž• added Polygon.GetColoredOutline
    • โž• added ParticleLimit to particle generators
    • โž• added particle.InfiniteLifeSpan generation option
    • โž• added NoopStackable, for tests to disable rendering anything.
    • โž• added mod.StripOuterAlpha
    • ๐Ÿ—„ renamed NewLineColored to NewColoredLine. The old name is deprecated for removal in 3.0.
    • โž• added Replace, analogous to Draw, to replace one renderable with another without dropping frames.
    • ๐Ÿ—„ renamed DrawPolygon.DrawPolygonDim to DrawPolygonBounds. The old name is deprecated for removal iun 3.0
    • โšก๏ธ composite updates to allow for subslices of compositeM and have compositeR implement stackable

    scene:

    • 0๏ธโƒฃ scenes will now use default NOP scene functions for start, loop, and end, if sent nil.

    timing:

    • โž• added DoAfterContext

    dependencies:

    examples:

    • ๐Ÿ†• new examples were added illustrating viewport locked rooms, zooming on renderables, capturing keyboard presses

Previous changes from v2.3.3

  • โฌ†๏ธ Oak v2.3.3 upgrades internal dependencies.