# ESP32 Tilt Drop

A tilt-controlled procedural maze game for the Waveshare ESP32-S3-Touch-AMOLED-1.75

Waveshare ESP32-S3-Touch-AMOLED-1.75 上那块 466x466 的 CO5300 圆屏就是手柄本身：倾斜整台机器，光球就滚过一个个必须按顺序点亮的检查门，门没全亮之前终点一直是锁着的。

- id: bradygaster-esp32-tilt-drop
- author: bradygaster
- repository: https://github.com/bradygaster/esp32-tilt-drop
- license: MIT
- shape: square
- scenes: games, art
- boards: Waveshare ESP32-S3-Touch-AMOLED-1.75, ESP32-S3 AMOLED
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/bradygaster-esp32-tilt-drop/
- html_zh: https://esp32gallery.com/zh/projects/bradygaster-esp32-tilt-drop/
- json: https://esp32gallery.com/data/catalog/projects/bradygaster-esp32-tilt-drop.json

## Hardware

Supported hardware: Waveshare ESP32-S3-Touch-AMOLED-1.75, ESP32-S3 AMOLED. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：Waveshare ESP32-S3-Touch-AMOLED-1.75、ESP32-S3 AMOLED。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
A round 466x466 CO5300 AMOLED on a Waveshare ESP32-S3-Touch-AMOLED-1.75 turns the whole device into the controller: tilt it and a luminous ball rolls across checkpoint gates toward a goal that stays barred until every gate is lit. Red decoy holes and the exposed rim throw you back to the start of the stage; stages 1–2 hold one wide gate, 3–4 two, 5–6 three, and from 7 on four that narrow progressively. A tap recentres the ball, a swipe up reshuffles the board and a swipe down returns to stage one, each win builds a fresh palette, geometry and route. A QMI8658 accelerometer supplies the tilt, CST9217 handles touch, and the ES8311 codec plays procedural tones while the 30 FPS render loop runs on the opposite core, drawing into a 408x408 RGB565 framebuffer in 8 MB of PSRAM. Builds pin Arduino core esp32:esp32@3.3.10 and clone the Waveshare library.
```

## 中文

```
Waveshare ESP32-S3-Touch-AMOLED-1.75 上那块 466x466 的 CO5300 圆屏就是手柄本身：倾斜整台机器，光球就滚过一个个必须按顺序点亮的检查门，门没全亮之前终点一直是锁着的。掉进红色假洞或者滚出圆盘边缘都会退回本关起点；第 1–2 关只有一道宽门，3–4 关两道，5–6 关三道，第 7 关起四道而且越来越窄。轻点把球拉回中心，上滑重排本关，下滑直接回第一关，每赢一次都会生成新的配色、几何和路线。三轴数据来自 QMI8658，触摸交给 CST9217，ES8311 编解码器在有功放的情况下播程序生成的音效，渲染跑在 30 FPS，音频放在另一个核，画面进 8 MB PSRAM 里那块 408x408 的 RGB565 帧缓冲。编译固定 Arduino 核心 esp32:esp32@3.3.10，脚本会把对应版本的 Waveshare 库克隆进 .deps。
```
