pxt-common-packages 13.1.6 → 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/libs/animation/legacy.ts +2 -0
- package/libs/controller/built/debug/binary.js +27 -27
- package/libs/controller---none/built/debug/binary.js +27 -27
- package/libs/game/animation.ts +3 -0
- package/libs/game/built/debug/binary.js +27 -27
- 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/net-game/built/debug/binary.js +27 -27
- package/libs/palette/built/debug/binary.js +27 -27
- package/libs/sprite-scaling/built/debug/binary.js +27 -27
- package/libs/sprite-scaling/scaling.ts +4 -0
- package/libs/storyboard/built/debug/binary.js +27 -27
- 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
|
|
@@ -8610,7 +8610,7 @@ switch (step) {
|
|
|
8610
8610
|
return leave(s, r0)
|
|
8611
8611
|
default: oops()
|
|
8612
8612
|
} } }
|
|
8613
|
-
controller_Controller_connected__P66447.info = {"start":
|
|
8613
|
+
controller_Controller_connected__P66447.info = {"start":7829,"length":261,"line":255,"column":8,"endLine":260,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]}
|
|
8614
8614
|
|
|
8615
8615
|
function controller_Controller_connected__P66447_mk(s) {
|
|
8616
8616
|
checkStack(s.depth);
|
|
@@ -11471,7 +11471,7 @@ switch (step) {
|
|
|
11471
11471
|
return leave(s, r0)
|
|
11472
11472
|
default: oops()
|
|
11473
11473
|
} } }
|
|
11474
|
-
controller_Controller___preUpdate__P66453.info = {"start":
|
|
11474
|
+
controller_Controller___preUpdate__P66453.info = {"start":10705,"length":2535,"line":331,"column":8,"endLine":395,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]}
|
|
11475
11475
|
|
|
11476
11476
|
function controller_Controller___preUpdate__P66453_mk(s) {
|
|
11477
11477
|
checkStack(s.depth);
|
|
@@ -11655,7 +11655,7 @@ switch (step) {
|
|
|
11655
11655
|
return leave(s, r0)
|
|
11656
11656
|
default: oops()
|
|
11657
11657
|
} } }
|
|
11658
|
-
controller_Controller___preUpdate_inline__P71164.info = {"start":
|
|
11658
|
+
controller_Controller___preUpdate_inline__P71164.info = {"start":11888,"length":1171,"line":362,"column":44,"endLine":390,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]}
|
|
11659
11659
|
|
|
11660
11660
|
function controller_Controller___preUpdate_inline__P71164_mk(s) {
|
|
11661
11661
|
checkStack(s.depth);
|
|
@@ -11703,7 +11703,7 @@ switch (step) {
|
|
|
11703
11703
|
return leave(s, r0)
|
|
11704
11704
|
default: oops()
|
|
11705
11705
|
} } }
|
|
11706
|
-
controller_Controller___preUpdate_inline__P71225.info = {"start":
|
|
11706
|
+
controller_Controller___preUpdate_inline__P71225.info = {"start":13186,"length":42,"line":394,"column":28,"endLine":394,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]}
|
|
11707
11707
|
|
|
11708
11708
|
function controller_Controller___preUpdate_inline__P71225_mk(s) {
|
|
11709
11709
|
checkStack(s.depth);
|
|
@@ -11897,7 +11897,7 @@ switch (step) {
|
|
|
11897
11897
|
return leave(s, r0)
|
|
11898
11898
|
default: oops()
|
|
11899
11899
|
} } }
|
|
11900
|
-
controller_Controller_button__P66444.info = {"start":
|
|
11900
|
+
controller_Controller_button__P66444.info = {"start":6699,"length":105,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]}
|
|
11901
11901
|
|
|
11902
11902
|
function controller_Controller_button__P66444_mk(s) {
|
|
11903
11903
|
checkStack(s.depth);
|
|
@@ -12262,7 +12262,7 @@ switch (step) {
|
|
|
12262
12262
|
return leave(s, r0)
|
|
12263
12263
|
default: oops()
|
|
12264
12264
|
} } }
|
|
12265
|
-
controller___update__P66457.info = {"start":
|
|
12265
|
+
controller___update__P66457.info = {"start":13772,"length":137,"line":415,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]}
|
|
12266
12266
|
|
|
12267
12267
|
function controller___update__P66457_mk(s) {
|
|
12268
12268
|
checkStack(s.depth);
|
|
@@ -12303,7 +12303,7 @@ switch (step) {
|
|
|
12303
12303
|
return leave(s, r0)
|
|
12304
12304
|
default: oops()
|
|
12305
12305
|
} } }
|
|
12306
|
-
controller___update_inline__P71311.info = {"start":
|
|
12306
|
+
controller___update_inline__P71311.info = {"start":13874,"length":27,"line":417,"column":26,"endLine":417,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]}
|
|
12307
12307
|
|
|
12308
12308
|
function controller___update_inline__P71311_mk(s) {
|
|
12309
12309
|
checkStack(s.depth);
|
|
@@ -12358,7 +12358,7 @@ switch (step) {
|
|
|
12358
12358
|
return leave(s, r0)
|
|
12359
12359
|
default: oops()
|
|
12360
12360
|
} } }
|
|
12361
|
-
controller_Controller___update__P66454.info = {"start":
|
|
12361
|
+
controller_Controller___update__P66454.info = {"start":13250,"length":124,"line":397,"column":8,"endLine":400,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]}
|
|
12362
12362
|
|
|
12363
12363
|
function controller_Controller___update__P66454_mk(s) {
|
|
12364
12364
|
checkStack(s.depth);
|
|
@@ -12401,7 +12401,7 @@ switch (step) {
|
|
|
12401
12401
|
return leave(s, r0)
|
|
12402
12402
|
default: oops()
|
|
12403
12403
|
} } }
|
|
12404
|
-
controller_Controller___update_inline__P71324.info = {"start":
|
|
12404
|
+
controller_Controller___update_inline__P71324.info = {"start":13337,"length":25,"line":399,"column":33,"endLine":399,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]}
|
|
12405
12405
|
|
|
12406
12406
|
function controller_Controller___update_inline__P71324_mk(s) {
|
|
12407
12407
|
checkStack(s.depth);
|
|
@@ -14972,7 +14972,7 @@ switch (step) {
|
|
|
14972
14972
|
return leave(s, r0)
|
|
14973
14973
|
default: oops()
|
|
14974
14974
|
} } }
|
|
14975
|
-
Sprite_destroy__P66661.info = {"start":
|
|
14975
|
+
Sprite_destroy__P66661.info = {"start":31188,"length":293,"line":981,"column":4,"endLine":990,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]}
|
|
14976
14976
|
|
|
14977
14977
|
function Sprite_destroy__P66661_mk(s) {
|
|
14978
14978
|
checkStack(s.depth);
|
|
@@ -15106,7 +15106,7 @@ switch (step) {
|
|
|
15106
15106
|
return leave(s, r0)
|
|
15107
15107
|
default: oops()
|
|
15108
15108
|
} } }
|
|
15109
|
-
Sprite__destroyCore__P66662.info = {"start":
|
|
15109
|
+
Sprite__destroyCore__P66662.info = {"start":31487,"length":522,"line":992,"column":4,"endLine":1004,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]}
|
|
15110
15110
|
|
|
15111
15111
|
function Sprite__destroyCore__P66662_mk(s) {
|
|
15112
15112
|
checkStack(s.depth);
|
|
@@ -15150,7 +15150,7 @@ switch (step) {
|
|
|
15150
15150
|
return leave(s, r0)
|
|
15151
15151
|
default: oops()
|
|
15152
15152
|
} } }
|
|
15153
|
-
forEach_inline__P72048.info = {"start":
|
|
15153
|
+
forEach_inline__P72048.info = {"start":31932,"length":26,"line":1002,"column":20,"endLine":1002,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
15154
15154
|
|
|
15155
15155
|
function forEach_inline__P72048_mk(s) {
|
|
15156
15156
|
checkStack(s.depth);
|
|
@@ -15197,7 +15197,7 @@ switch (step) {
|
|
|
15197
15197
|
return leave(s, r0)
|
|
15198
15198
|
default: oops()
|
|
15199
15199
|
} } }
|
|
15200
|
-
Sprite__destroyCore_inline__P72055.info = {"start":
|
|
15200
|
+
Sprite__destroyCore_inline__P72055.info = {"start":31981,"length":20,"line":1003,"column":21,"endLine":1003,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
15201
15201
|
|
|
15202
15202
|
function Sprite__destroyCore_inline__P72055_mk(s) {
|
|
15203
15203
|
checkStack(s.depth);
|
|
@@ -24936,7 +24936,7 @@ switch (step) {
|
|
|
24936
24936
|
return leave(s, r0)
|
|
24937
24937
|
default: oops()
|
|
24938
24938
|
} } }
|
|
24939
|
-
confetti_inline__P74707.info = {"start":
|
|
24939
|
+
confetti_inline__P74707.info = {"start":7563,"length":284,"line":192,"column":59,"endLine":196,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]}
|
|
24940
24940
|
|
|
24941
24941
|
function confetti_inline__P74707_mk(s) {
|
|
24942
24942
|
checkStack(s.depth);
|
|
@@ -27750,7 +27750,7 @@ switch (step) {
|
|
|
27750
27750
|
return leaveAccessor(s, r0)
|
|
27751
27751
|
default: oops()
|
|
27752
27752
|
} } }
|
|
27753
|
-
controller_Controller_connected__P66385.info = {"start":
|
|
27753
|
+
controller_Controller_connected__P66385.info = {"start":7756,"length":63,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]}
|
|
27754
27754
|
controller_Controller_connected__P66385.isGetter = true;
|
|
27755
27755
|
|
|
27756
27756
|
function controller_Controller_connected__P66385_mk(s) {
|
|
@@ -32443,7 +32443,7 @@ switch (step) {
|
|
|
32443
32443
|
return leave(s, r0)
|
|
32444
32444
|
default: oops()
|
|
32445
32445
|
} } }
|
|
32446
|
-
Sprite_registerObstacle__P66659.info = {"start":
|
|
32446
|
+
Sprite_registerObstacle__P66659.info = {"start":29687,"length":965,"line":939,"column":4,"endLine":959,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]}
|
|
32447
32447
|
|
|
32448
32448
|
function Sprite_registerObstacle__P66659_mk(s) {
|
|
32449
32449
|
checkStack(s.depth);
|
|
@@ -32493,7 +32493,7 @@ switch (step) {
|
|
|
32493
32493
|
return leave(s, r0)
|
|
32494
32494
|
default: oops()
|
|
32495
32495
|
} } }
|
|
32496
|
-
forEach_inline__P76942.info = {"start":
|
|
32496
|
+
forEach_inline__P76942.info = {"start":30085,"length":26,"line":946,"column":24,"endLine":946,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
32497
32497
|
|
|
32498
32498
|
function forEach_inline__P76942_mk(s) {
|
|
32499
32499
|
checkStack(s.depth);
|
|
@@ -32540,7 +32540,7 @@ switch (step) {
|
|
|
32540
32540
|
return leave(s, r0)
|
|
32541
32541
|
default: oops()
|
|
32542
32542
|
} } }
|
|
32543
|
-
Sprite_registerObstacle_inline__P76948.info = {"start":
|
|
32543
|
+
Sprite_registerObstacle_inline__P76948.info = {"start":30138,"length":20,"line":947,"column":25,"endLine":947,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
32544
32544
|
|
|
32545
32545
|
function Sprite_registerObstacle_inline__P76948_mk(s) {
|
|
32546
32546
|
checkStack(s.depth);
|
|
@@ -32576,7 +32576,7 @@ switch (step) {
|
|
|
32576
32576
|
return leave(s, r0)
|
|
32577
32577
|
default: oops()
|
|
32578
32578
|
} } }
|
|
32579
|
-
wallHandlersToRun_inline__P76961.info = {"start":
|
|
32579
|
+
wallHandlersToRun_inline__P76961.info = {"start":30344,"length":32,"line":952,"column":24,"endLine":952,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
32580
32580
|
|
|
32581
32581
|
function wallHandlersToRun_inline__P76961_mk(s) {
|
|
32582
32582
|
checkStack(s.depth);
|
|
@@ -32624,7 +32624,7 @@ switch (step) {
|
|
|
32624
32624
|
return leave(s, r0)
|
|
32625
32625
|
default: oops()
|
|
32626
32626
|
} } }
|
|
32627
|
-
Sprite_registerObstacle_inline__P76990.info = {"start":
|
|
32627
|
+
Sprite_registerObstacle_inline__P76990.info = {"start":30584,"length":36,"line":956,"column":29,"endLine":956,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
32628
32628
|
|
|
32629
32629
|
function Sprite_registerObstacle_inline__P76990_mk(s) {
|
|
32630
32630
|
checkStack(s.depth);
|
|
@@ -34683,7 +34683,7 @@ switch (step) {
|
|
|
34683
34683
|
return leave(s, r0)
|
|
34684
34684
|
default: oops()
|
|
34685
34685
|
} } }
|
|
34686
|
-
Sprite_overlapsWith__P66653.info = {"start":
|
|
34686
|
+
Sprite_overlapsWith__P66653.info = {"start":23939,"length":3172,"line":772,"column":4,"endLine":861,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]}
|
|
34687
34687
|
|
|
34688
34688
|
function Sprite_overlapsWith__P66653_mk(s) {
|
|
34689
34689
|
checkStack(s.depth);
|
|
@@ -36951,7 +36951,7 @@ switch (step) {
|
|
|
36951
36951
|
return leave(s, r0)
|
|
36952
36952
|
default: oops()
|
|
36953
36953
|
} } }
|
|
36954
|
-
Sprite_clearObstacles__P66658.info = {"start":
|
|
36954
|
+
Sprite_clearObstacles__P66658.info = {"start":29627,"length":54,"line":935,"column":4,"endLine":937,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]}
|
|
36955
36955
|
|
|
36956
36956
|
function Sprite_clearObstacles__P66658_mk(s) {
|
|
36957
36957
|
checkStack(s.depth);
|
|
@@ -37959,7 +37959,7 @@ switch (step) {
|
|
|
37959
37959
|
return leave(s, r0)
|
|
37960
37960
|
default: oops()
|
|
37961
37961
|
} } }
|
|
37962
|
-
Sprite_toString__P66667.info = {"start":
|
|
37962
|
+
Sprite_toString__P66667.info = {"start":38835,"length":93,"line":1189,"column":4,"endLine":1191,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]}
|
|
37963
37963
|
|
|
37964
37964
|
function Sprite_toString__P66667_mk(s) {
|
|
37965
37965
|
checkStack(s.depth);
|
|
@@ -39325,7 +39325,7 @@ switch (step) {
|
|
|
39325
39325
|
return leave(s, r0)
|
|
39326
39326
|
default: oops()
|
|
39327
39327
|
} } }
|
|
39328
|
-
controller_AnyButton_isPressed__P66480.info = {"start":
|
|
39328
|
+
controller_AnyButton_isPressed__P66480.info = {"start":15798,"length":202,"line":471,"column":8,"endLine":478,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]}
|
|
39329
39329
|
|
|
39330
39330
|
function controller_AnyButton_isPressed__P66480_mk(s) {
|
|
39331
39331
|
checkStack(s.depth);
|
|
@@ -40714,7 +40714,7 @@ switch (step) {
|
|
|
40714
40714
|
return leave(s, r0)
|
|
40715
40715
|
default: oops()
|
|
40716
40716
|
} } }
|
|
40717
|
-
Sprite_drawDebug__P66669.info = {"start":
|
|
40717
|
+
Sprite_drawDebug__P66669.info = {"start":39514,"length":1092,"line":1211,"column":4,"endLine":1239,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]}
|
|
40718
40718
|
|
|
40719
40719
|
function Sprite_drawDebug__P66669_mk(s) {
|
|
40720
40720
|
checkStack(s.depth);
|
|
@@ -40854,7 +40854,7 @@ switch (step) {
|
|
|
40854
40854
|
return leave(s, r0)
|
|
40855
40855
|
default: oops()
|
|
40856
40856
|
} } }
|
|
40857
|
-
Sprite_drawSprite__P66670.info = {"start":
|
|
40857
|
+
Sprite_drawSprite__P66670.info = {"start":40612,"length":805,"line":1241,"column":4,"endLine":1266,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]}
|
|
40858
40858
|
|
|
40859
40859
|
function Sprite_drawSprite__P66670_mk(s) {
|
|
40860
40860
|
checkStack(s.depth);
|
|
@@ -41021,7 +41021,7 @@ switch (step) {
|
|
|
41021
41021
|
return leave(s, r0)
|
|
41022
41022
|
default: oops()
|
|
41023
41023
|
} } }
|
|
41024
|
-
Sprite_drawSay__P66668.info = {"start":
|
|
41024
|
+
Sprite_drawSay__P66668.info = {"start":38934,"length":574,"line":1193,"column":4,"endLine":1209,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]}
|
|
41025
41025
|
|
|
41026
41026
|
function Sprite_drawSay__P66668_mk(s) {
|
|
41027
41027
|
checkStack(s.depth);
|
|
@@ -8503,7 +8503,7 @@ switch (step) {
|
|
|
8503
8503
|
return leave(s, r0)
|
|
8504
8504
|
default: oops()
|
|
8505
8505
|
} } }
|
|
8506
|
-
controller_Controller_connected__P83349.info = {"start":
|
|
8506
|
+
controller_Controller_connected__P83349.info = {"start":7829,"length":261,"line":255,"column":8,"endLine":260,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]}
|
|
8507
8507
|
|
|
8508
8508
|
function controller_Controller_connected__P83349_mk(s) {
|
|
8509
8509
|
checkStack(s.depth);
|
|
@@ -11364,7 +11364,7 @@ switch (step) {
|
|
|
11364
11364
|
return leave(s, r0)
|
|
11365
11365
|
default: oops()
|
|
11366
11366
|
} } }
|
|
11367
|
-
controller_Controller___preUpdate__P83355.info = {"start":
|
|
11367
|
+
controller_Controller___preUpdate__P83355.info = {"start":10705,"length":2535,"line":331,"column":8,"endLine":395,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]}
|
|
11368
11368
|
|
|
11369
11369
|
function controller_Controller___preUpdate__P83355_mk(s) {
|
|
11370
11370
|
checkStack(s.depth);
|
|
@@ -11548,7 +11548,7 @@ switch (step) {
|
|
|
11548
11548
|
return leave(s, r0)
|
|
11549
11549
|
default: oops()
|
|
11550
11550
|
} } }
|
|
11551
|
-
controller_Controller___preUpdate_inline__P87835.info = {"start":
|
|
11551
|
+
controller_Controller___preUpdate_inline__P87835.info = {"start":11888,"length":1171,"line":362,"column":44,"endLine":390,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]}
|
|
11552
11552
|
|
|
11553
11553
|
function controller_Controller___preUpdate_inline__P87835_mk(s) {
|
|
11554
11554
|
checkStack(s.depth);
|
|
@@ -11596,7 +11596,7 @@ switch (step) {
|
|
|
11596
11596
|
return leave(s, r0)
|
|
11597
11597
|
default: oops()
|
|
11598
11598
|
} } }
|
|
11599
|
-
controller_Controller___preUpdate_inline__P87896.info = {"start":
|
|
11599
|
+
controller_Controller___preUpdate_inline__P87896.info = {"start":13186,"length":42,"line":394,"column":28,"endLine":394,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]}
|
|
11600
11600
|
|
|
11601
11601
|
function controller_Controller___preUpdate_inline__P87896_mk(s) {
|
|
11602
11602
|
checkStack(s.depth);
|
|
@@ -11790,7 +11790,7 @@ switch (step) {
|
|
|
11790
11790
|
return leave(s, r0)
|
|
11791
11791
|
default: oops()
|
|
11792
11792
|
} } }
|
|
11793
|
-
controller_Controller_button__P83346.info = {"start":
|
|
11793
|
+
controller_Controller_button__P83346.info = {"start":6699,"length":105,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]}
|
|
11794
11794
|
|
|
11795
11795
|
function controller_Controller_button__P83346_mk(s) {
|
|
11796
11796
|
checkStack(s.depth);
|
|
@@ -12155,7 +12155,7 @@ switch (step) {
|
|
|
12155
12155
|
return leave(s, r0)
|
|
12156
12156
|
default: oops()
|
|
12157
12157
|
} } }
|
|
12158
|
-
controller___update__P83359.info = {"start":
|
|
12158
|
+
controller___update__P83359.info = {"start":13772,"length":137,"line":415,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]}
|
|
12159
12159
|
|
|
12160
12160
|
function controller___update__P83359_mk(s) {
|
|
12161
12161
|
checkStack(s.depth);
|
|
@@ -12196,7 +12196,7 @@ switch (step) {
|
|
|
12196
12196
|
return leave(s, r0)
|
|
12197
12197
|
default: oops()
|
|
12198
12198
|
} } }
|
|
12199
|
-
controller___update_inline__P87982.info = {"start":
|
|
12199
|
+
controller___update_inline__P87982.info = {"start":13874,"length":27,"line":417,"column":26,"endLine":417,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]}
|
|
12200
12200
|
|
|
12201
12201
|
function controller___update_inline__P87982_mk(s) {
|
|
12202
12202
|
checkStack(s.depth);
|
|
@@ -12251,7 +12251,7 @@ switch (step) {
|
|
|
12251
12251
|
return leave(s, r0)
|
|
12252
12252
|
default: oops()
|
|
12253
12253
|
} } }
|
|
12254
|
-
controller_Controller___update__P83356.info = {"start":
|
|
12254
|
+
controller_Controller___update__P83356.info = {"start":13250,"length":124,"line":397,"column":8,"endLine":400,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]}
|
|
12255
12255
|
|
|
12256
12256
|
function controller_Controller___update__P83356_mk(s) {
|
|
12257
12257
|
checkStack(s.depth);
|
|
@@ -12294,7 +12294,7 @@ switch (step) {
|
|
|
12294
12294
|
return leave(s, r0)
|
|
12295
12295
|
default: oops()
|
|
12296
12296
|
} } }
|
|
12297
|
-
controller_Controller___update_inline__P87995.info = {"start":
|
|
12297
|
+
controller_Controller___update_inline__P87995.info = {"start":13337,"length":25,"line":399,"column":33,"endLine":399,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]}
|
|
12298
12298
|
|
|
12299
12299
|
function controller_Controller___update_inline__P87995_mk(s) {
|
|
12300
12300
|
checkStack(s.depth);
|
|
@@ -14865,7 +14865,7 @@ switch (step) {
|
|
|
14865
14865
|
return leave(s, r0)
|
|
14866
14866
|
default: oops()
|
|
14867
14867
|
} } }
|
|
14868
|
-
Sprite_destroy__P83563.info = {"start":
|
|
14868
|
+
Sprite_destroy__P83563.info = {"start":31188,"length":293,"line":981,"column":4,"endLine":990,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]}
|
|
14869
14869
|
|
|
14870
14870
|
function Sprite_destroy__P83563_mk(s) {
|
|
14871
14871
|
checkStack(s.depth);
|
|
@@ -14999,7 +14999,7 @@ switch (step) {
|
|
|
14999
14999
|
return leave(s, r0)
|
|
15000
15000
|
default: oops()
|
|
15001
15001
|
} } }
|
|
15002
|
-
Sprite__destroyCore__P83564.info = {"start":
|
|
15002
|
+
Sprite__destroyCore__P83564.info = {"start":31487,"length":522,"line":992,"column":4,"endLine":1004,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]}
|
|
15003
15003
|
|
|
15004
15004
|
function Sprite__destroyCore__P83564_mk(s) {
|
|
15005
15005
|
checkStack(s.depth);
|
|
@@ -15043,7 +15043,7 @@ switch (step) {
|
|
|
15043
15043
|
return leave(s, r0)
|
|
15044
15044
|
default: oops()
|
|
15045
15045
|
} } }
|
|
15046
|
-
forEach_inline__P88719.info = {"start":
|
|
15046
|
+
forEach_inline__P88719.info = {"start":31932,"length":26,"line":1002,"column":20,"endLine":1002,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
15047
15047
|
|
|
15048
15048
|
function forEach_inline__P88719_mk(s) {
|
|
15049
15049
|
checkStack(s.depth);
|
|
@@ -15090,7 +15090,7 @@ switch (step) {
|
|
|
15090
15090
|
return leave(s, r0)
|
|
15091
15091
|
default: oops()
|
|
15092
15092
|
} } }
|
|
15093
|
-
Sprite__destroyCore_inline__P88726.info = {"start":
|
|
15093
|
+
Sprite__destroyCore_inline__P88726.info = {"start":31981,"length":20,"line":1003,"column":21,"endLine":1003,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
15094
15094
|
|
|
15095
15095
|
function Sprite__destroyCore_inline__P88726_mk(s) {
|
|
15096
15096
|
checkStack(s.depth);
|
|
@@ -24829,7 +24829,7 @@ switch (step) {
|
|
|
24829
24829
|
return leave(s, r0)
|
|
24830
24830
|
default: oops()
|
|
24831
24831
|
} } }
|
|
24832
|
-
confetti_inline__P91378.info = {"start":
|
|
24832
|
+
confetti_inline__P91378.info = {"start":7563,"length":284,"line":192,"column":59,"endLine":196,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]}
|
|
24833
24833
|
|
|
24834
24834
|
function confetti_inline__P91378_mk(s) {
|
|
24835
24835
|
checkStack(s.depth);
|
|
@@ -27643,7 +27643,7 @@ switch (step) {
|
|
|
27643
27643
|
return leaveAccessor(s, r0)
|
|
27644
27644
|
default: oops()
|
|
27645
27645
|
} } }
|
|
27646
|
-
controller_Controller_connected__P83287.info = {"start":
|
|
27646
|
+
controller_Controller_connected__P83287.info = {"start":7756,"length":63,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]}
|
|
27647
27647
|
controller_Controller_connected__P83287.isGetter = true;
|
|
27648
27648
|
|
|
27649
27649
|
function controller_Controller_connected__P83287_mk(s) {
|
|
@@ -32336,7 +32336,7 @@ switch (step) {
|
|
|
32336
32336
|
return leave(s, r0)
|
|
32337
32337
|
default: oops()
|
|
32338
32338
|
} } }
|
|
32339
|
-
Sprite_registerObstacle__P83561.info = {"start":
|
|
32339
|
+
Sprite_registerObstacle__P83561.info = {"start":29687,"length":965,"line":939,"column":4,"endLine":959,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]}
|
|
32340
32340
|
|
|
32341
32341
|
function Sprite_registerObstacle__P83561_mk(s) {
|
|
32342
32342
|
checkStack(s.depth);
|
|
@@ -32386,7 +32386,7 @@ switch (step) {
|
|
|
32386
32386
|
return leave(s, r0)
|
|
32387
32387
|
default: oops()
|
|
32388
32388
|
} } }
|
|
32389
|
-
forEach_inline__P93613.info = {"start":
|
|
32389
|
+
forEach_inline__P93613.info = {"start":30085,"length":26,"line":946,"column":24,"endLine":946,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
32390
32390
|
|
|
32391
32391
|
function forEach_inline__P93613_mk(s) {
|
|
32392
32392
|
checkStack(s.depth);
|
|
@@ -32433,7 +32433,7 @@ switch (step) {
|
|
|
32433
32433
|
return leave(s, r0)
|
|
32434
32434
|
default: oops()
|
|
32435
32435
|
} } }
|
|
32436
|
-
Sprite_registerObstacle_inline__P93619.info = {"start":
|
|
32436
|
+
Sprite_registerObstacle_inline__P93619.info = {"start":30138,"length":20,"line":947,"column":25,"endLine":947,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
32437
32437
|
|
|
32438
32438
|
function Sprite_registerObstacle_inline__P93619_mk(s) {
|
|
32439
32439
|
checkStack(s.depth);
|
|
@@ -32469,7 +32469,7 @@ switch (step) {
|
|
|
32469
32469
|
return leave(s, r0)
|
|
32470
32470
|
default: oops()
|
|
32471
32471
|
} } }
|
|
32472
|
-
wallHandlersToRun_inline__P93632.info = {"start":
|
|
32472
|
+
wallHandlersToRun_inline__P93632.info = {"start":30344,"length":32,"line":952,"column":24,"endLine":952,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
32473
32473
|
|
|
32474
32474
|
function wallHandlersToRun_inline__P93632_mk(s) {
|
|
32475
32475
|
checkStack(s.depth);
|
|
@@ -32517,7 +32517,7 @@ switch (step) {
|
|
|
32517
32517
|
return leave(s, r0)
|
|
32518
32518
|
default: oops()
|
|
32519
32519
|
} } }
|
|
32520
|
-
Sprite_registerObstacle_inline__P93661.info = {"start":
|
|
32520
|
+
Sprite_registerObstacle_inline__P93661.info = {"start":30584,"length":36,"line":956,"column":29,"endLine":956,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]}
|
|
32521
32521
|
|
|
32522
32522
|
function Sprite_registerObstacle_inline__P93661_mk(s) {
|
|
32523
32523
|
checkStack(s.depth);
|
|
@@ -34576,7 +34576,7 @@ switch (step) {
|
|
|
34576
34576
|
return leave(s, r0)
|
|
34577
34577
|
default: oops()
|
|
34578
34578
|
} } }
|
|
34579
|
-
Sprite_overlapsWith__P83555.info = {"start":
|
|
34579
|
+
Sprite_overlapsWith__P83555.info = {"start":23939,"length":3172,"line":772,"column":4,"endLine":861,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]}
|
|
34580
34580
|
|
|
34581
34581
|
function Sprite_overlapsWith__P83555_mk(s) {
|
|
34582
34582
|
checkStack(s.depth);
|
|
@@ -36844,7 +36844,7 @@ switch (step) {
|
|
|
36844
36844
|
return leave(s, r0)
|
|
36845
36845
|
default: oops()
|
|
36846
36846
|
} } }
|
|
36847
|
-
Sprite_clearObstacles__P83560.info = {"start":
|
|
36847
|
+
Sprite_clearObstacles__P83560.info = {"start":29627,"length":54,"line":935,"column":4,"endLine":937,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]}
|
|
36848
36848
|
|
|
36849
36849
|
function Sprite_clearObstacles__P83560_mk(s) {
|
|
36850
36850
|
checkStack(s.depth);
|
|
@@ -37852,7 +37852,7 @@ switch (step) {
|
|
|
37852
37852
|
return leave(s, r0)
|
|
37853
37853
|
default: oops()
|
|
37854
37854
|
} } }
|
|
37855
|
-
Sprite_toString__P83569.info = {"start":
|
|
37855
|
+
Sprite_toString__P83569.info = {"start":38835,"length":93,"line":1189,"column":4,"endLine":1191,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]}
|
|
37856
37856
|
|
|
37857
37857
|
function Sprite_toString__P83569_mk(s) {
|
|
37858
37858
|
checkStack(s.depth);
|
|
@@ -39218,7 +39218,7 @@ switch (step) {
|
|
|
39218
39218
|
return leave(s, r0)
|
|
39219
39219
|
default: oops()
|
|
39220
39220
|
} } }
|
|
39221
|
-
controller_AnyButton_isPressed__P83382.info = {"start":
|
|
39221
|
+
controller_AnyButton_isPressed__P83382.info = {"start":15798,"length":202,"line":471,"column":8,"endLine":478,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]}
|
|
39222
39222
|
|
|
39223
39223
|
function controller_AnyButton_isPressed__P83382_mk(s) {
|
|
39224
39224
|
checkStack(s.depth);
|
|
@@ -40607,7 +40607,7 @@ switch (step) {
|
|
|
40607
40607
|
return leave(s, r0)
|
|
40608
40608
|
default: oops()
|
|
40609
40609
|
} } }
|
|
40610
|
-
Sprite_drawDebug__P83571.info = {"start":
|
|
40610
|
+
Sprite_drawDebug__P83571.info = {"start":39514,"length":1092,"line":1211,"column":4,"endLine":1239,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]}
|
|
40611
40611
|
|
|
40612
40612
|
function Sprite_drawDebug__P83571_mk(s) {
|
|
40613
40613
|
checkStack(s.depth);
|
|
@@ -40747,7 +40747,7 @@ switch (step) {
|
|
|
40747
40747
|
return leave(s, r0)
|
|
40748
40748
|
default: oops()
|
|
40749
40749
|
} } }
|
|
40750
|
-
Sprite_drawSprite__P83572.info = {"start":
|
|
40750
|
+
Sprite_drawSprite__P83572.info = {"start":40612,"length":805,"line":1241,"column":4,"endLine":1266,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]}
|
|
40751
40751
|
|
|
40752
40752
|
function Sprite_drawSprite__P83572_mk(s) {
|
|
40753
40753
|
checkStack(s.depth);
|
|
@@ -40914,7 +40914,7 @@ switch (step) {
|
|
|
40914
40914
|
return leave(s, r0)
|
|
40915
40915
|
default: oops()
|
|
40916
40916
|
} } }
|
|
40917
|
-
Sprite_drawSay__P83570.info = {"start":
|
|
40917
|
+
Sprite_drawSay__P83570.info = {"start":38934,"length":574,"line":1193,"column":4,"endLine":1209,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]}
|
|
40918
40918
|
|
|
40919
40919
|
function Sprite_drawSay__P83570_mk(s) {
|
|
40920
40920
|
checkStack(s.depth);
|
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
|