pxt-common-packages 10.3.11 → 10.3.13

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.
Files changed (37) hide show
  1. package/built/common-sim.d.ts +6 -0
  2. package/built/common-sim.js +15 -0
  3. package/libs/azureiot/built/debug/binary.js +461 -461
  4. package/libs/color/built/debug/binary.js +8 -8
  5. package/libs/color-sensor/built/debug/binary.js +8 -8
  6. package/libs/controller/built/debug/binary.js +8627 -8381
  7. package/libs/controller---none/built/debug/binary.js +8606 -8360
  8. package/libs/datalogger/built/debug/binary.js +63 -63
  9. package/libs/edge-connector/built/debug/binary.js +8 -8
  10. package/libs/esp32/built/debug/binary.js +462 -462
  11. package/libs/game/_locales/game-jsdoc-strings.json +2 -2
  12. package/libs/game/_locales/game-strings.json +1 -1
  13. package/libs/game/built/debug/binary.js +8937 -8691
  14. package/libs/game/game.ts +9 -2
  15. package/libs/game/multiplayer.ts +39 -0
  16. package/libs/game/sim/multiplayer.ts +23 -0
  17. package/libs/lcd/built/debug/binary.js +8 -8
  18. package/libs/light-spectrum-sensor/built/debug/binary.js +8 -8
  19. package/libs/lora/built/debug/binary.js +8 -8
  20. package/libs/matrix-keypad/built/debug/binary.js +8 -8
  21. package/libs/mixer/instrument.ts +7 -0
  22. package/libs/mixer/melody.ts +1 -0
  23. package/libs/mqtt/built/debug/binary.js +176 -176
  24. package/libs/net/built/debug/binary.js +176 -176
  25. package/libs/net-game/built/debug/binary.js +10613 -10367
  26. package/libs/palette/built/debug/binary.js +9030 -8784
  27. package/libs/pixel/built/debug/binary.js +8 -8
  28. package/libs/power/built/debug/binary.js +8 -8
  29. package/libs/proximity/built/debug/binary.js +8 -8
  30. package/libs/radio/built/debug/binary.js +8 -8
  31. package/libs/radio-broadcast/built/debug/binary.js +8 -8
  32. package/libs/rotary-encoder/built/debug/binary.js +8 -8
  33. package/libs/screen/built/debug/binary.js +50 -50
  34. package/libs/servo/built/debug/binary.js +8 -8
  35. package/libs/sprite-scaling/built/debug/binary.js +9030 -8784
  36. package/libs/storyboard/built/debug/binary.js +9030 -8784
  37. package/package.json +1 -1
@@ -151,10 +151,10 @@
151
151
  "game.setGameOverEffect|param|win": "whether the effect should run on a win (true) or lose (false)",
152
152
  "game.setGameOverMessage": "Set the message that displays when the game is over",
153
153
  "game.setGameOverMessage|param|win": "whether the message should show on a win (true) or lose (false)",
154
+ "game.setGameOverPlayable": "Set the music that occurs when the game is over",
155
+ "game.setGameOverPlayable|param|win": "whether the sound should play on a win (true) or lose (false)",
154
156
  "game.setGameOverScoringType": "Set the method of judging the best score for the game",
155
157
  "game.setGameOverScoringType|param|type": "the scoring type",
156
- "game.setGameOverSound": "Set the music that occurs when the game is over",
157
- "game.setGameOverSound|param|win": "whether the sound should play on a win (true) or lose (false)",
158
158
  "game.showLongText": "Show a long text string in a dialog box that will scroll\nusing the \"A\" or \"down\" buttons. The previous section of the\ntext is shown using the \"up\" button. This function\nhalts execution until the last page of text is dismissed.\n* @param str The text to display",
159
159
  "game.showLongText|param|layout": "The layout to use for the dialog box",
160
160
  "game.splash": "Show a title and an optional subtitle menu",
@@ -214,8 +214,8 @@
214
214
  "game.setDialogTextColor|block": "set dialog text color to %color=colorindexpicker",
215
215
  "game.setGameOverEffect|block": "use effect $effect for $win",
216
216
  "game.setGameOverMessage|block": "use message $message for $win",
217
+ "game.setGameOverPlayable|block": "use $sound looping $looping for $win",
217
218
  "game.setGameOverScoringType|block": "use $type as best score",
218
- "game.setGameOverSound|block": "use $sound looping $looping for $win",
219
219
  "game.showLongText|block": "show long text %str %layout",
220
220
  "game.splash|block": "splash %title||%subtitle",
221
221
  "game|block": "game",