pxt-common-packages 13.1.6 → 13.1.8
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/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/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 +1 -0
- package/libs/game/_locales/game-strings.json +1 -0
- 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/docs/reference/sprites/sprite/follow.md +1 -0
- package/libs/game/docs/reference/sprites/sprite/set-kind.md +1 -1
- package/libs/game/docs/reference/sprites/sprite/unfollow.md +62 -0
- package/libs/game/particleeffects.ts +1 -0
- package/libs/game/scenes.ts +1 -0
- package/libs/game/sprite.ts +15 -0
- package/libs/game/sprites.ts +1 -0
- package/libs/game/tilemap.ts +2 -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 +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/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/package.json +1 -1
package/libs/animation/legacy.ts
CHANGED
|
@@ -155,6 +155,7 @@ namespace animation {
|
|
|
155
155
|
*/
|
|
156
156
|
//% blockId=attachAnimation
|
|
157
157
|
//% block="attach animation $set=variables_get(anim) to sprite $sprite=variables_get(mySprite)"
|
|
158
|
+
//% sprite.defl=mySprite
|
|
158
159
|
//% group="Advanced"
|
|
159
160
|
//% weight=30
|
|
160
161
|
//% help=animation/attach-animation
|
|
@@ -167,6 +168,7 @@ namespace animation {
|
|
|
167
168
|
*/
|
|
168
169
|
//% blockId=setAction
|
|
169
170
|
//% block="activate animation $action=action_enum_shim on $sprite=variables_get(mySprite)"
|
|
171
|
+
//% sprite.defl=mySprite
|
|
170
172
|
//% group="Advanced"
|
|
171
173
|
//% weight=20
|
|
172
174
|
//% help=animation/set-action
|