Repository navigation
Oak 1.2.0
Changelog:
-
Configuration has been reworked to have a few new settings. This is technically a breaking change, except that the
Configstruct 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 toVectors. -
Texts can be converted toSprites via the newText.ToSpritemethod. -
A bug that would cause the
collision.Treeto fail to add some spaces has been hotfixed, but the real cause is still being investigated. Similarly the underlyingRtreecould return nil, and we've hotfix to avoid returning those nils. The cause seems to be related to creating and deleting the same collisionRectseveral times. -
Notes for future changes have been added everywhere.
-
Several tests for
mouse,collision,audio,oak, andrenderhave been added. -
Several functions that did not return errors (internally or externally) now do.
-
fileutilcan now be used with more valid relative paths. -
Calling
SetScreento the minimum or maximum of the viewport bounds is now functional. -
Vector.Subhas been added, parallel toVector.Add -
Audio channels' goroutines get cleaned up at scene end now.