Showcase. First and third person movement using SDL3, Emscripten, Bullet Physics, and OpenGL ES 2.0

Demo in the browser using SDL3, OpenGL ES 2.0, Bullet Physics, and C++
Demo in the browser using pure WebGL 1.0, Ammo.js, and JavaScript

image

1 Like

Mountain skybox

Demo in the browser

image

Baked shadows and textures

Demo in the browser

image

1 Like

Source code of the first demo above: GitHub - ivan-enzhaev/first-and-third-person-movement-opengles20-sdl3-wasm-cpp · GitHub

View in the browser

FPS Controller with Animated Y-Bots (Box3D, Recast, BT.CPP, ozz-animation & SDL3)

Live Wasm Demo

Releases - Executables for Windows, Linux, Android, and WebAssembly

Source code

Guide to setup libs

FPS Controller with Animated Y-Bots & miniaudio 3D Sound (Box3D, Recast, BehaviorTree.CPP, ozz-animation, ImGui, OpenGL & SDL3)

A complete multiplatform starter guide featuring a First-Person capsule controller, animated follower Y-Bot robots with 4-layer blend trees, Box3D 3D physics, Detour Crowd pathfinding, BehaviorTree.CPP logic, miniaudio 3D positional footstep sounds and 2D background music, with dual mobile touch controls across Windows, Ubuntu, Android, and WebAssembly (Emscripten).

Live Wasm Demo

Source code

Dear ImGui is used for Android joystick: