瀏覽代碼

fixed things

master
mort 8 年之前
父節點
當前提交
dba780acea
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      js/game/index.js

+ 2
- 2
js/game/index.js 查看文件

@@ -170,9 +170,9 @@ class Player extends Entity {
let f = new Vec2(0, 0);

if (this.keys.up)
f.set(0, -0.1);
f.set(0, -0.4);
if (this.keys.down)
f.set(0, 0.1);
f.set(0, 0.4);
if (this.keys.left)
this.rotForce -= 0.005;
if (this.keys.right)

Loading…
取消
儲存