This website works better with JavaScript.
Home
Explore
Help
Sign In
mort
/
gamejam-server
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fixed things
master
mort
8 years ago
parent
2dcc86289a
commit
dba780acea
1 changed files
with
2 additions
and
2 deletions
Split View
Show Diff Stats
2
2
js/game/index.js
+ 2
- 2
js/game/index.js
View 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…
Cancel
Save