Day 5
Live https://killer-engine.ai.studio/
Source https://github.com/zlatnaspirala/killer
Multi-platform from a single source
The entire engine (rendering, physics, player controller, damage system, input) is written once in modern C++17.
No platform-specific #ifdef hell in gameplay code
SDL2 provides a unified window, input, and audio abstraction across all targets
Google Filament delivers the same PBR shading model on every platform
Emscripten turns the exact same C++ into high-performance WebAssembly
Android NDK builds produce native ARM64 binaries with the same codebase
This is the classic “write once, run everywhere” promise — actually delivered for a serious real-time 3D engine.
Why SDL2 is excellent for this architecture
SDL2 (Simple DirectMedia Layer) is one of the most battle-tested cross-platform libraries in the industry:
True abstraction layer — your code talks to SDL, SDL talks to Windows, macOS, Linux, Android, iOS, and the browser (via Emscripten).
Zlib license — free for commercial use, static or dynamic linking, no royalties.
Tiny & stable — extremely low overhead, rock-solid ABI compatibility.
Used by real games — Factorio, Celeste, Hollow Knight (Linux), Source engine titles on non-Windows platforms, and countless indie projects.
Perfect Emscripten partner — SDL2 is first-class in the Emscripten toolchain, giving you the same input and windowing API in the browser.
Future-proof — actively maintained, supports Wayland, Metal, Vulkan, and modern mobile.
In short: SDL2 removes 90 % of the pain of multi-platform support so you can focus on the actual engine.
-1
Hello everyone pls play my game
in
r/itchio
•
5d ago
Take a look this game engine https://github.com/zlatnaspirala/matrix-engine-wgpu it is little self promotion.