pxt-common-packages 9.5.11 → 9.5.12
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/built/common-sim.js +3 -3
- package/libs/game/sim/keymap.ts +3 -3
- package/package.json +1 -1
package/built/common-sim.js
CHANGED
|
@@ -2448,9 +2448,9 @@ var pxsim;
|
|
|
2448
2448
|
// Player 1 keymap
|
|
2449
2449
|
this.setPlayerKeys(1, // Player 1
|
|
2450
2450
|
87, // W - Up
|
|
2451
|
-
83, //
|
|
2451
|
+
83, // S - Down
|
|
2452
2452
|
65, // A - Left
|
|
2453
|
-
|
|
2453
|
+
68, // D - Right
|
|
2454
2454
|
32, // Space - A
|
|
2455
2455
|
13 // Enter - B
|
|
2456
2456
|
);
|
|
@@ -2459,7 +2459,7 @@ var pxsim;
|
|
|
2459
2459
|
73, // I - Up
|
|
2460
2460
|
75, // K - Down
|
|
2461
2461
|
74, // J - Left
|
|
2462
|
-
|
|
2462
|
+
76, // L - Right
|
|
2463
2463
|
85, // U - A
|
|
2464
2464
|
79 // O - B
|
|
2465
2465
|
);
|
package/libs/game/sim/keymap.ts
CHANGED
|
@@ -67,9 +67,9 @@ namespace pxsim {
|
|
|
67
67
|
this.setPlayerKeys(
|
|
68
68
|
1, // Player 1
|
|
69
69
|
87, // W - Up
|
|
70
|
-
83, //
|
|
70
|
+
83, // S - Down
|
|
71
71
|
65, // A - Left
|
|
72
|
-
|
|
72
|
+
68, // D - Right
|
|
73
73
|
32, // Space - A
|
|
74
74
|
13 // Enter - B
|
|
75
75
|
);
|
|
@@ -79,7 +79,7 @@ namespace pxsim {
|
|
|
79
79
|
73, // I - Up
|
|
80
80
|
75, // K - Down
|
|
81
81
|
74, // J - Left
|
|
82
|
-
|
|
82
|
+
76, // L - Right
|
|
83
83
|
85, // U - A
|
|
84
84
|
79 // O - B
|
|
85
85
|
);
|