a ton of cool stuff
This commit is contained in:
parent
ed57dc9d94
commit
a53e7d5884
7 changed files with 2654 additions and 22 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue