Skip to content

Oak 1.2.0

Choose a tag to compare

@200sc 200sc released this 05 Aug 16:11
· 1382 commits to master since this release

Changelog:

  • Configuration has been reworked to have a few new settings. This is technically a breaking change, except that the Config struct before was useless to anyone who used it before as you couldn't put it into the engine anyway. Now you can. New settings include disabling and enabling the loop that handles keyHold logic, gesture support, and batch loading at startup, as well as the ability to set a scale for the screen at startup.

  • Mouse Events can be converted to Vectors.

  • Texts can be converted to Sprites via the new Text.ToSprite method.

  • A bug that would cause the collision.Tree to fail to add some spaces has been hotfixed, but the real cause is still being investigated. Similarly the underlying Rtree could return nil, and we've hotfix to avoid returning those nils. The cause seems to be related to creating and deleting the same collision Rect several times.

  • Notes for future changes have been added everywhere.

  • Several tests for mouse, collision, audio, oak, and render have been added.

  • Several functions that did not return errors (internally or externally) now do.

  • fileutil can now be used with more valid relative paths.

  • Calling SetScreen to the minimum or maximum of the viewport bounds is now functional.

  • Vector.Sub has been added, parallel to Vector.Add

  • Audio channels' goroutines get cleaned up at scene end now.