Welcome to PyphysicsBall, an interactive physics sandbox built with Pygame! Dive into a world of realistic ball physics with gravity, collision detection, and special effects. Whether you're a budding game developer, a student looking to explore physics concepts, or just someone who enjoys interactive simulations, PyphysicsBall has something for everyone.
main.py
- The main Python file containing the game logic.constants.py
- File with constant variables used throughout the game.utils.py
- Utility functions for physics calculations.assets/
- Directory containing all the game assets such as images and sounds.
- Realistic Ball Physics: Watch as the balls move realistically, influenced by gravity and collision detection.
- Interactive Environment: Click and drag to create force fields and interact with the balls.
- Special Effects: Enjoy special effects like particle systems and dynamic lighting.
- Clone the repository to your local machine.
- Install Pygame by running
pip install pygame
in your command line. - Run
main.py
to start the game. - Use your mouse to interact with the balls and environment.
Click the button below to download the software and start playing!
(Note: The link needs to be launched.)
If the link is not working or you prefer a different version, please check the "Releases" section of this repository for alternative downloads.
We welcome contributions from the community! If you have any ideas for improving PyphysicsBall or would like to report a bug, feel free to open a pull request or issue on GitHub.
This project is licensed under the MIT License - see the LICENSE file for details.
Let's dive into the world of PyphysicsBall and explore the fascinating realm of physics simulations! Don't hesitate to reach out if you have any questions or feedback. Happy coding and gaming! ๐ฌ๐ฎ