Pyxel2D is a physics engine that runs on Pyxel/Python. I ported Simple physics engine implemented in JavaScript to Pyxel/Python.
This is a demo of the ball rolling.
Please execute the following from the Pyxel (version 1.9.18) environment.
> python Demo.py
I also ported the Pachinko game that was introduced in the original book to Pyxel/Python, and changed to a retro color tone. Flick a pachinko ball and hit the bar below to get 10 points.
Please execute the following from the Pyxel (version 1.9.18) environment.
> python Pachinko.py
- [SPACE]: Flick a pachinko ball
I also ported the Pachinko game that was introduced in the original book to Pyxel/Python, and changed to a retro color tone. Shoot the ball and compete for the time to hit all the pegs.
Please execute the following from the Pyxel (version 1.9.18) environment.
> python Peg.py
- [left-arrow]: Turn the turret to the left
- [right-arrow]: Turn the turret to the right
- [SPACE]: Fire a ball