As a temporary side project, I hastily ported Randy Gaul ImpulseEngine to pico-8/LUA.
Requires a mouse
The physic engine is a direct port from Randy Gaul's work, detailled in a series of articles:
How to Create a Custom 2D Physics Engine
My contribution is mostly on a clean 2d vector and 2x2 matrix object oriented library.
It makes vector/matrix math very concise to work (and easy to port from C++ code!):
Note: I don't plan to expand the library beyond this demo, feel free to make a game out of it!
The cart now include a context menu that could be fairly easily reused for other carts.
Missing Features:
1.0:
1.2:
1.3: