ソースを参照

fixed things

master
mort 10年前
コミット
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)

読み込み中…
キャンセル
保存