Ebitengine 2.4 Release Notes

v2.4.0

Issues for v2.4.0

"Truly pure Go" for Windows

(#1488, #1764)

Ebitengine originally included GLFW DLL files and extracted them dynamically. This was problematic in terms of portability. For v2.4, we rewrote the GLFW part for Windows into pure Go, which means Ebitengine becomes truly pure Go for Windows. Now an Ebitengine application can be built for an Arm Windows native binary, but this is not tested yet. This fix is also a preparation for other Windows-like system like Xbox.

With this change, the build tag ebitenexternaldll was removed.

Unmanaged images

(#2013, #2017, #2124)

New APIs NewImageWithOptions and NewImageFromImageWithOptions were added. You can specify these options:

Audio decoding without resampling

(#2055)

New audio APIs to decode without resampling were added. Implicit resampling by Decode was useful but problematic since it might unexpectedly be slow. DecodeWithoutResampling is more explicit in terms of execution cost.

Also, an API to resample the source explicitly was added:

Debug info

(#2177)

A new function ebiten.ReadDebugInfo and a new struct ebiten.DebugInfo were added. Now what you can get from these APIs is only the type of the current graphics library so far.

Other new APIs

Renaming APIs

(#2071, #2236)

These new API were added as aliases to existing APIs. The existing APIs are still available but deprecated.

Also, environment variables and build tags were renamed. Old ones are still available but deprecated:

Improving Kage (the shading language for Ebitengine)

Now NewShader checks types for builtin function arguments and operators more strictly (#2184, #2187).

Also, these new built-in functions were added:

DirectX performance improvement

(#2034, #2149, #2188)

The DirectX driver now runs 2x-3x faster than the version 2.3.

Bug fixes

This release includes all the bug fixes in the version 2.3.

Breaking changes

v2.4.1

Issues for v2.4.1

Bug fixes

v2.4.2

Issues for v2.4.2

Bug fixes

v2.4.3

Issues for v2.4.3

Bug fixes

v2.4.4

Issues for v2.4.4

Bug fixes

v2.4.5

Issues for v2.4.5

Bug fixes

v2.4.6

Issues for v2.4.6

Bug fixes

v2.4.7

Issues for v2.4.7

Bug fixes

v2.4.8

Issues for v2.4.8

Bug fixes

v2.4.9

Bug fixes

Issues for v2.4.9

v2.4.10

Bug fixes

Issues for v2.4.10

v2.4.11

Bug fixes

Issues for v2.4.11

v2.4.12

Bug fixes

Issues for v2.4.12

v2.4.13

Bug fixes

Issues for v2.4.13

v2.4.14

Bug fixes

Issues for v2.4.14

v2.4.15

Bug fixes

Issues for v2.4.15

v2.4.16

Bug fixes

Issues for v2.4.16

v2.4.17

Bug fixes

Issues for v2.4.17

v2.4.18

Bug fixes

Issues for v2.4.18