some fixes.
This commit is contained in:
parent
e03321351d
commit
1952708e9f
9 changed files with 195 additions and 161 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue