Skip to content
modkitv0.2

Multiple cubes with FPS-style camera controls

← All examples07_cubes

Demonstrates: - mk_layout/mk_vbuf/mk_ibuf for geometry - WASD + QE action mappings for camera movement - Mouse look (hold right mouse button) / Touch drag - Multiple objects with different transforms - Zoom with mouse wheel / Pinch (using mk_mouse_scroll, mk_touch_*)

Multiple cubes with FPS-style camera controls

Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.

Number
7
Tags
shadersinput3duilayout
Source
examples/07_cubes/main.c

Build and run

./scripts/build-linux.sh release --target=07_cubes --run