NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #1186 by repository stars
Latest stable
v2.0.0+incompatible
Last release 7 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 10 months
Nearly every release is documented
notes for 12 of 13 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
21 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Version 1.5.1 fixes a bug with the Copy function in render.Sequence types to properly copy the underlying render.LayeredPoint.
Version 1.5.1 fixes a bug with the Copy function in render.Sequence types to properly copy the underlying render.LayeredPoint.
Version 1.5 backports a good number of features developed for 2.0 that don't involve breaking changes.
Version 1.5 backports a good number of features developed for 2.0 that don't involve breaking changes.
The motivation for this is to reduce the diff from 1.x -> 2.0
These changes include:
Composite.ToSprite, Text.StringLiteraloak.Background to color the background of the screen between draw callsAlong with many documentation updates.
This will be worked on further, but there is currently an issue with audio and positional filters where audio won't be played at all in some cases-- this behavior is commented out, meaning you will get a nil error for trying to filter audio that can't be positionally placed with a positional filter, but the audio will still play.
This release corrects line drawing behavior when drawing thick lines with zero width.
This release corrects line drawing behavior when drawing thick lines with zero width.
Adds the MouseClickOn event, optionally tracked by the mouse package (enabled by default) and triggered on entities where the last mouse press and rel
Features:
Adds the MouseClickOn event, optionally tracked by the mouse package (enabled by default) and triggered on entities where the last mouse press and release (of the same button) happened on the same entity.
Adds audio.ChannelManager, a safe way to create audio channels that oak won't automatically clean up at the end of a scene. These audio channels will be closed when the manager that created them is closed.
Adds shape.Bezier, an interface with the BezierCurve constructor that can represent bezier curves of arbitrary complexity with arbitrary precision.
Adds render.BezierLine, a helper to convert a shape.Bezier to a drawable sprite.
Adds a demo showing off bezier drawing through mouse clicks.
Adds support for colors in x/image/colorname to render.FontColor.
Adds several utilities to intgeom.Point.
Adds shape.StrictRect, for rectangles that don't respect input dimensions given to them.
Adds some new render.CutXXX functions.
Adds dlog.ErrorCheck, which logs an error if that error is not nil.
Bugfixes, Optimizations:
Optimized how we keep track of keyholds, such that this tracking is no longer a performance hit and no longer able to be disabled.
Protects against failed type assertion casting if particles are spawned right as a scene ends.
Replaces several errors.New invocations with explicit types in oakerr.
Corrects space.Overlap logic.
Collision rectangles now round to minimally appropriate dimensions when given invalid inputs (instead of panicking)-- widths and heights of zero are converted to one, and negative widths and heights shift the rectangle in the negative axis direction and convert the span to be positive. If these transformations happen, they are logged.
Adds several tests.
This release fixes some occasional bugs in oak's internal logic and event handling systems.
This release fixes some occasional bugs in oak's internal logic and event handling systems.
This release adds several new features:
This release adds several new features:
New Modifications:
-TrimColor
-RotateInterpolated
-GiftFilter
-ConformToPalette
-Zoom
A bug was also fixed in FlipY which would trim off a pixel from the bottom of the flip.
A new modification type, mod.Filter, and
A corresponding feature for the main package: oak.SetScreenFilter
Eventually modification functionality will all move to render/mod
ViewVector, shorthand for obtaining oak.ViewPos as a vector.
Support for setting and maintaining aspect ratio as the screen changes sizes.
Support for custom keybindings files to be loaded in from .toml files
Several new draw functions related to line drawing and curve drawing
Exported types render.Progress and render.Colorer
render.Compound and render.Reverting can SetTriggerID on underling Triggerables
Additionally, audio channels now close themselves on new scenes starting, several places that opened files and did not close them now do close them, and there are several new tests.
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…
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.
Nothing published for this version
Adds Jpeg and Gif support, renaming loadPNG to loadImage in render. Still recommend using PNGs.
loadPNG to loadImage in render. Still recommend using PNGs.alg and intgeom utilities,render.DrawThickLine utilitiyklangsynthese1.0.3 adds locks around render.Compound types' operations so when calling Add on a Compound it won't potentially cause a map r/w crash.
1.0.3 adds locks around render.Compound types' operations so when calling Add on a Compound it won't potentially cause a map r/w crash.
There are also some incremental improvements:
Line drawing has been made more even.
The oak.oakConfig struct has been renamed oak.Config, and thus exported.
A number of tests and docs have also been added.
This release fixes some crashes related to the debug console, and fixes the import names for the examples directory.
This release fixes some crashes related to the debug console, and fixes the import names for the examples directory.
This updates oak to actually refer to itself through its imports instead of to where it was previously housed (bitbucket)
This updates oak to actually refer to itself through its imports instead of to where it was previously housed (bitbucket)
Oak has been worked on for a little over a year, and although rough around the edges we have a large project dedicated to oak's API not changing signi
Oak has been worked on for a little over a year, and although rough around the edges we have a large project dedicated to oak's API not changing significantly, so breaking API changes will be avoided from here on.
See README.md or the associated godoc for a list of features in Oak 1.0.
One column per quarter.