Procházet zdrojové kódy

fixed things

master
mort před 10 roky
rodič
revize
dba780acea
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      js/game/index.js

+ 2
- 2
js/game/index.js Zobrazit soubor

@@ -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)

Načítá se…
Zrušit
Uložit