pxt-common-packages 11.1.6 → 12.0.2
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 +4 -4
- package/libs/azureiot/built/debug/binary.js +461 -461
- package/libs/base/configkeys.h +1 -0
- 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 +7121 -7121
- package/libs/controller---none/built/debug/binary.js +7101 -7101
- 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-strings.json +1 -0
- package/libs/game/animation.ts +1 -0
- package/libs/game/assetTemplates.ts +4 -0
- package/libs/game/built/debug/binary.js +7040 -7040
- package/libs/game/docs/reference/controller/dy.md +2 -2
- package/libs/game/docs/reference/info/countdown.md +1 -7
- package/libs/game/docs/reference/scene/get-tile-location.md +1 -0
- package/libs/game/docs/reference/scene/tile-at-location-equals.md +1 -0
- package/libs/game/docs/reference/scene/tile-at-location-is-wall.md +1 -0
- package/libs/game/game.ts +11 -1
- package/libs/game/info.ts +7 -2
- 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/mixer/sim/music.ts +4 -4
- 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 +8629 -8629
- package/libs/palette/built/debug/binary.js +7039 -7039
- 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/servo/docs/reference/servos/set-pulse.md +1 -1
- package/libs/settings/settings.cpp +5 -0
- package/libs/sprite-scaling/built/debug/binary.js +7039 -7039
- package/libs/storyboard/built/debug/binary.js +7039 -7039
- package/package.json +2 -2
|
@@ -121,6 +121,7 @@
|
|
|
121
121
|
"TileDirection.Right|block": "right",
|
|
122
122
|
"TileDirection.Top|block": "top",
|
|
123
123
|
"TileScale.Eight|block": "8x8",
|
|
124
|
+
"TileScale.Four|block": "4x4",
|
|
124
125
|
"TileScale.Sixteen|block": "16x16",
|
|
125
126
|
"TileScale.ThirtyTwo|block": "32x32",
|
|
126
127
|
"animation.AnimationTypes.All|block": "all",
|
package/libs/game/animation.ts
CHANGED
|
@@ -718,6 +718,7 @@ namespace animation {
|
|
|
718
718
|
//% frames.fieldOptions.filter="!tile !dialog !background"
|
|
719
719
|
//% weight=40
|
|
720
720
|
//% group="Animate" duplicateShadowOnDrag
|
|
721
|
+
//% help=animation/animation-frames
|
|
721
722
|
export function _animationFrames(frames: Image[]) {
|
|
722
723
|
return frames
|
|
723
724
|
}
|
|
@@ -15,6 +15,10 @@ function tilemap16(lits: any, ...args: any[]): tiles.TileMapData { return null }
|
|
|
15
15
|
//% pyConvertToTaggedTemplate
|
|
16
16
|
function tilemap32(lits: any, ...args: any[]): tiles.TileMapData { return null }
|
|
17
17
|
|
|
18
|
+
//% helper=getTilemapByName
|
|
19
|
+
//% pyConvertToTaggedTemplate
|
|
20
|
+
function tilemap4(lits: any, ...args: any[]): tiles.TileMapData { return null }
|
|
21
|
+
|
|
18
22
|
namespace assets {
|
|
19
23
|
//% helper=getTilemapByName
|
|
20
24
|
//% pyConvertToTaggedTemplate
|