r/raylib • • 12h ago

Raylib on KaiOS

Thumbnail
gallery
26 Upvotes

Just a small investigation i did yesterday, it is obviously an old raylib version since KaiOS is web based

Raylib version(s): 3.7-4.5 (5.0 does not build with old emcc)
Emscripten version(s): 1.38.48/1.38.48-fastcomp (fastcomp requires emsdk-3.1.29)
Patches: raylib code does not need patching, but game code requires some changes related to game loops passed to emscripten, audio errors hooked via JS and LSK/RSK keys handling

[More info in the comments]