Closed johneastman closed 1 year ago
This commit adds mass to circles, which will be used later for this task: https://github.com/johneastman/circles/commit/de24e99408ef5371fc78f0fe333d90ee7240b652
Consider adding a bounce
property to bullets so multiple bullet types can be set to bounce off the edges of the canvas.
A bullet that changes the trajectory of the circles without destroying them. These bullets should have a lot of mass so they can significantly change the trajectory of big circles.
Bullets will bounce off the edges of the map.
After a certain number of collisions (with circles and the map edges), the bullet will be destroyed.