pxt-common-packages 9.5.6 → 9.5.9
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.d.ts +84 -0
- package/built/common-sim.js +232 -1
- package/libs/azureiot/built/debug/binary.js +461 -461
- package/libs/base/sim/core.ts +1 -1
- package/libs/color/built/debug/binary.js +8 -8
- package/libs/color-sensor/built/debug/binary.js +8 -8
- package/libs/controller/built/debug/binary.js +7659 -7665
- package/libs/controller---none/built/debug/binary.js +7638 -7644
- package/libs/datalogger/built/debug/binary.js +63 -63
- package/libs/edge-connector/built/debug/binary.js +8 -8
- package/libs/esp32/built/debug/binary.js +462 -462
- package/libs/game/_locales/game-jsdoc-strings.json +14 -0
- package/libs/game/_locales/game-strings.json +3 -0
- package/libs/game/built/debug/binary.js +7551 -7557
- package/libs/game/hitbox.ts +2 -2
- package/libs/game/keymap.cpp +12 -0
- package/libs/game/keymap.ts +169 -0
- package/libs/game/multiplayer.cpp +25 -0
- package/libs/game/multiplayer.ts +24 -0
- package/libs/game/pxt.json +5 -1
- package/libs/game/scene.ts +1 -0
- package/libs/game/sim/keymap.ts +167 -0
- package/libs/game/sim/multiplayer.ts +132 -0
- package/libs/lcd/built/debug/binary.js +8 -8
- package/libs/light-spectrum-sensor/built/debug/binary.js +8 -8
- package/libs/lora/built/debug/binary.js +8 -8
- package/libs/matrix-keypad/built/debug/binary.js +8 -8
- package/libs/mqtt/built/debug/binary.js +176 -176
- package/libs/net/built/debug/binary.js +176 -176
- package/libs/net-game/built/debug/binary.js +9339 -9345
- package/libs/palette/built/debug/binary.js +7550 -7556
- package/libs/pixel/built/debug/binary.js +8 -8
- package/libs/power/built/debug/binary.js +8 -8
- package/libs/proximity/built/debug/binary.js +8 -8
- package/libs/radio/built/debug/binary.js +8 -8
- package/libs/radio-broadcast/built/debug/binary.js +8 -8
- package/libs/rotary-encoder/built/debug/binary.js +8 -8
- package/libs/screen/built/debug/binary.js +50 -50
- package/libs/servo/built/debug/binary.js +8 -8
- package/libs/sprite-scaling/built/debug/binary.js +7550 -7556
- package/libs/storyboard/built/debug/binary.js +7550 -7556
- package/package.json +2 -2
|
@@ -195,6 +195,20 @@
|
|
|
195
195
|
"info.startCountdown": "Start a countdown of the given duration in seconds",
|
|
196
196
|
"info.startCountdown|param|duration": "the duration of the countdown, eg: 10",
|
|
197
197
|
"info.stopCountdown": "Stop the current countdown and hides the timer display",
|
|
198
|
+
"keymap.KeyCode": "Key codes",
|
|
199
|
+
"keymap.setPlayerKeys": "Sets the keyboard input map for the given player.",
|
|
200
|
+
"keymap.setPlayerKeys|param|A": "The key code for 'A'",
|
|
201
|
+
"keymap.setPlayerKeys|param|B": "The key code for 'B'",
|
|
202
|
+
"keymap.setPlayerKeys|param|down": "The key code for 'down'",
|
|
203
|
+
"keymap.setPlayerKeys|param|left": "The key code for 'left'",
|
|
204
|
+
"keymap.setPlayerKeys|param|player": "The player number. 1 = Player1, etc.",
|
|
205
|
+
"keymap.setPlayerKeys|param|right": "The key code for 'right'",
|
|
206
|
+
"keymap.setPlayerKeys|param|up": "The key code for 'up'.",
|
|
207
|
+
"keymap.setSystemKeys": "Sets the keyboard input map for system keys.",
|
|
208
|
+
"keymap.setSystemKeys|param|gif": "The key code for 'gif'",
|
|
209
|
+
"keymap.setSystemKeys|param|menu": "The key code for 'menu'",
|
|
210
|
+
"keymap.setSystemKeys|param|reset": "The key code for 'reset'",
|
|
211
|
+
"keymap.setSystemKeys|param|screenshot": "The key code for 'screenshot'",
|
|
198
212
|
"particles.AreaFactory": "A factory for creating particles within rectangular area",
|
|
199
213
|
"particles.BubbleSource": "A source of particles where the particles oscillate horizontally, and occasionally change\nbetween a given number of defined states",
|
|
200
214
|
"particles.FireSource": "A source of particles where particles will occasionally change speed based off of each other",
|
|
@@ -234,6 +234,7 @@
|
|
|
234
234
|
"info.startCountdown|block": "start countdown %duration (s)",
|
|
235
235
|
"info.stopCountdown|block": "stop countdown",
|
|
236
236
|
"info|block": "info",
|
|
237
|
+
"keymap|block": "keymap",
|
|
237
238
|
"particles|block": "particles",
|
|
238
239
|
"scene.backgroundColor|block": "background color",
|
|
239
240
|
"scene.backgroundImage|block": "background image",
|
|
@@ -297,7 +298,9 @@
|
|
|
297
298
|
"{id:category}Game": "Game",
|
|
298
299
|
"{id:category}Helpers": "Helpers",
|
|
299
300
|
"{id:category}Info": "Info",
|
|
301
|
+
"{id:category}Keymap": "Keymap",
|
|
300
302
|
"{id:category}Math": "Math",
|
|
303
|
+
"{id:category}Multiplayer": "Multiplayer",
|
|
301
304
|
"{id:category}Particles": "Particles",
|
|
302
305
|
"{id:category}PhysicsEngine": "PhysicsEngine",
|
|
303
306
|
"{id:category}Scene": "Scene",
|