I managed to get Box2D-lite, a full 2D rigid-body physics engine, running on the Arduboy! I had to convert all the floating point numbers to fixed points and introduce standard C++ libraries missing in the Arduino IDE. Its by no means optimized. I’m just excited it works at all and wanted to share. Maybe it’ll inspire someone.
ArduBox2D-lite-demo-v1.1.hex (64.8 KB)
This alone is just a proof of concept and a hack on all levels. I have some novel game ideas involving it and the Arduboy. But in its current state, there are plenty of improvements that need to happen first.
If anyone wants to directly help the project or GitHub or make suggestions while I teach myself about programming physics sims, I highly encourage it. It is indeed a fun topic for me.
More info in the GitHub:
Short demo on real hardware: