PPhysics is a module creating the simple work to use physics in pygame. The module works on Windows, macOS and Linux, and runs on Python 3.
To install with pip, run
pip install pphysics
The source code available on: https://github.com/nhatnguyenjhl/pphysics/tree/main/src/pphysics .
PPhysics has some features:
See the test game (uhm I don't think so, but it is windows to show a moving rectangle 😅) file: Simple_game's source on Github.
It may not be a bad example 😁 (I will update the comment later 😇).
Contents: