pxt-arcade 1.12.13 → 1.12.16
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 +6 -0
- package/built/common-sim.js +15 -2
- package/built/sim.js +108 -26
- package/built/target-strings.json +2 -2
- package/built/target.js +274 -194
- package/built/target.json +274 -194
- package/built/targetlight.json +5 -5
- package/built/theme.json +5 -5
- package/docs/skillmap/educator-info/adventure-info.md +87 -0
- package/docs/static/hero-gallery/multiplayer-banner.png +0 -0
- package/docs/test/skillmap/adventure/adventure1.md +493 -0
- package/docs/test/skillmap/adventure/adventure2.md +279 -0
- package/docs/test/skillmap/adventure/adventure3.md +208 -0
- package/docs/test/skillmap/adventure/adventure4.md +1773 -0
- package/docs/test/skillmap/adventure.md +85 -0
- package/docs/test/skillmap/story/story1.md +15 -10
- package/docs/test/skillmap/story/story2.md +2 -1
- package/docs/test/tutorials/collect-clovers.md +1044 -0
- package/docs/test/tutorials/hawk.md +172 -75
- package/docs/test/tutorials/time-flies.md +346 -0
- package/package.json +4 -4
- package/pxtarget.json +5 -5
- package/targetconfig.json +57 -3
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Text-Adventure
|
|
2
|
+
* name: Your Big Adventure
|
|
3
|
+
* description: Code your own text-based adventure based on the movie Dungeons & Dragons: Honor Among Thieves
|
|
4
|
+
* infoUrl: skillmap/educator-info/adventure-info
|
|
5
|
+
* bannerUrl: /static/skillmap/adventure/adventure3.gif
|
|
6
|
+
* backgroundurl: /static/skillmap/backgrounds/adventure-comp.gif
|
|
7
|
+
* primarycolor: #ffffff
|
|
8
|
+
* secondarycolor: #fff53d
|
|
9
|
+
* tertiarycolor: #82cd54
|
|
10
|
+
* completednodecolor: #604c4e
|
|
11
|
+
* highlightcolor: #ff0000
|
|
12
|
+
* allowcodecarryover: true
|
|
13
|
+
* tags: creative, intermediate, conditionals
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## adventure
|
|
17
|
+
* layout: manual
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### adventure1
|
|
21
|
+
* allowcodecarryover: false
|
|
22
|
+
|
|
23
|
+
* name: Rolling Dice
|
|
24
|
+
* type: tutorial
|
|
25
|
+
* description: Use a roll of the die to figure out what adventures your player will have.
|
|
26
|
+
* tags: random, conditionals
|
|
27
|
+
* next: mole2
|
|
28
|
+
* url: /test/skillmap/adventure/adventure1
|
|
29
|
+
* imageUrl: /static/skillmap/adventure/adventure1.gif
|
|
30
|
+
* position: -1 1
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### adventure2
|
|
35
|
+
* name: Rolling Dice
|
|
36
|
+
* type: tutorial
|
|
37
|
+
* description: Use a roll of the die to figure out what adventures your player will have.
|
|
38
|
+
* tags: random, conditionals
|
|
39
|
+
* next: mole3
|
|
40
|
+
* url: /test/skillmap/adventure/adventure2
|
|
41
|
+
* imageUrl: /static/skillmap/adventure/adventure2.gif
|
|
42
|
+
* position: 0 1
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### adventure3
|
|
46
|
+
* name: Get Animated
|
|
47
|
+
* type: tutorial
|
|
48
|
+
* description: Finish your game by adding a thrilling carnival sound and real frame-by-frame animations!
|
|
49
|
+
* tags: easy, clicker, sprite, buttons
|
|
50
|
+
* next: mole4
|
|
51
|
+
* url: /test/skillmap/adventure/adventure3
|
|
52
|
+
* imageUrl: /static/skillmap/adventure/adventure3.gif
|
|
53
|
+
* position: 1 1
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### adventure4
|
|
58
|
+
* name: Play with Friends
|
|
59
|
+
* type: tutorial
|
|
60
|
+
* description: Want to play with friends? A few simple changes will have you playing chase in no time!
|
|
61
|
+
* tags: easy, clicker, multiplayer, buttons
|
|
62
|
+
* next: mole-cert
|
|
63
|
+
* url: /test/skillmap/adventure/adventure4
|
|
64
|
+
* imageUrl: /static/skillmap/adventure/adventure3.gif
|
|
65
|
+
* position: 1 0
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### adventure-cert
|
|
69
|
+
* name: Congrats!
|
|
70
|
+
* kind: completion
|
|
71
|
+
* type: certificate
|
|
72
|
+
* url: /static/skillmap/certificates/mole-cert.pdf
|
|
73
|
+
* imageUrl: /static/skillmap/certificates/mole-cert.png
|
|
74
|
+
* showMultiplayerShare: true
|
|
75
|
+
* position: 2 0
|
|
76
|
+
* actions:
|
|
77
|
+
* map: [Try Burstin' Balloons](/skillmap/balloon)
|
|
78
|
+
* editor: [Open in Creative Mode](/)
|
|
79
|
+
* rewards:
|
|
80
|
+
* certificate:
|
|
81
|
+
* url: /static/skillmap/certificates/mole-cert.pdf
|
|
82
|
+
* preview: /static/skillmap/certificates/mole-cert.png
|
|
83
|
+
* completion-badge:
|
|
84
|
+
* image: /static/badges/badge-mole.png
|
|
85
|
+
* name: Whack-the-Mole
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## {Intro @showdialog}
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Follow these quick steps and you'll have one in no time!
|
|
7
|
+
Follow these quick steps to make greeting cards for your friends and family!
|
|
10
8
|
|
|
11
9
|

|
|
12
10
|
|
|
@@ -52,7 +50,13 @@ scene.setBackgroundImage(img`.`)
|
|
|
52
50
|
## {Step 3}
|
|
53
51
|
|
|
54
52
|
|
|
55
|
-
- :paint brush: Click the empty grey square inside
|
|
53
|
+
- :paint brush: Click the empty grey square inside
|
|
54
|
+
|
|
55
|
+
```block
|
|
56
|
+
scene.setBackgroundImage(img`.`)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
to open the **image editor**. <br/><br/>
|
|
56
60
|
You can draw your own background or choose one from the **Gallery**.
|
|
57
61
|

|
|
58
62
|
|
|
@@ -80,7 +84,8 @@ scene.setBackgroundImage(storySprites.halloween)
|
|
|
80
84
|
|
|
81
85
|
**Look at your card.**
|
|
82
86
|
|
|
83
|
-
- :binoculars: Take a look at the game window.
|
|
87
|
+
- :binoculars: Take a look at the game window. <br/><br/>
|
|
88
|
+
Do you see the background you chose?
|
|
84
89
|
|
|
85
90
|
|
|
86
91
|
|
|
@@ -126,12 +131,12 @@ carnival.addLabelTo("You Are Awesome", carnival.Areas.Top)
|
|
|
126
131
|
|
|
127
132
|
## {Step 6}
|
|
128
133
|
|
|
129
|
-
**Time for
|
|
134
|
+
**Time for pizzazz**<br/>
|
|
130
135
|
🎉🎉🎉
|
|
131
136
|
|
|
132
137
|
---
|
|
133
138
|
|
|
134
|
-
- :tree:
|
|
139
|
+
- :tree: Open the ``||scene:Scene||`` category and drag
|
|
135
140
|
|
|
136
141
|
```block
|
|
137
142
|
effects.confetti.startScreenEffect()
|
|
@@ -166,7 +171,7 @@ effects.confetti.startScreenEffect()
|
|
|
166
171
|
**Look at your creation!**
|
|
167
172
|
|
|
168
173
|
- :binoculars: Take a look at the game window. Does the card look the way you want it to? <br/><br/>
|
|
169
|
-
Feel free to
|
|
174
|
+
Feel free to change it until you are happy with it.
|
|
170
175
|
|
|
171
176
|
|
|
172
177
|
|
|
@@ -179,7 +184,7 @@ Feel free to make edits until you are happy with it.
|
|
|
179
184
|
|
|
180
185
|
---
|
|
181
186
|
|
|
182
|
-
- :headphones: From the ``||music:Music||`` category,
|
|
187
|
+
- :headphones: From the ``||music:Music||`` category, drag
|
|
183
188
|
|
|
184
189
|
```block
|
|
185
190
|
music.startSong(``, false)
|
|
@@ -188,7 +193,7 @@ music.startSong(``, false)
|
|
|
188
193
|
into **the end** of the ``||loops(noclick):on start||`` container that's already in the workspace.
|
|
189
194
|
|
|
190
195
|
|
|
191
|
-
- :mouse pointer:
|
|
196
|
+
- :mouse pointer: **Click the empty rectangle** to open the music editor.<br/><br/>
|
|
192
197
|
You can write your own song or switch to **My Assets** to pick one
|
|
193
198
|
that we've written for you.
|
|
194
199
|
|
|
@@ -56,10 +56,11 @@ into **an empty area** of the workspace.
|
|
|
56
56
|
---
|
|
57
57
|
|
|
58
58
|

|
|
59
|
+
|
|
59
60
|
hint~
|
|
60
61
|
|
|
61
62
|
|
|
62
|
-
```
|
|
63
|
+
```blockconfig.local
|
|
63
64
|
controller.A.onEvent(ControllerButtonEvent.Pressed, function () {
|
|
64
65
|
game.showLongText("Happy Earth Day", DialogLayout.Bottom)
|
|
65
66
|
})
|