This website works better with JavaScript.
首頁
探索
說明
登入
mort
/
gamejam-server
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
fixed things
master
mort
8 年之前
父節點
2dcc86289a
當前提交
dba780acea
共有
1 個文件被更改
,包括
2 次插入
和
2 次删除
分割檢視
顯示文件統計
2
2
js/game/index.js
+ 2
- 2
js/game/index.js
查看文件
@@ -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…
取消
儲存