Quick Description:
Simple particle physics game (my first game).
Particles get attracted towards the gravity well and collide fluently with blocks around its environment.
- Particles can be created by dragging your finger across the screen.
- Gravity wells can be created by double tapping the screen.
- Blow up all the particles by long pressing the screen.
- Swipe the screen up or down to pause.
- Swipe the screen right or left to slow the particles down.
Future:
This app will be later upgrade to provide 3D particle collision.
Some Physics Background:
Each of the particles simply have their x and y velocities and a mass of 1 unit.
The gravity wells attraction is calculated using inverse root of the velocities of each particle using one round of Newton’s method.
The velocity vectors are then converted back into their x and y components.