This release is verified to work well with Odin version dev-2026-12.
Big things
- Android support! #331
- New android platform layer.
- OpenGL renderer has been made OpenGL ES compatible, and is used for Android. #330
build_androidtool for building and running on android.build_android/setuptool for downloading Android SDK and Java Runtime (portable versions).- See Running on Android section in README.md for details.
- Shader compiler #333
- Compiles GLSL "roughly version 330" straight to DXBC (D3D bytecode), GLSL, GLSL ES and SPIR-V (SPIR-V currently unused, therefore disabled).
- Faster than DXC and d3dcompiler.
- No dependencies.
- Supports the GLSL 330 features that Karl2D needs. Only added feature is
#includefor including other files. - GLSL is now the only shader language for Karl2D. All platforms use it now.
- See the
compile_shader_from_filesandload_shaderprocs of Karl2D API.
- Faster drawing #336
- Drawing is up to 4x faster
- Uses a new vertex template that is recomputed when shader input overrides are set.
- Less overhead when drawing thanks to a new
batch_verticesprocedure that takes the list of vertices and UVs for the geometry.
- Image revamp #334
- New procedures for editing images (CPU-side pictures).
- Possibility to read images from screen and render textures.
- Better allocation behavior: Images are now owned by the game programmer's allocator, not Karl2Ds internal allocator
- Ports of stb_vorbis, stb_truetype and stb_rectpack #325 #327
- The only do what Karl2D needs, which makes them smaller than the original libraries.
- The ports are as fast, or faster, than the original libraries. This is due to optimizing for Karl2Ds use cases. In the case of the stb_vorbis port it also uses a more efficient decoder.
- Now no platform needs to compile some vendor stb libs before using Karl2D.
- Better outline rendering #335, based on #89
- Outlines are no longer disjoint segments that overlap.
- Outline can be inside, outside or centered on the edge of the shape.
- Rect outlines can be rotated.
Breaking changes
load_shader_from_file/load_shader_from_bytesno longer exist. Usecompile_shader_from_filesorcompile_shader_from_bytes+load_shader.- HLSL shaders no longer work.
- Image management procedures now take an allocator parameter.
draw_circle_outlinenow defaults to drawing the outline inside the shape instead of on the edge.
Smaller things
- Print success msg when docs are up-to-date by @mtarik34b in #321
- Add rectangle helpers for left and right middle points by @mtarik34b in #320
- Fix
wlcsd_destroymemory leak by @mtarik34b in #326
Celebrating new Contributors
- @mtarik34b made their first contribution in #321
- @Lars-Kristian made their first contributions in #335 / #89
Full Changelog: beta-2026-11...beta-2026-12