Explorar el Código

fixed things

master
mort hace 10 años
padre
commit
dba780acea
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      js/game/index.js

+ 2
- 2
js/game/index.js Ver fichero

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

Cargando…
Cancelar
Guardar