pxt-arcade 1.12.2 → 1.12.4
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.d.ts +2 -2
- package/built/target.js +158 -146
- package/built/target.json +158 -146
- package/built/targetlight.json +5 -5
- package/built/theme.json +5 -0
- package/docs/SUMMARY.md +1 -0
- package/docs/hardware/adding.md +46 -52
- package/docs/hero-banner.md +8 -8
- package/docs/hour-of-code-2022-es.html +0 -1
- package/docs/hour-of-code-2022-pt.html +0 -1
- package/docs/hour-of-code-2022.html +12 -13
- package/docs/index-ref.json +1 -1
- package/docs/kiosk.html +1 -1
- package/docs/multiplayer.md +135 -0
- package/docs/projects/SUMMARY.md +3 -1
- package/docs/skillmap/balloon/balloon1.md +26 -312
- package/docs/skillmap/balloon/balloon2.md +18 -315
- package/docs/skillmap/balloon/balloon3.md +18 -317
- package/docs/skillmap/balloon/balloon4.md +105 -583
- package/docs/skillmap/balloon.md +14 -13
- package/docs/skillmap/mole/mole1.md +51 -326
- package/docs/skillmap/mole/mole2.md +43 -332
- package/docs/skillmap/mole/mole3.md +47 -316
- package/docs/{test/skillmap → skillmap}/mole/mole4.md +0 -0
- package/docs/skillmap/mole.md +14 -4
- package/docs/skillmap/turkey/turkey1.md +194 -127
- package/docs/skillmap/turkey/turkey2.md +144 -96
- package/docs/skillmap/turkey/turkey3.md +135 -84
- package/docs/skillmap/turkey.md +12 -10
- package/docs/skillmaps.md +24 -8
- package/docs/static/hero-gallery/holiday.png +0 -0
- package/docs/static/kiosk/asset-manifest.json +6 -6
- package/docs/static/kiosk/static/css/main.b60591be.css +2 -0
- package/docs/static/kiosk/static/css/main.b60591be.css.map +1 -0
- package/docs/static/kiosk/static/js/main.7c9f0b91.js +3 -0
- package/docs/static/kiosk/static/js/{main.01c7792a.js.LICENSE.txt → main.7c9f0b91.js.LICENSE.txt} +12 -32
- package/docs/static/kiosk/static/js/main.7c9f0b91.js.map +1 -0
- package/docs/static/multiplayer/help/emojis.png +0 -0
- package/docs/static/multiplayer/help/host-multiplayer.png +0 -0
- package/docs/static/multiplayer/help/hosted-game.png +0 -0
- package/docs/static/multiplayer/help/join-game.png +0 -0
- package/docs/static/multiplayer/help/joined-game.png +0 -0
- package/docs/static/multiplayer/help/share-button.png +0 -0
- package/docs/static/multiplayer/help/start-game.png +0 -0
- package/docs/static/skillmap/assets/dkc-logo-small.png +0 -0
- package/docs/static/tutorials/aliens/reload.png +0 -0
- package/docs/static/tutorials/arrows/2pbg.png +0 -0
- package/docs/static/tutorials/arrows/key.png +0 -0
- package/docs/static/tutorials/arrows/p1.png +0 -0
- package/docs/static/tutorials/arrows/p2.png +0 -0
- package/docs/static/tutorials/holiday/bgd.png +0 -0
- package/docs/static/tutorials/holiday/p1.png +0 -0
- package/docs/static/tutorials/holiday/p2.png +0 -0
- package/docs/static/tutorials/horse/finish.png +0 -0
- package/docs/static/tutorials/horse/frame.png +0 -0
- package/docs/static/tutorials/horse/p1.png +0 -0
- package/docs/static/tutorials/horse/p2.png +0 -0
- package/docs/test/courses/carnival.md +57 -0
- package/docs/test/courses/class-arcade.md +57 -0
- package/docs/test/skillmap/balloon.md +1 -1
- package/docs/test/skillmap/dino/{collectort1.md → dino1.md} +135 -79
- package/docs/test/skillmap/dino/{collectort2.md → dino2.md} +0 -0
- package/docs/test/skillmap/dino/{collectort3.md → dino3.md} +0 -0
- package/docs/test/skillmap/dino/{collectort4.md → dino4.md} +0 -0
- package/docs/test/skillmap/dino/{collectort5.md → dino5.md} +0 -0
- package/docs/test/skillmap/dino.md +82 -0
- package/docs/test/skillmap/mole.md +1 -1
- package/docs/test/skillmap/story/story1.md +8 -21
- package/docs/test/skillmap/story/story2.md +17 -28
- package/docs/test/skillmap/story/story3.md +51 -469
- package/docs/test/skillmap/story/story4.md +1 -2
- package/docs/test/skillmap/turkey.md +1 -0
- package/docs/test/tutorials/arrow.md +677 -0
- package/docs/test/tutorials/debug.md +180 -0
- package/docs/test/tutorials/holiday.md +609 -0
- package/docs/test/tutorials/horse.md +456 -0
- package/docs/test/tutorials/hundred.md +400 -0
- package/docs/test/tutorials/target.md +6 -2
- package/docs/test/tutorials/wakanda-forever.md +206 -147
- package/docs/tutorials/arrow.md +677 -0
- package/docs/tutorials/holiday.md +609 -0
- package/docs/tutorials/horse.md +456 -0
- package/docs/{test/tutorials/target/target_copy.md → tutorials/target.md} +11 -1085
- package/docs/tutorials/wakanda-forever.md +206 -147
- package/package.json +3 -3
- package/docs/skillmap/turkey/turkey0.md +0 -197
- package/docs/skillmap/turkey/turkey1a.md +0 -308
- package/docs/skillmap/turkey/turkey2a.md +0 -277
- package/docs/skillmap/turkey/turkey3a.md +0 -219
- package/docs/static/kiosk/static/css/main.927f4dad.css +0 -2
- package/docs/static/kiosk/static/css/main.927f4dad.css.map +0 -1
- package/docs/static/kiosk/static/js/main.01c7792a.js +0 -3
- package/docs/static/kiosk/static/js/main.01c7792a.js.map +0 -1
- package/docs/test/skillmap/balloon/balloon1.md +0 -247
- package/docs/test/skillmap/balloon/balloon2.md +0 -377
- package/docs/test/skillmap/balloon/balloon3.md +0 -389
- package/docs/test/skillmap/balloon/balloon4.md +0 -385
- package/docs/test/skillmap/mole/mole1.md +0 -382
- package/docs/test/skillmap/mole/mole2.md +0 -422
- package/docs/test/skillmap/mole/mole3.md +0 -384
- package/docs/test/skillmap/turkey/turkey1.md +0 -338
- package/docs/test/skillmap/turkey/turkey2.md +0 -318
- package/docs/test/skillmap/turkey/turkey3.md +0 -265
|
@@ -14,7 +14,7 @@ Follow these quick steps and you'll have one in no time!
|
|
|
14
14
|
|
|
15
15
|
## {Step 2}
|
|
16
16
|
|
|
17
|
-
**Let's make a card to share
|
|
17
|
+
**Let's make a card to share!**<br/>
|
|
18
18
|
🎨 🎨 🎨
|
|
19
19
|
|
|
20
20
|
---
|
|
@@ -87,7 +87,7 @@ scene.setBackgroundImage(storySprites.halloween)
|
|
|
87
87
|
|
|
88
88
|
## {Step 5}
|
|
89
89
|
|
|
90
|
-
**Add a heartfelt greeting
|
|
90
|
+
**Add a heartfelt greeting**<br/>
|
|
91
91
|
💛 💛 💛
|
|
92
92
|
|
|
93
93
|
---
|
|
@@ -126,7 +126,7 @@ carnival.addLabelTo("You Are Awesome", carnival.Areas.Top)
|
|
|
126
126
|
|
|
127
127
|
## {Step 6}
|
|
128
128
|
|
|
129
|
-
**Time for a celebration
|
|
129
|
+
**Time for a celebration**<br/>
|
|
130
130
|
🎉🎉🎉
|
|
131
131
|
|
|
132
132
|
---
|
|
@@ -174,7 +174,7 @@ Feel free to make edits until you are happy with it.
|
|
|
174
174
|
|
|
175
175
|
## {Step 8}
|
|
176
176
|
|
|
177
|
-
**Let's add a personal note
|
|
177
|
+
**Let's add a personal note**<br/>
|
|
178
178
|
🎵 🎵 🎵
|
|
179
179
|
|
|
180
180
|
---
|
|
@@ -203,6 +203,7 @@ hint~
|
|
|
203
203
|
|
|
204
204
|
```blocks
|
|
205
205
|
scene.setBackgroundImage(storySprites.halloween)
|
|
206
|
+
carnival.addLabelTo("You Are Awesome", carnival.Areas.Top)
|
|
206
207
|
effects.confetti.startScreenEffect()
|
|
207
208
|
music.startSong(assets.song`birthday`, false)
|
|
208
209
|
```
|
|
@@ -221,7 +222,7 @@ Feel free to go back and make changes until you are happy with it.
|
|
|
221
222
|
|
|
222
223
|
## {Finish}
|
|
223
224
|
|
|
224
|
-
**Congratulations, you've finished your greeting card
|
|
225
|
+
**Congratulations, you've finished your greeting card!**<br/>
|
|
225
226
|
🥳 🥳 🥳
|
|
226
227
|
|
|
227
228
|
Click **Done** to return to the main skillmap page where you can keep going to make an even more detailed card.
|
|
@@ -239,24 +240,10 @@ carnival=github:microsoft/arcade-tutorial-extensions/carnival/
|
|
|
239
240
|
|
|
240
241
|
|
|
241
242
|
```ghost
|
|
242
|
-
scene.
|
|
243
|
-
scene.setBackgroundImage(img`
|
|
244
|
-
.
|
|
245
|
-
`)
|
|
243
|
+
scene.setBackgroundImage(img`.`)
|
|
246
244
|
effects.confetti.startScreenEffect()
|
|
247
|
-
music.setVolume(20)
|
|
248
|
-
music.playMelody("- - - - - - - - ", 120)
|
|
249
|
-
let mySprite = sprites.create(img`
|
|
250
|
-
.
|
|
251
|
-
`, SpriteKind.Player)
|
|
252
|
-
mySprite.setPosition(0, 0)
|
|
253
|
-
forever(function () {
|
|
254
|
-
for (let index = 0; index < 4; index++) {
|
|
255
|
-
|
|
256
|
-
}
|
|
257
|
-
})
|
|
258
245
|
carnival.addLabelTo("You Are Awesome", carnival.Areas.Bottom)
|
|
259
|
-
|
|
246
|
+
music.startSong(assets.song`birthday`, false)
|
|
260
247
|
```
|
|
261
248
|
|
|
262
249
|
|
|
@@ -11,7 +11,7 @@ You've created a card, now let's make it extra special!
|
|
|
11
11
|
|
|
12
12
|
## {Step 2}
|
|
13
13
|
|
|
14
|
-
The code for a simple card is already in the workspace
|
|
14
|
+
The code for a simple card is already in the workspace.<br/>
|
|
15
15
|
⭐⭐⭐
|
|
16
16
|
|
|
17
17
|
---
|
|
@@ -58,6 +58,13 @@ into **an empty area** of the workspace.
|
|
|
58
58
|

