johneastman / circles

A point-and-click browser game
https://johneastman.github.io/circles/
MIT License
0 stars 0 forks source link

Bullet Type: Bouncer #22

Closed johneastman closed 1 year ago

johneastman commented 1 year ago

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.

johneastman commented 1 year ago

This commit adds mass to circles, which will be used later for this task: https://github.com/johneastman/circles/commit/de24e99408ef5371fc78f0fe333d90ee7240b652

johneastman commented 1 year ago

Consider adding a bounce property to bullets so multiple bullet types can be set to bounce off the edges of the canvas.

johneastman commented 1 year ago

Commit: https://github.com/johneastman/circles/commit/3a110f98b6699608724d9a049522552f3b86ff1f