libretro/thepowdertoy — explained in plain English
Analysis updated 2026-07-19 · repo last pushed 2026-07-13
Visualize physics concepts like heat, gravity, and air pressure by drawing materials on a canvas.
Build working electronic circuits or even a simple CPU inside the game world.
Create and detonate elaborate bombs and watch the simulation handle explosions.
Automate gameplay or create plugins using the built-in Lua scripting API.
| libretro/thepowdertoy | team-resurgent/flycast-x | tycho/pearpc | |
|---|---|---|---|
| Stars | 8 | 8 | 8 |
| Language | C++ | C++ | C++ |
| Last pushed | 2026-07-13 | 2026-07-02 | 2011-05-31 |
| Maintenance | Active | Active | Dormant |
| Setup difficulty | moderate | hard | hard |
| Complexity | 3/5 | 4/5 | 4/5 |
| Audience | general | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires compiling C++ with CMake and having a LibRetro frontend like RetroArch installed to actually run the core.
The Powder Toy is a free physics sandbox game where you draw substances on screen and watch how they interact. You can simulate explosions, build a nuclear power plant, design electronic circuits, create realistic landscapes, or just blow things up. This repo brings that game into the LibRetro ecosystem, which means it can run inside frontends like RetroArch, alongside classic console emulators and other retro-style applications. You pick elements like building materials, liquids, gases, or electronics, and draw them onto the canvas. The game then simulates how those substances behave, modeling air pressure, heat, gravity, and countless reactions between materials. You can pause to plan, take screenshots, save your creations as stamps, and browse or play community-uploaded saves. This would appeal to anyone who likes tinkering or creative sandbox games. A student could use it to visualize physics concepts, a hobbyist could build a working in-game CPU, and a casual player might just enjoy constructing elaborate bombs and watching them go off. The game also includes a Lua scripting API for automating tasks or creating plugins. The project is built in C++ and compiled using cmake. The controls are extensive, covering brush shapes, copy-paste, undo-redo, debug overlays, and various simulation toggles for gravity and air. Beyond the build instructions and credits, the README does not go into detail about what LibRetro-specific features are supported or what tradeoffs the port makes compared to the standalone version.
A physics sandbox game where you draw substances on screen and watch them interact, now adapted to run inside RetroArch and other LibRetro-compatible frontends.
Mainly C++. The stack also includes C++, CMake, Lua.
Active — commit in last 30 days (last push 2026-07-13).
The explanation does not mention a license, license terms are unknown.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly general.
This repo across BitVibe Labs
double-check against the repo, no cap.