Oak 2.2.0
2.2.0 Changelog:
collision
:
- Added
Size
method to rtrees. - Deprecated
UpdateLabel
Method. - Fixed race condition bug in
UpdateSpace
andUpdateSpaceRect
, these methods will now return an error if attempting to update a space that does not exist in the tree.
entities
:
- Added
GetReactiveSpace
to theReactive
type.
entities/x
:
- General bug fixes
force/NewHurtColor
andforce/NewHurtDisplay
now take a variadic set of layers- Added
move/ShiftX
andmove/ShiftY
examples
:
- Corrected the particle demo to use 2.0.0 commands
render
:
- Added
ToSprite
toCompositeM
- Corrected default font access
NewSheetSequence
now returns an error if given invalid framesSprite
s now satisfy stdlibdraw.Image
- bugfix:
Sprite
copies now don't reuse the same pixel slice Switch.Set
returns anoakerr.NotFound
instead ofoakerr.InvalidInput
scene
:
- Added
GoToPtr
, taking a string pointer as the next scene to run