change game mechanics a lot

This commit is contained in:
biglyderv 2024-11-25 14:14:21 -05:00
parent f0afee03ab
commit 2b88690cf5
3 changed files with 36 additions and 18 deletions

View file

@ -21,7 +21,7 @@ class Shooter extends Entity {
this.ticks++;
this.vel.x += Math.sin(this.dir) * 1;
this.vel.y += Math.cos(this.dir) * 1;
this.vel.y -= Math.cos(this.dir) * 1;
this.vel.x *= 0.9;
this.vel.y *= 0.9;