Engine sample projects
PixelRoot32 — Examples
Self-contained PlatformIO projects that show how to use the engine on PC (SDL2) and ESP32-class boards. Each folder has its own **platformio.ini**, **src/** entry point, and **README.md** with build flags, supported environments, and documentation links.
Typical workflow: open a project folder in PlatformIO (or run CLI from that folder), pick an environment (native, esp32dev, etc.), then:
bash
cd <example-folder>
pio run -e <environment>On Windows, **native** examples may need local SDL2 include/lib paths in platformio.ini (see comments in animated_tilemap).
The engine revision for each example is defined in **lib_deps** inside that example's platformio.ini (registry tag vs Git branch).
Catalogue
- 2048 — source code
- animated_tilemap — source code
- brick_breaker — source code
- camera — source code
- camera-effect-demo — source code
- dual_palette — source code
- flappy_bird — source code
- hello_world — source code
- metroidvania — source code
- music_demo — source code
- physics — source code
- snake — source code
- space_invaders — source code
- sprites — source code
- tic_tac_toe — source code
