Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
mort
/
gamejam-server
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
fixed things
master
mort
10 anni fa
parent
2dcc86289a
commit
dba780acea
1 ha cambiato i file
con
2 aggiunte
e
2 eliminazioni
Visualizzazione separata
Mostra Diff Stats
2
2
js/game/index.js
+ 2
- 2
js/game/index.js
Vedi File
@@ -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)
Write
Preview
Loading…
Annulla
Salva