A simple and interactive ball simulation built using Lua, LÖVE2D, and SUIT (Simple UI Toolkit for LÖVE). This project demonstrates basic physics, collision, and UI interaction in a LÖVE2D environment.
- Multiple Bouncing Balls: Watch balls bounce and interact with each other and the environment.
- Physics Simulation: Basic gravity, collision detection, and response.
- LÖVE2D 11.x or newer
- Lua (optional, if you want to run standalone scripts)
- SUIT (UI library for LÖVE2D, included as a submodule or in the
libsfolder)
-
Clone the Repository:
git clone https://github.com/JameDevOfficial/BallSimulation.git cd BallSimulation -
Run with LÖVE2D:
- On Windows: Drag the project folder onto
love.exe - On Mac/Linux:
love .
- On Windows: Drag the project folder onto
- Add Ball: Click on the empty white screen
- Remove Balls: Click "Clear"
- Toggle Splitting and Merging: Click "Enable/Disable Splitting/Merging"
