pxt-arcade 1.12.9 → 1.12.10
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/target.js +145 -145
- package/built/target.json +145 -145
- package/built/targetlight.json +5 -5
- package/docs/test/tutorials/hawk.md +819 -0
- package/docs/test/tutorials/holiday.md +14 -2
- package/package.json +2 -2
|
@@ -226,9 +226,13 @@ bundles.wrap1(function () {
|
|
|
226
226
|
})
|
|
227
227
|
//@highlight
|
|
228
228
|
bundles.wrap2(function () {
|
|
229
|
+
//@highlight
|
|
229
230
|
let player_2 = sprites.create(assets.image`p2`, SpriteKind.Player2)
|
|
231
|
+
//@highlight
|
|
230
232
|
mp.moveWithButtons(mp.PlayerNumber.Two, player_2, 0, 150)
|
|
233
|
+
//@highlight
|
|
231
234
|
player_2.setStayInScreen(true)
|
|
235
|
+
//@highlight
|
|
232
236
|
player_2.right = 145
|
|
233
237
|
})
|
|
234
238
|
```
|
|
@@ -258,7 +262,10 @@ block into **the end** of the<br/>
|
|
|
258
262
|
``||loops(noclick): on start||`` <br/>
|
|
259
263
|
container already in the workspace.
|
|
260
264
|
|
|
261
|
-
|
|
265
|
+
```validation.local
|
|
266
|
+
# BlocksExistValidator
|
|
267
|
+
* enabled: false
|
|
268
|
+
```
|
|
262
269
|
|
|
263
270
|
|
|
264
271
|
#### ~ tutorialhint
|
|
@@ -477,7 +484,10 @@ You have finished your very own Holiday Bow Battle!
|
|
|
477
484
|
|
|
478
485
|
When you're ready, sign-in and click **Done** to challenge a friend to a multiplayer battle online!
|
|
479
486
|
|
|
480
|
-
|
|
487
|
+
```validation.global
|
|
488
|
+
# BlocksExistValidator
|
|
489
|
+
* UseAnswerKeyHighlight: true
|
|
490
|
+
```
|
|
481
491
|
|
|
482
492
|
|
|
483
493
|
|
|
@@ -513,6 +523,8 @@ carnival.startCountdownGame(60, carnival.WinTypes.Multi)
|
|
|
513
523
|
|
|
514
524
|
|
|
515
525
|
|
|
526
|
+
|
|
527
|
+
|
|
516
528
|
```ghost
|
|
517
529
|
|
|
518
530
|
sprites.onOverlap(SpriteKind.Player1, SpriteKind.Bow, function (sprite, otherSprite) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pxt-arcade",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.10",
|
|
4
4
|
"description": "Small arcade editor for MakeCode",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"JavaScript",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"pxt-common-packages": "10.3.7",
|
|
37
|
-
"pxt-core": "8.5.
|
|
37
|
+
"pxt-core": "8.5.13"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
40
|
"pxt-arcade-sim": "microsoft/pxt-arcade-sim.git#v0.10.5"
|