|
|
59
59
|
hint~
|
|
60
60
|
|
|
61
|
+
|
|
62
|
+
``` blockconfig.local
|
|
63
|
+
controller.A.onEvent(ControllerButtonEvent.Pressed, function () {
|
|
64
|
+
game.showLongText("Happy Earth Day", DialogLayout.Bottom)
|
|
65
|
+
})
|
|
66
|
+
```
|
|
67
|
+
|
|
61
68
|
#### ~ tutorialhint
|
|
62
69
|
``` blocks
|
|
63
70
|
controller.A.onEvent(ControllerButtonEvent.Pressed, function () {
|
|
@@ -105,6 +112,10 @@ container.
|
|
|
105
112
|

|
|
106
113
|
hint~
|
|
107
114
|
|
|
115
|
+
```blockconfig.local
|
|
116
|
+
game.showLongText("To the greatest Earth I know", DialogLayout.Bottom)
|
|
117
|
+
```
|
|
118
|
+
|
|
108
119
|
#### ~ tutorialhint
|
|
109
120
|
``` blocks
|
|
110
121
|
|
|
@@ -126,7 +137,7 @@ Customize the text frame to bring it all together.
|
|
|
126
137
|
- :mouse pointer: From ``||game:Game||``, grab
|
|
127
138
|
|
|
128
139
|
```block
|
|
129
|
-
|
|
140
|
+
game.setDialogFrame(sprites.dialog.mediumLeaf1)
|
|
130
141
|
```
|
|
131
142
|
|
|
132
143
|
and snap it in at **the top** of the<br/>
|
|
@@ -179,7 +190,7 @@ Change the color of the text so it works with your background.
|
|
|
179
190
|
- :circle: From ``||game:Game||``, grab
|
|
180
191
|
|
|
181
192
|
```block
|
|
182
|
-
|
|
193
|
+
game.setDialogTextColor(1)
|
|
183
194
|
```
|
|
184
195
|
|
|
185
196
|
and snap it into the top of the<br/>
|
|
@@ -234,14 +245,9 @@ Click **Done** to return to the main skillmap to move on to the next level where
|
|
|
234
245
|
|
|
235
246
|
```blockconfig.global
|
|
236
247
|
carnival.addLabelTo("You Are Awesome", carnival.Areas.Top)
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
})
|
|
241
|
-
game.showLongText("To the greatest Earth I know", DialogLayout.Bottom)
|
|
242
|
-
game.setDialogFrame(sprites.dialog.mediumLeaf1)
|
|
243
|
-
game.setDialogTextColor(1)
|
|
244
|
-
|
|
248
|
+
game.showLongText("Happy Earth Day", DialogLayout.Bottom)
|
|
249
|
+
game.setDialogFrame(sprites.dialog.mediumLeaf1)
|
|
250
|
+
game.setDialogTextColor(1)
|
|
245
251
|
```
|
|
246
252
|
|
|
247
253
|
|
|
@@ -251,26 +257,9 @@ carnival=github:microsoft/arcade-tutorial-extensions/carnival/
|
|
|
251
257
|
|
|
252
258
|
|
|
253
259
|
```template
|
|
254
|
-
{
|
|
255
260
|
scene.setBackgroundImage(storySprites.world)
|
|
256
261
|
effects.confetti.startScreenEffect()
|
|
257
262
|
music.startSong(assets.song`birthday`, false)
|
|
258
|
-
}
|
|
259
|
-
```
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
```ghost
|
|
263
|
-
scene.setBackgroundColor(0)
|
|
264
|
-
scene.setBackgroundImage(img`
|
|
265
|
-
.
|
|
266
|
-
`, SpriteKind.Player)
|
|
267
|
-
mySprite.setPosition(0, 0)
|
|
268
|
-
forever(function () {
|
|
269
|
-
for (let index = 0; index < 4; index++) {
|
|
270
|
-
|
|
271
|
-
}
|
|
272
|
-
})
|
|
273
|
-
|
|
274
263
|
```
|
|
275
264
|
|
|
276
265
|
|