Oak v2.4.0 Release Notes
Release Date: 2020-08-15 // over 4 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 withShiftScreen
- ๐ 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
toFont
. - โ added
Reverting.Get
to support subSwitch
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
toNewColoredLine
. The old name is deprecated for removal in 3.0. - โ added
Replace
, analogous toDraw
, to replace one renderable with another without dropping frames. - ๐ renamed
DrawPolygon.DrawPolygonDim
toDrawPolygonBounds
. 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:
- ๐ upgrade to use new shiny 0.4.2 https://github.com/oakmound/shiny/releases/tag/v0.4.2
- โฌ๏ธ upgrade to use klangsynthese 2.1.0
๐ https://github.com/200sc/klangsynthese/releases/tag/v0.2.1
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.