some fixes.

This commit is contained in:
biglyderv 2024-09-14 22:32:14 -04:00
parent e03321351d
commit 1952708e9f
No known key found for this signature in database
GPG key ID: 33AC87E9ACE66954
9 changed files with 195 additions and 161 deletions

View file

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