pxt-common-packages 10.3.5 → 10.3.7

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 (40) hide show
  1. package/libs/azureiot/built/debug/binary.js +461 -461
  2. package/libs/color/built/debug/binary.js +8 -8
  3. package/libs/color-sensor/built/debug/binary.js +8 -8
  4. package/libs/controller/built/debug/binary.js +7239 -7205
  5. package/libs/controller---none/built/debug/binary.js +7219 -7185
  6. package/libs/datalogger/built/debug/binary.js +63 -63
  7. package/libs/edge-connector/built/debug/binary.js +8 -8
  8. package/libs/esp32/built/debug/binary.js +462 -462
  9. package/libs/game/animation.ts +403 -323
  10. package/libs/game/built/debug/binary.js +7158 -7124
  11. package/libs/game/controller.ts +6 -0
  12. package/libs/game/info.ts +9 -0
  13. package/libs/game/physics.ts +2 -2
  14. package/libs/lcd/built/debug/binary.js +8 -8
  15. package/libs/light-spectrum-sensor/built/debug/binary.js +8 -8
  16. package/libs/lora/built/debug/binary.js +8 -8
  17. package/libs/matrix-keypad/built/debug/binary.js +8 -8
  18. package/libs/mixer/instrument.ts +22 -3
  19. package/libs/mixer/sequencer.ts +2 -2
  20. package/libs/mqtt/built/debug/binary.js +176 -176
  21. package/libs/multiplayer/fieldEditors.ts +1 -9
  22. package/libs/multiplayer/images.ts +1 -1
  23. package/libs/multiplayer/player.ts +706 -0
  24. package/libs/multiplayer/pxt.json +1 -1
  25. package/libs/multiplayer/stateKind.ts +2 -2
  26. package/libs/net/built/debug/binary.js +176 -176
  27. package/libs/net-game/built/debug/binary.js +8747 -8713
  28. package/libs/palette/built/debug/binary.js +7153 -7119
  29. package/libs/pixel/built/debug/binary.js +8 -8
  30. package/libs/power/built/debug/binary.js +8 -8
  31. package/libs/proximity/built/debug/binary.js +8 -8
  32. package/libs/radio/built/debug/binary.js +8 -8
  33. package/libs/radio-broadcast/built/debug/binary.js +8 -8
  34. package/libs/rotary-encoder/built/debug/binary.js +8 -8
  35. package/libs/screen/built/debug/binary.js +50 -50
  36. package/libs/servo/built/debug/binary.js +8 -8
  37. package/libs/sprite-scaling/built/debug/binary.js +7157 -7123
  38. package/libs/storyboard/built/debug/binary.js +7157 -7123
  39. package/package.json +1 -1
  40. package/libs/multiplayer/mp.ts +0 -643
@@ -1,4 +1,4 @@
1
- namespace multiplayer {
1
+ namespace mp {
2
2
  /**
3
3
  * A type of state to get for a player
4
4
  */
@@ -12,12 +12,4 @@ namespace multiplayer {
12
12
  export function _multiplayerState(kind: number): number {
13
13
  return kind;
14
14
  }
15
-
16
- //% shim=TD_ID
17
- //% blockId=mp_playernumber
18
- //% block="player $num"
19
- //% blockHidden
20
- export function _playerNumber(num: PlayerNumber): number {
21
- return num;
22
- }
23
15
  }
@@ -1,4 +1,4 @@
1
- namespace multiplayer {
1
+ namespace mp {
2
2
  export function _indicatorForPlayer(player: number, direction: number) {
3
3
  switch (direction) {
4
4
  case CollisionDirection.Top: