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
|
@@ -10,6 +10,7 @@ namespace scaling {
|
|
|
10
10
|
//% block="set $sprite=variables_get(mySprite) scale to $value percent $direction anchor $anchor"
|
|
11
11
|
//% expandableArgumentMode=enabled
|
|
12
12
|
//% inlineInputMode=inline
|
|
13
|
+
//% sprite.defl=mySprite
|
|
13
14
|
//% value.defl=150
|
|
14
15
|
//% direction.defl=ScaleDirection.Uniformly
|
|
15
16
|
//% anchor.defl=ScaleAnchor.Middle
|
|
@@ -38,6 +39,7 @@ namespace scaling {
|
|
|
38
39
|
//% block="change $sprite=variables_get(mySprite) scale by $value percent $direction anchor $anchor"
|
|
39
40
|
//% expandableArgumentMode=enabled
|
|
40
41
|
//% inlineInputMode=inline
|
|
42
|
+
//% sprite.defl=mySprite
|
|
41
43
|
//% value.defl=50
|
|
42
44
|
//% direction.defl=ScaleDirection.Uniformly
|
|
43
45
|
//% anchor.defl=ScaleAnchor.Middle
|
|
@@ -66,6 +68,7 @@ namespace scaling {
|
|
|
66
68
|
//% block="set $sprite=variables_get(mySprite) scale to $value pixels $direction anchor $anchor || proportional $proportional"
|
|
67
69
|
//% expandableArgumentMode=enabled
|
|
68
70
|
//% inlineInputMode=inline
|
|
71
|
+
//% sprite.defl=mySprite
|
|
69
72
|
//% value.defl=32
|
|
70
73
|
//% direction.defl=ScaleDirection.Horizontally
|
|
71
74
|
//% anchor.defl=ScaleAnchor.Middle
|
|
@@ -105,6 +108,7 @@ namespace scaling {
|
|
|
105
108
|
//% block="change $sprite=variables_get(mySprite) scale by $value pixels $direction anchor $anchor || proportional $proportional"
|
|
106
109
|
//% expandableArgumentMode=enabled
|
|
107
110
|
//% inlineInputMode=inline
|
|
111
|
+
//% sprite.defl=mySprite
|
|
108
112
|
//% value.defl=10
|
|
109
113
|
//% direction.defl=ScaleDirection.Horizontally
|
|
110
114
|
//% anchor.defl=ScaleAnchor.Middle
|