pxt-common-packages 10.1.6 → 10.1.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.js +3 -3
- package/libs/azureiot/built/debug/binary.js +461 -461
- 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 +8032 -7916
- package/libs/controller---none/built/debug/binary.js +8011 -7895
- package/libs/core/hf2.cpp +12 -2
- package/libs/core---rp2040/platform.h +0 -1
- package/libs/core---stm32/platform.h +0 -2
- 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/built/debug/binary.js +7924 -7808
- package/libs/game/camera.ts +3 -4
- package/libs/game/physics.ts +30 -0
- package/libs/game/sprite.ts +0 -22
- package/libs/game---light/compat.ts +10 -0
- package/libs/game---light/pxt.json +1 -3
- 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/mixer/melody.ts +2 -2
- package/libs/mixer/pxt.json +1 -0
- package/libs/mixer/sim/music.ts +1 -1
- package/libs/mixer/soundEffect.ts +380 -0
- 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 +9712 -9596
- package/libs/palette/built/debug/binary.js +7923 -7807
- 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/screen/sim/image.ts +2 -2
- package/libs/servo/built/debug/binary.js +8 -8
- package/libs/sprite-scaling/built/debug/binary.js +7923 -7807
- package/libs/storyboard/built/debug/binary.js +7923 -7807
- package/package.json +2 -2
package/built/common-sim.js
CHANGED
|
@@ -3126,7 +3126,7 @@ var pxsim;
|
|
|
3126
3126
|
var music;
|
|
3127
3127
|
(function (music) {
|
|
3128
3128
|
function playInstructions(b) {
|
|
3129
|
-
return pxsim.AudioContextManager.playInstructionsAsync(b);
|
|
3129
|
+
return pxsim.AudioContextManager.playInstructionsAsync(b.data);
|
|
3130
3130
|
}
|
|
3131
3131
|
music.playInstructions = playInstructions;
|
|
3132
3132
|
function queuePlayInstructions(when, b) {
|
|
@@ -3706,7 +3706,7 @@ var pxsim;
|
|
|
3706
3706
|
let hh = 0;
|
|
3707
3707
|
while (len--) {
|
|
3708
3708
|
if (hh++ >= img._height) {
|
|
3709
|
-
hh =
|
|
3709
|
+
hh = 1;
|
|
3710
3710
|
sp = ++x;
|
|
3711
3711
|
}
|
|
3712
3712
|
dst.data[dp++] = img.data[sp];
|
|
@@ -3724,7 +3724,7 @@ var pxsim;
|
|
|
3724
3724
|
let hh = 0;
|
|
3725
3725
|
while (len--) {
|
|
3726
3726
|
if (hh++ >= img._height) {
|
|
3727
|
-
hh =
|
|
3727
|
+
hh = 1;
|
|
3728
3728
|
dp = ++x;
|
|
3729
3729
|
}
|
|
3730
3730
|
img.data[dp] = src.data[sp++];
|