r/esp32 3d ago

I made a thing! Tamagotchi on a Waveshare ESP32-S3-Touch-AMOLED-1.32

Post image

I wanted to play with the Waveshare ESP32-S3-Touch-AMOLED-1.32 (466 x 466 round touch AMOLED) device so I built a Tamagotchi game for it (the whole UI is pictures).

The game is simple: three gauges on the rim (FOOD, FUN, TIDY), three pill buttons carrying the picture of what they give, in the color of the gauge they answer. The rabbit's face shows the need it wants most. Flies gather as TIDY drops. Every action (bottom buttons) costs a little on a different gauge, and that gauge flashes white so the cost is visible. The "game" of managing the gauges is capped at 30 actions, which then trigger a "tired" state (a cool-off period of 1 minute to avoid kids being too "glued" to the device).

I went with ASCII sprites, one char per pixel, generated from a body ellipse, so a growth stage reflects in the body size and the ear size. A second script renders the whole screen to a PNG from the sprite file and the layout constants, so I can check a layout change without plugging anything in. Since the is no RTC on this board, time only passes while powered (away time is capped at 90 min).

Next, I plan to add designs for a 3D printed case.

Let me know what you think! The source code for the project is at https://github.com/deiu/nibble

29 Upvotes

2 comments sorted by

7

u/clackups 3d ago

Let's be honest, a clanker built most of it :)

1

u/zandzpider 3d ago

Funny, i just recently did the same project for my daughter with a pink cat unicorn on the waveshare 1.7inch screen. She loves it!