My step by step guides for SDL3 to build for Android and WebAssembly

Select a fir by mouse click using glReadPixels

Demo in the browser

Tools: SDL3, Emscripten, C++, CMake, OpenGL ES 2.0, GLM, and stb_image

select-2d-fir

Click buttons with color ID using glReadPixels

Demo in the browser

This example uses the following GUI asset: Free UI Hologram Interface by Wenrexa. You can find a lot of GUI assets on itch: Top game assets tagged Graphical User Interface (GUI) - itch.io I packed the GUI textures using Free Texture Packer to one texture + JSON. RapidJSON is used to parse the JSON file.

Tools: SDL3, Emscripten, C++, CMake, OpenGL ES 2.0, GLM, stb_image, Free Texture Packer, and RapidJSON

click-buttons-with-color-id

A new version: Deploying SDL3 app on Android using SDL3-x.y.z.aar