Skip to content

Oak 2.2.0

Compare
Choose a tag to compare
@200sc 200sc released this 23 Mar 16:34
· 922 commits to master since this release
393793f

2.2.0 Changelog:

collision:

  • Added Size method to rtrees.
  • Deprecated UpdateLabel Method.
  • Fixed race condition bug in UpdateSpace and UpdateSpaceRect, these methods will now return an error if attempting to update a space that does not exist in the tree.

entities:

  • Added GetReactiveSpace to the Reactive type.

entities/x:

  • General bug fixes
  • force/NewHurtColor and force/NewHurtDisplay now take a variadic set of layers
  • Added move/ShiftX and move/ShiftY

examples:

  • Corrected the particle demo to use 2.0.0 commands

render:

  • Added ToSprite to CompositeM
  • Corrected default font access
  • NewSheetSequence now returns an error if given invalid frames
  • Sprites now satisfy stdlib draw.Image
  • bugfix: Sprite copies now don't reuse the same pixel slice
  • Switch.Set returns an oakerr.NotFound instead of oakerr.InvalidInput

scene:

  • Added GoToPtr, taking a string pointer as the next scene to run