a ton of cool stuff

This commit is contained in:
biglyderv 2024-09-13 07:19:07 -04:00
parent ed57dc9d94
commit a53e7d5884
No known key found for this signature in database
GPG key ID: 33AC87E9ACE66954
7 changed files with 2654 additions and 22 deletions

View file

@ -19,8 +19,8 @@ function move() {
vel[0] *= 0.8;
vel[1] *= 0.8;
game.camera[0] -= vel[0] * 0.2;
game.camera[1] -= vel[1] * 0.2;
game.camera[0] -= vel[0] * 0.9;
game.camera[1] -= vel[1] * 0.9;
}
setInterval(move, 10);