fix: keymapping
This commit is contained in:
parent
e0bf851843
commit
845dcb8132
10
src/main.ts
10
src/main.ts
|
@ -18,11 +18,11 @@ import WeaponTypeRegistry from "./shattered_sword/Registry/WeaponTypeRegistry";
|
||||||
inputs: [
|
inputs: [
|
||||||
{name: "left", keys: ["a", "arrowleft"]}, //TODO - add arrow keys
|
{name: "left", keys: ["a", "arrowleft"]}, //TODO - add arrow keys
|
||||||
{name: "right", keys: ["d", "arrowright"]},
|
{name: "right", keys: ["d", "arrowright"]},
|
||||||
{name: "up", keys: ["w"]},
|
{name: "up", keys: ["w", "arrowup"]},
|
||||||
{name: "down", keys: ["s"]},
|
{name: "down", keys: ["s", "arrowdown"]},
|
||||||
{name: "jump", keys: ["x","space"]},
|
{name: "jump", keys: ["z", "space"]},
|
||||||
{name: "attack", keys: ["j","z","enter"]},
|
{name: "attack", keys: ["j","x","enter"]},
|
||||||
{name: "dash", keys: ["k","x"]}, //
|
{name: "dash", keys: ["k","c"]}, //
|
||||||
{name: "skill", keys: ["l","v"]},
|
{name: "skill", keys: ["l","v"]},
|
||||||
{name: "inventory", keys: ["i","b"]},
|
{name: "inventory", keys: ["i","b"]},
|
||||||
{name: "pause", keys: ["escape"]},
|
{name: "pause", keys: ["escape"]},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user