pxt-common-packages 13.1.5 → 13.1.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.
- package/built/common-sim.d.ts +0 -6
- package/built/common-sim.js +0 -23
- package/libs/accelerometer/built/debug/binary.js +8 -8
- package/libs/animation/legacy.ts +2 -0
- 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 +7348 -7348
- package/libs/controller---none/built/debug/binary.js +7328 -7328
- package/libs/core/_locales/core-jsdoc-strings.json +0 -13
- package/libs/core/_locales/core-strings.json +0 -2
- package/libs/core/pxt.json +0 -2
- package/libs/core/shims.d.ts +0 -30
- package/libs/core---samd/_locales/core---samd-jsdoc-strings.json +0 -13
- package/libs/core---samd/_locales/core---samd-strings.json +0 -2
- package/libs/core---samd/built/debug/binary.js +8 -8
- package/libs/core---samd/shims.d.ts +0 -30
- 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/animation.ts +3 -0
- package/libs/game/built/debug/binary.js +7267 -7267
- package/libs/game/controller.ts +2 -0
- package/libs/game/particleeffects.ts +1 -0
- package/libs/game/scenes.ts +1 -0
- package/libs/game/sprite.ts +2 -0
- package/libs/game/sprites.ts +1 -0
- package/libs/game/tilemap.ts +2 -0
- package/libs/gamepad/built/debug/binary.js +8 -8
- package/libs/keyboard/built/debug/binary.js +8 -8
- package/libs/lcd/built/debug/binary.js +8 -8
- package/libs/light/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/microphone/built/debug/binary.js +8 -8
- package/libs/mouse/built/debug/binary.js +8 -8
- package/libs/mqtt/built/debug/binary.js +176 -176
- package/libs/music/built/debug/binary.js +8 -8
- package/libs/net/built/debug/binary.js +176 -176
- package/libs/net-game/built/debug/binary.js +8984 -8984
- package/libs/palette/built/debug/binary.js +7266 -7266
- 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/pulse/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 +7266 -7266
- package/libs/sprite-scaling/scaling.ts +4 -0
- package/libs/storyboard/built/debug/binary.js +7266 -7266
- package/libs/tests/built/debug/binary.js +15 -15
- package/libs/thermometer/built/debug/binary.js +8 -8
- package/package.json +1 -1
- package/libs/core/keyvaluestorage.cpp +0 -109
- package/libs/core/keyvaluestorage.ts +0 -43
- package/libs/core/sim/keyvaluestorage.ts +0 -15
package/libs/game/animation.ts
CHANGED
|
@@ -583,6 +583,7 @@ namespace animation {
|
|
|
583
583
|
*/
|
|
584
584
|
//% blockId=run_image_animation
|
|
585
585
|
//% block="animate $sprite=variables_get(mySprite) frames $frames=animation_editor interval (ms) $frameInterval=timePicker loop $loop=toggleOnOff"
|
|
586
|
+
//% sprite.defl=mySprite
|
|
586
587
|
//% group="Animate"
|
|
587
588
|
//% weight=100
|
|
588
589
|
//% help=animation/run-image-animation
|
|
@@ -599,6 +600,7 @@ namespace animation {
|
|
|
599
600
|
*/
|
|
600
601
|
//% blockId=run_movement_animation
|
|
601
602
|
//% block="animate $sprite=variables_get(mySprite) with $pathString=animation_path for (ms) $duration=timePicker loop $loop=toggleOnOff"
|
|
603
|
+
//% sprite.defl=mySprite
|
|
602
604
|
//% duration.defl=2000
|
|
603
605
|
//% weight=80
|
|
604
606
|
//% group="Animate"
|
|
@@ -625,6 +627,7 @@ namespace animation {
|
|
|
625
627
|
*/
|
|
626
628
|
//% blockId=stop_animations
|
|
627
629
|
//% block="stop %type animations on %sprite=variables_get(mySprite)"
|
|
630
|
+
//% sprite.defl=mySprite
|
|
628
631
|
//% group="Animate"
|
|
629
632
|
//% weight=60
|
|
630
633
|
//% help=animation/stop-animation
|