@waica/archetype-topdown 0.21.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/controls.d.ts +1 -1
- package/dist/controls.js +6 -6
- package/package.json +3 -3
package/dist/controls.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { InputBindings } from '@waica/engine';
|
|
2
|
-
/** Top-down actions: four directions plus interact
|
|
2
|
+
/** Top-down actions: four directions plus interact; arrows and WASD, the left stick, D-pad and A (ADR 0023). */
|
|
3
3
|
export declare const TOPDOWN_BINDINGS: Readonly<InputBindings>;
|
|
4
4
|
/** Friendly labels shown by the editor's controls panel. */
|
|
5
5
|
export declare const TOPDOWN_ACTION_LABELS: Readonly<Record<string, string>>;
|
package/dist/controls.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/** Top-down actions: four directions plus interact
|
|
1
|
+
/** Top-down actions: four directions plus interact; arrows and WASD, the left stick, D-pad and A (ADR 0023). */
|
|
2
2
|
export const TOPDOWN_BINDINGS = {
|
|
3
|
-
up: ['ArrowUp', 'KeyW'],
|
|
4
|
-
down: ['ArrowDown', 'KeyS'],
|
|
5
|
-
left: ['ArrowLeft', 'KeyA'],
|
|
6
|
-
right: ['ArrowRight', 'KeyD'],
|
|
7
|
-
interact: ['KeyE', 'Space'],
|
|
3
|
+
up: ['ArrowUp', 'KeyW', 'Gamepad:LeftStickUp', 'Gamepad:DPadUp'],
|
|
4
|
+
down: ['ArrowDown', 'KeyS', 'Gamepad:LeftStickDown', 'Gamepad:DPadDown'],
|
|
5
|
+
left: ['ArrowLeft', 'KeyA', 'Gamepad:LeftStickLeft', 'Gamepad:DPadLeft'],
|
|
6
|
+
right: ['ArrowRight', 'KeyD', 'Gamepad:LeftStickRight', 'Gamepad:DPadRight'],
|
|
7
|
+
interact: ['KeyE', 'Space', 'Gamepad:A'],
|
|
8
8
|
};
|
|
9
9
|
/** Friendly labels shown by the editor's controls panel. */
|
|
10
10
|
export const TOPDOWN_ACTION_LABELS = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@waica/archetype-topdown",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "Waica top-down archetype — opinionated setup for Zelda-like overhead adventures",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@waica/behaviors": "^0.
|
|
28
|
-
"@waica/engine": "^0.
|
|
27
|
+
"@waica/behaviors": "^0.23.0",
|
|
28
|
+
"@waica/engine": "^0.23.0"
|
|
29
29
|
}
|
|
30
30
|
}
|