A pure Go game engine
This release contains:
span.Span
interfaceFull Changelog: https://github.com/oakmound/oak/compare/v4.0.2...v4.1.0
Height()
method on a font would not return the default font height for those generated from default settings.Full Changelog: https://github.com/oakmound/oak/compare/v4.0.1...v4.0.2
event
bindings that returned event.ResponseUnbindThisBinding
were not unbound.Full Changelog: https://github.com/oakmound/oak/compare/v4.0.0...v4.0.1
High level changelog:
if _, ok := en.(attachSpace); ok {
event.UnbindBindable(
event.UnbindOption{
Event: event.Event{
Name: event.Enter,
CallerID: s.CID,
},
Fn: attachSpaceEnter,
},
)
}
Now, bindings return a value that can be explicitly used to unbind themselves later:
if as, ok := en.(attachSpace); ok {
as.getAttachSpace().binding.Unbind()
}
Full Changelog: https://github.com/oakmound/oak/compare/v3.4.0...v4.00
This release is a second alpha for Oak v4; this release overhauls the main package, ranges and spans of numbers and points, audio, internal drivers, screen shaking, and the entities package. It also changes from oak/v3
to oak/v4
.
Full Changelog: https://github.com/oakmound/oak/compare/v4.0.0-alpha.1...v4.0.0-alpha.2
This release is a first alpha for Oak v4; this release primarily targets the event API, overhauling it to reduce its exposed size, improve efficiency and add type safety with parameterized types.
Oak v4 currently is planned to overhaul event, audio, internal drivers, and x/entities.
Full Changelog: https://github.com/oakmound/oak/compare/v3.4.0...v4.0.0-alpha.1
alg.WeightedMapChoice
where it did not respect input weights correctly (https://github.com/oakmound/oak/pull/195)Full Changelog: https://github.com/oakmound/oak/compare/v3.3.0...v3.4.0
Full Changelog: https://github.com/oakmound/oak/compare/v3.2.2...v3.3.0
This release fixes a compilation bug within oak's audio dependency for linux/arm64 builds.
This release fixes a bug with the polygon collision utilities introduced in 3.2.0: https://github.com/oakmound/oak/pull/178