Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
mort
/
gamejam-server
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Peticiones pull
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
fixed things
master
mort
hace 10 años
padre
2dcc86289a
commit
dba780acea
Se han
modificado 1 ficheros
con
2 adiciones
y
2 borrados
Dividir vista
Mostrar estadísticas de diff
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)
Escribir
Vista previa
Cargando…
Cancelar
Guardar