Oak v2.4.0 Release Notes

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


    • ๐Ÿ‘Œ support fitting text within the button


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


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


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

    -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


    • 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


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


    • โž• added DoAfterContext



    • ๐Ÿ†• 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.