pxt-arcade 1.7.3 → 1.7.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.
Files changed (227) hide show
  1. package/built/common-sim.d.ts +2 -0
  2. package/built/common-sim.js +4 -0
  3. package/built/target.js +1788 -236
  4. package/built/target.json +1788 -236
  5. package/built/targetlight.json +5 -5
  6. package/built/theme.json +3 -2
  7. package/docs/gamejam/global-2021.html +459 -0
  8. package/docs/hour-of-code/all.md +27 -0
  9. package/docs/hour-of-code/{educators.html → educators-2020.html} +25 -25
  10. package/docs/hour-of-code/educators-2021.html +625 -0
  11. package/docs/{hour-of-code.html → hour-of-code-2020.html} +37 -37
  12. package/docs/hour-of-code-2021.html +438 -183
  13. package/docs/hour-of-code-ref.json +3 -0
  14. package/docs/index-ref.json +1 -1
  15. package/docs/multipart-tutorials.md +0 -8
  16. package/docs/projects/SUMMARY.md +3 -2
  17. package/docs/recipes.md +0 -7
  18. package/docs/skillmap/clicker/clicker1.md +7 -7
  19. package/docs/skillmap/clicker/clicker2.md +9 -9
  20. package/docs/skillmap/clicker/clicker3.md +8 -8
  21. package/docs/skillmap/clicker/clicker4.md +8 -8
  22. package/docs/skillmap/clicker/clicker4a.md +7 -7
  23. package/docs/skillmap/clicker/clicker5.md +3 -3
  24. package/docs/skillmap/clicker-themed/clickert1.md +66 -38
  25. package/docs/skillmap/clicker-themed/clickert2.md +77 -58
  26. package/docs/skillmap/clicker-themed/clickert3.md +75 -55
  27. package/docs/skillmap/clicker-themed/clickert4.md +105 -118
  28. package/docs/skillmap/collector/collector1.md +11 -11
  29. package/docs/skillmap/collector/collector1a.md +8 -8
  30. package/docs/skillmap/collector/collector2.md +8 -8
  31. package/docs/skillmap/collector/collector3.md +8 -8
  32. package/docs/skillmap/collector/collector3a.md +7 -7
  33. package/docs/skillmap/collector/collector4.md +8 -8
  34. package/docs/skillmap/collector/collector5.md +2 -2
  35. package/docs/skillmap/collector-themed/collectort1.md +107 -88
  36. package/docs/skillmap/collector-themed/collectort2.md +109 -87
  37. package/docs/skillmap/collector-themed/collectort3.md +138 -115
  38. package/docs/skillmap/collector-themed/collectort4.md +130 -118
  39. package/docs/skillmap/collector-themed/collectort4old.md +23 -23
  40. package/docs/skillmap/collector-themed/collectort5.md +2 -2
  41. package/docs/skillmap/educator-info/forest-map-info.md +34 -25
  42. package/docs/skillmap/educator-info/pongo-map-info.md +55 -0
  43. package/docs/skillmap/educator-info/racer-map-info.md +105 -0
  44. package/docs/skillmap/educator-info/rockstar-map-info.md +1 -1
  45. package/docs/skillmap/educator-info/simple-shark-map-info.md +101 -0
  46. package/docs/skillmap/forest/forest1.md +1 -69
  47. package/docs/skillmap/forest/forest2.md +5 -65
  48. package/docs/skillmap/forest/forest3.md +1 -174
  49. package/docs/skillmap/forest/forest4.md +2 -336
  50. package/docs/skillmap/forest/forest5.md +1 -396
  51. package/docs/skillmap/forest/forest6.md +6 -372
  52. package/docs/skillmap/forest-old.md +92 -0
  53. package/docs/skillmap/forest.md +9 -9
  54. package/docs/skillmap/forest_new/forest1.md +191 -0
  55. package/docs/skillmap/forest_new/forest2.md +217 -0
  56. package/docs/skillmap/forest_new/forest3.md +333 -0
  57. package/docs/skillmap/forest_new/forest4.md +196 -0
  58. package/docs/skillmap/forest_new/forest5.md +291 -0
  59. package/docs/skillmap/forest_new/forest6.md +272 -0
  60. package/docs/skillmap/interface/activity1.md +41 -49
  61. package/docs/skillmap/jungle/jungle1.md +48 -28
  62. package/docs/skillmap/jungle/jungle2.md +50 -26
  63. package/docs/skillmap/jungle/jungle3.md +48 -27
  64. package/docs/skillmap/jungle/jungle4.md +76 -58
  65. package/docs/skillmap/jungle/jungle5.md +31 -25
  66. package/docs/skillmap/jungle/jungle6.md +34 -28
  67. package/docs/skillmap/jungle/jungle7.md +36 -24
  68. package/docs/skillmap/jungle/jungle8.md +27 -25
  69. package/docs/skillmap/jungle.md +7 -3
  70. package/docs/skillmap/long-shark.md +119 -0
  71. package/docs/skillmap/pongo/pongo1.md +256 -0
  72. package/docs/skillmap/pongo/pongo2.md +179 -0
  73. package/docs/skillmap/pongo/pongo3.md +177 -0
  74. package/docs/skillmap/pongo.md +59 -0
  75. package/docs/skillmap/racer.md +7 -7
  76. package/docs/skillmap/rockstar/rockstar1.md +32 -41
  77. package/docs/skillmap/rockstar/rockstar2.md +45 -27
  78. package/docs/skillmap/rockstar/rockstar3.md +45 -27
  79. package/docs/skillmap/rockstar.md +3 -1
  80. package/docs/skillmap/shark/shark1-simple.md +151 -0
  81. package/docs/skillmap/shark/shark2-simple.md +203 -0
  82. package/docs/skillmap/shark/shark3-simple.md +204 -0
  83. package/docs/skillmap/shark/shark4-simple.md +246 -0
  84. package/docs/skillmap/shark/shark4a-simple.md +244 -0
  85. package/docs/skillmap/shark.md +25 -58
  86. package/docs/skillmap/space/space1.md +63 -29
  87. package/docs/skillmap/space/space2.md +34 -25
  88. package/docs/skillmap/space/space3.md +86 -69
  89. package/docs/skillmap/space/space4.md +96 -65
  90. package/docs/skillmap/space/space4a.md +34 -25
  91. package/docs/skillmap/space/space5.md +81 -45
  92. package/docs/skillmap/space/space6.md +59 -81
  93. package/docs/skillmap/space.md +8 -5
  94. package/docs/skillmap/story/card.md +6 -6
  95. package/docs/skillmap/story/card2.md +6 -6
  96. package/docs/skillmap/story/story1.md +60 -175
  97. package/docs/skillmap/story/story2.md +89 -327
  98. package/docs/skillmap/story/story3.md +238 -228
  99. package/docs/skillmap/story/story4.md +23 -23
  100. package/docs/skillmap/zoo/zoo1.md +31 -16
  101. package/docs/skillmap/zoo/zoo2.md +45 -30
  102. package/docs/skillmap/zoo/zoo2a.md +51 -36
  103. package/docs/skillmap/zoo/zoo3.md +8 -7
  104. package/docs/skillmap/zoo/zoo4.md +61 -32
  105. package/docs/skillmap/zoo/zoo5.md +41 -31
  106. package/docs/skillmap/zoo.md +2 -2
  107. package/docs/skillmaps.md +20 -4
  108. package/docs/static/experiments/accessibleblocks.png +0 -0
  109. package/docs/static/experiments/blockserrorlist.png +0 -0
  110. package/docs/static/gamejam/jams/global-2021/assets/banner.png +0 -0
  111. package/docs/static/gamejam/jams/global-2021/info.json +10 -0
  112. package/docs/static/gamejam/jams/global-2021/rules.md +22 -0
  113. package/docs/static/gamejam/jams/global-2021/style.css +141 -0
  114. package/docs/static/gamejam/lib/gamejam.d.ts +1 -0
  115. package/docs/static/gamejam/lib/gamejam.js +34 -24
  116. package/docs/static/gamejam/lib/gamejam.ts +35 -24
  117. package/docs/static/hero-gallery/stream.png +0 -0
  118. package/docs/static/hour-of-code/{apple.png → 2020/apple.png} +0 -0
  119. package/docs/static/hour-of-code/{arcade.png → 2020/arcade.png} +0 -0
  120. package/docs/static/hour-of-code/{asphodel.png → 2020/asphodel.png} +0 -0
  121. package/docs/static/hour-of-code/{card.png → 2020/card.png} +0 -0
  122. package/docs/static/hour-of-code/{chase-the-pizza.png → 2020/chase-the-pizza.png} +0 -0
  123. package/docs/static/hour-of-code/{clovers.png → 2020/clovers.png} +0 -0
  124. package/docs/static/hour-of-code/{design.png → 2020/design.png} +0 -0
  125. package/docs/static/hour-of-code/{educators → 2020/educators}/asphodel-level1.png +0 -0
  126. package/docs/static/hour-of-code/{educators → 2020/educators}/asphodel-level4.png +0 -0
  127. package/docs/static/hour-of-code/{educators → 2020/educators}/asphodel-level6.png +0 -0
  128. package/docs/static/hour-of-code/{educators → 2020/educators}/asphodel-level7.png +0 -0
  129. package/docs/static/hour-of-code/{educators → 2020/educators}/asphodel-level9.png +0 -0
  130. package/docs/static/hour-of-code/{educators → 2020/educators}/clover-design.gif +0 -0
  131. package/docs/static/hour-of-code/{educators → 2020/educators}/shark-attack-tutorial.png +0 -0
  132. package/docs/static/hour-of-code/{galga.png → 2020/galga.png} +0 -0
  133. package/docs/static/hour-of-code/{lemon-leak.png → 2020/lemon-leak.png} +0 -0
  134. package/docs/static/hour-of-code/{micro-bit.png → 2020/micro-bit.png} +0 -0
  135. package/docs/static/hour-of-code/{minecraft.png → 2020/minecraft.png} +0 -0
  136. package/docs/static/hour-of-code/{nfl.png → 2020/nfl.png} +0 -0
  137. package/docs/static/hour-of-code/{ocean-jam.png → 2020/ocean-jam.png} +0 -0
  138. package/docs/static/hour-of-code/{pixel-background-primary.png → 2020/pixel-background-primary.png} +0 -0
  139. package/docs/static/hour-of-code/{pixel-background-secondary.png → 2020/pixel-background-secondary.png} +0 -0
  140. package/docs/static/hour-of-code/{shadowed-aside-frame.png → 2020/shadowed-aside-frame.png} +0 -0
  141. package/docs/static/hour-of-code/{shadowed-button-frame.png → 2020/shadowed-button-frame.png} +0 -0
  142. package/docs/static/hour-of-code/{shadowed-primary-frame.png → 2020/shadowed-primary-frame.png} +0 -0
  143. package/docs/static/hour-of-code/{shark-attack.png → 2020/shark-attack.png} +0 -0
  144. package/docs/static/hour-of-code/{simulator.gif → 2020/simulator.gif} +0 -0
  145. package/docs/static/hour-of-code/{simulator.png → 2020/simulator.png} +0 -0
  146. package/docs/static/hour-of-code/{styles.css → 2020/styles.css} +1 -1
  147. package/docs/static/hour-of-code/2021/Rowdies/OFL.txt +93 -0
  148. package/docs/static/hour-of-code/2021/Rowdies/Rowdies-Bold.ttf +0 -0
  149. package/docs/static/hour-of-code/2021/Rowdies/Rowdies-Regular.ttf +0 -0
  150. package/docs/static/hour-of-code/2021/beginner-skillmap.png +0 -0
  151. package/docs/static/hour-of-code/2021/favicon.png +0 -0
  152. package/docs/static/hour-of-code/2021/forest-skillmap-game.gif +0 -0
  153. package/docs/static/hour-of-code/2021/game-jam-hero.png +0 -0
  154. package/docs/static/hour-of-code/2021/hoc-2020.png +0 -0
  155. package/docs/static/hour-of-code/2021/hoc-card.png +0 -0
  156. package/docs/static/hour-of-code/2021/hoc-header-educators.png +0 -0
  157. package/docs/static/hour-of-code/2021/hoc-header-plane.gif +0 -0
  158. package/docs/static/hour-of-code/2021/hoc-header-scene.gif +0 -0
  159. package/docs/static/hour-of-code/2021/jungle-skillmap.png +0 -0
  160. package/docs/static/hour-of-code/2021/makecode-example.png +0 -0
  161. package/docs/static/hour-of-code/2021/microbit.png +0 -0
  162. package/docs/static/hour-of-code/2021/minecraft.png +0 -0
  163. package/docs/static/hour-of-code/2021/rockstar-skillmap.png +0 -0
  164. package/docs/static/hour-of-code/2021/styles.css +660 -62
  165. package/docs/static/logo.png +0 -0
  166. package/docs/static/skillmap/assets/my-assets-three.png +0 -0
  167. package/docs/static/skillmap/assets/sprite-from-container.gif +0 -0
  168. package/docs/static/skillmap/backgrounds/jungle-bg.png +0 -0
  169. package/docs/static/skillmap/backgrounds/jungle-map.png +0 -0
  170. package/docs/static/skillmap/backgrounds/rock-map.png +0 -0
  171. package/docs/static/skillmap/backgrounds/rockstar-card.gif +0 -0
  172. package/docs/static/skillmap/backgrounds/space-comp.png +0 -0
  173. package/docs/static/skillmap/backgrounds/space.png +0 -0
  174. package/docs/static/skillmap/certificates/forest-cert.pdf +0 -0
  175. package/docs/static/skillmap/certificates/forest-cert.png +0 -0
  176. package/docs/static/skillmap/certificates/jungle-cert.pdf +0 -0
  177. package/docs/static/skillmap/certificates/jungle-cert.png +0 -0
  178. package/docs/static/skillmap/certificates/rockstar-cert.pdf +0 -0
  179. package/docs/static/skillmap/certificates/rockstar-cert.png +0 -0
  180. package/docs/static/skillmap/certificates/shark-cert.pdf +0 -0
  181. package/docs/static/skillmap/certificates/shark-cert.png +0 -0
  182. package/docs/static/skillmap/certificates/space-cert.pdf +0 -0
  183. package/docs/static/skillmap/certificates/space-cert.png +0 -0
  184. package/docs/static/skillmap/pongo/pongo1.gif +0 -0
  185. package/docs/static/skillmap/pongo/pongo2gif +0 -0
  186. package/docs/static/skillmap/pongo/pongo3.gif +0 -0
  187. package/docs/static/skillmap/racer/racer1.gif +0 -0
  188. package/docs/static/skillmap/racer/racer2.gif +0 -0
  189. package/docs/static/skillmap/racer/racer3.gif +0 -0
  190. package/docs/static/skillmap/rockstar/rockstar1.gif +0 -0
  191. package/docs/static/skillmap/rockstar/rockstar2.gif +0 -0
  192. package/docs/static/skillmap/rockstar/rockstar3.gif +0 -0
  193. package/docs/static/skillmap/shark/shark1-simple.gif +0 -0
  194. package/docs/static/skillmap/shark/shark4a-simple.gif +0 -0
  195. package/docs/static/skillmap/zoo/overlaps-food-sprite.gif +0 -0
  196. package/docs/tutorials/barrel-dodger.md +4 -4
  197. package/docs/tutorials/collect-the-clovers.md +2 -2
  198. package/docs/tutorials/froggy.md +105 -90
  199. package/docs/tutorials/hundred.md +400 -0
  200. package/package.json +3 -3
  201. package/pxtarget.json +3 -2
  202. package/targetconfig.json +4 -1
  203. package/docs/recipes/wonder-woman-1984/01-maze.md +0 -291
  204. package/docs/recipes/wonder-woman-1984/02-artifact.md +0 -70
  205. package/docs/recipes/wonder-woman-1984/03-enemies.md +0 -65
  206. package/docs/skillmap/forest/forest9.md +0 -714
  207. package/docs/static/hour-of-code/2021/placeholder.png +0 -0
  208. package/docs/static/hour-of-code/ww-maze.png +0 -0
  209. package/docs/static/recipes/wonder-woman-1984/artifact-preview.png +0 -0
  210. package/docs/static/recipes/wonder-woman-1984/artifacts-location.gif +0 -0
  211. package/docs/static/recipes/wonder-woman-1984/draw-maze-backup.png +0 -0
  212. package/docs/static/recipes/wonder-woman-1984/draw-walls-backup.png +0 -0
  213. package/docs/static/recipes/wonder-woman-1984/end-position.png +0 -0
  214. package/docs/static/recipes/wonder-woman-1984/enemies-location.gif +0 -0
  215. package/docs/static/recipes/wonder-woman-1984/enemies-preview.png +0 -0
  216. package/docs/static/recipes/wonder-woman-1984/fill-maze.gif +0 -0
  217. package/docs/static/recipes/wonder-woman-1984/fill-walls.gif +0 -0
  218. package/docs/static/recipes/wonder-woman-1984/wonder-woman3.png +0 -0
  219. package/docs/static/recipes/wonder-woman-1984/ww-splash3.gif +0 -0
  220. package/docs/static/recipes/wonder-woman-1984/ww-splash3.mp4 +0 -0
  221. package/docs/static/ww84-background.png +0 -0
  222. package/docs/static/ww84-header.png +0 -0
  223. package/docs/ww84.html +0 -276
  224. package/sim/public/locales/zh-CN/bundled-strings.json +0 -1800
  225. package/sim/public/locales/zh-CN/target-strings.json +0 -13
  226. package/sim/public/locales/zh-TW/bundled-strings.json +0 -1903
  227. package/sim/public/locales/zh-TW/target-strings.json +0 -8
@@ -1,313 +1,28 @@
1
1
  # Bigger Greeting
2
2
 
3
3
 
4
-
5
- ```template
6
- {
7
- scene.setBackgroundImage(img`
8
- ................................................................................................................................................................
9
- ................................................................................................................................................................
10
- ................................................................................................................................................................
11
- ................................................................................................................................................................
12
- ................................................................................................................................................................
13
- ................................................................................................................................................................
14
- ................................................................................................................................................................
15
- ................................................................................................................................................................
16
- ................................................................................................................................................................
17
- ................................................................................................................................................................
18
- ................................................................................................................................................................
19
- ................................................................................................................................................................
20
- ................................................................................................................................................................
21
- ................................................................................................................................................................
22
- ................................................................................................................................................................
23
- ................................................................................................................................................................
24
- ................................................................................................................................................................
25
- ................................................................................................................................................................
26
- ................................................................................................................................................................
27
- ................................................................................................................................................................
28
- ................................................................................................................................................................
29
- ................................................................................................................................................................
30
- ................................................................................................................................................................
31
- ................................................................................................................................................................
32
- ................................................................................................................................................................
33
- ................................................................................................................................................................
34
- ................................................................................................................................................................
35
- ................................................................................................................................................................
36
- ................................................................................................................................................................
37
- ................................................................................................................................................................
38
- ................................................................................................................................................................
39
- ................................................................................................................................................................
40
- ................................................................................................................................................................
41
- ................................................................................................................................................................
42
- ................................................................................................................................................................
43
- ................................................................................................................................................................
44
- ................................................................................................................................................................
45
- ................................................................................................................................................................
46
- ................................................................................................................................................................
47
- ................................................................................................................................................................
48
- ................................................................................................................................................................
49
- ................................................................................................................................................................
50
- ................................................................................................................................................................
51
- ................................................................................................................................................................
52
- ................................................................................................................................................................
53
- ................................................................................................................................................................
54
- ................................................................................................................................................................
55
- ................................................................................................................................................................
56
- ................................................................................................................................................................
57
- ................................................................................................................................................................
58
- ................................................................................................................................................................
59
- ................................................................................................................................................................
60
- ................................................................................................................................................................
61
- ................................................................................................................................................................
62
- ................................................................................................................................................................
63
- ................................................................................................................................................................
64
- ................................................................................................................................................................
65
- ................................................................................................................................................................
66
- ................................................................................................................................................................
67
- ................................................................................................................................................................
68
- ................................................................................................................................................................
69
- ................................................................................................................................................................
70
- ................................................................................................................................................................
71
- ................................................................................................................................................................
72
- ................................................................................................................................................................
73
- ................................................................................................................................................................
74
- ................................................................................................................................................................
75
- ................................................................................................................................................................
76
- ................................................................................................................................................................
77
- ................................................................................................................................................................
78
- ................................................................................................................................................................
79
- ................................................................................................................................................................
80
- ................................................................................................................................................................
81
- ................................................................................................................................................................
82
- ................................................................................................................................................................
83
- ................................................................................................................................................................
84
- ................................................................................................................................................................
85
- ................................................................................................................................................................
86
- ................................................................................................................................................................
87
- ................................................................................................................................................................
88
- ................................................................................................................................................................
89
- ................................................................................................................................................................
90
- ................................................................................................................................................................
91
- ................................................................................................................................................................
92
- ................................................................................................................................................................
93
- ................................................................................................................................................................
94
- ................................................................................................................................................................
95
- ................................................................................................................................................................
96
- ................................................................................................................................................................
97
- ................................................................................................................................................................
98
- ................................................................................................................................................................
99
- ................................................................................................................................................................
100
- ................................................................................................................................................................
101
- ................................................................................................................................................................
102
- ................................................................................................................................................................
103
- ................................................................................................................................................................
104
- ................................................................................................................................................................
105
- ................................................................................................................................................................
106
- ................................................................................................................................................................
107
- ................................................................................................................................................................
108
- ................................................................................................................................................................
109
- ................................................................................................................................................................
110
- ................................................................................................................................................................
111
- ................................................................................................................................................................
112
- ................................................................................................................................................................
113
- ................................................................................................................................................................
114
- ................................................................................................................................................................
115
- ................................................................................................................................................................
116
- ................................................................................................................................................................
117
- ................................................................................................................................................................
118
- ................................................................................................................................................................
119
- ................................................................................................................................................................
120
- ................................................................................................................................................................
121
- ................................................................................................................................................................
122
- ................................................................................................................................................................
123
- ................................................................................................................................................................
124
- ................................................................................................................................................................
125
- ................................................................................................................................................................
126
- ................................................................................................................................................................
127
- ................................................................................................................................................................
128
- `)
129
- effects.confetti.startScreenEffect()
130
- music.playMelody("- - - - - - - - ", 120)
131
-
132
-
133
- }
134
- ```
135
-
136
-
137
- ```ghost
138
- scene.setBackgroundColor(0)
139
- scene.setBackgroundImage(img`
140
- ................................................................................................................................................................
141
- ................................................................................................................................................................
142
- ................................................................................................................................................................
143
- ................................................................................................................................................................
144
- ................................................................................................................................................................
145
- ................................................................................................................................................................
146
- ................................................................................................................................................................
147
- ................................................................................................................................................................
148
- ................................................................................................................................................................
149
- ................................................................................................................................................................
150
- ................................................................................................................................................................
151
- ................................................................................................................................................................
152
- ................................................................................................................................................................
153
- ................................................................................................................................................................
154
- ................................................................................................................................................................
155
- ................................................................................................................................................................
156
- ................................................................................................................................................................
157
- ................................................................................................................................................................
158
- ................................................................................................................................................................
159
- ................................................................................................................................................................
160
- ................................................................................................................................................................
161
- ................................................................................................................................................................
162
- ................................................................................................................................................................
163
- ................................................................................................................................................................
164
- ................................................................................................................................................................
165
- ................................................................................................................................................................
166
- ................................................................................................................................................................
167
- ................................................................................................................................................................
168
- ................................................................................................................................................................
169
- ................................................................................................................................................................
170
- ................................................................................................................................................................
171
- ................................................................................................................................................................
172
- ................................................................................................................................................................
173
- ................................................................................................................................................................
174
- ................................................................................................................................................................
175
- ................................................................................................................................................................
176
- ................................................................................................................................................................
177
- ................................................................................................................................................................
178
- ................................................................................................................................................................
179
- ................................................................................................................................................................
180
- ................................................................................................................................................................
181
- ................................................................................................................................................................
182
- ................................................................................................................................................................
183
- ................................................................................................................................................................
184
- ................................................................................................................................................................
185
- ................................................................................................................................................................
186
- ................................................................................................................................................................
187
- ................................................................................................................................................................
188
- ................................................................................................................................................................
189
- ................................................................................................................................................................
190
- ................................................................................................................................................................
191
- ................................................................................................................................................................
192
- ................................................................................................................................................................
193
- ................................................................................................................................................................
194
- ................................................................................................................................................................
195
- ................................................................................................................................................................
196
- ................................................................................................................................................................
197
- ................................................................................................................................................................
198
- ................................................................................................................................................................
199
- ................................................................................................................................................................
200
- ................................................................................................................................................................
201
- ................................................................................................................................................................
202
- ................................................................................................................................................................
203
- ................................................................................................................................................................
204
- ................................................................................................................................................................
205
- ................................................................................................................................................................
206
- ................................................................................................................................................................
207
- ................................................................................................................................................................
208
- ................................................................................................................................................................
209
- ................................................................................................................................................................
210
- ................................................................................................................................................................
211
- ................................................................................................................................................................
212
- ................................................................................................................................................................
213
- ................................................................................................................................................................
214
- ................................................................................................................................................................
215
- ................................................................................................................................................................
216
- ................................................................................................................................................................
217
- ................................................................................................................................................................
218
- ................................................................................................................................................................
219
- ................................................................................................................................................................
220
- ................................................................................................................................................................
221
- ................................................................................................................................................................
222
- ................................................................................................................................................................
223
- ................................................................................................................................................................
224
- ................................................................................................................................................................
225
- ................................................................................................................................................................
226
- ................................................................................................................................................................
227
- ................................................................................................................................................................
228
- ................................................................................................................................................................
229
- ................................................................................................................................................................
230
- ................................................................................................................................................................
231
- ................................................................................................................................................................
232
- ................................................................................................................................................................
233
- ................................................................................................................................................................
234
- ................................................................................................................................................................
235
- ................................................................................................................................................................
236
- ................................................................................................................................................................
237
- ................................................................................................................................................................
238
- ................................................................................................................................................................
239
- ................................................................................................................................................................
240
- ................................................................................................................................................................
241
- ................................................................................................................................................................
242
- ................................................................................................................................................................
243
- ................................................................................................................................................................
244
- ................................................................................................................................................................
245
- ................................................................................................................................................................
246
- ................................................................................................................................................................
247
- ................................................................................................................................................................
248
- ................................................................................................................................................................
249
- ................................................................................................................................................................
250
- ................................................................................................................................................................
251
- ................................................................................................................................................................
252
- ................................................................................................................................................................
253
- ................................................................................................................................................................
254
- ................................................................................................................................................................
255
- ................................................................................................................................................................
256
- ................................................................................................................................................................
257
- ................................................................................................................................................................
258
- ................................................................................................................................................................
259
- ................................................................................................................................................................
260
- `)
261
- effects.confetti.startScreenEffect()
262
- music.setVolume(20)
263
- music.playMelody("- - - - - - - - ", 120)
264
- let mySprite = sprites.create(img`
265
- . . . . . . . . . . . . . . . .
266
- . . . . . . . . . . . . . . . .
267
- . . . . . . . . . . . . . . . .
268
- . . . . . . . . . . . . . . . .
269
- . . . . . . . . . . . . . . . .
270
- . . . . . . . . . . . . . . . .
271
- . . . . . . . . . . . . . . . .
272
- . . . . . . . . . . . . . . . .
273
- . . . . . . . . . . . . . . . .
274
- . . . . . . . . . . . . . . . .
275
- . . . . . . . . . . . . . . . .
276
- . . . . . . . . . . . . . . . .
277
- . . . . . . . . . . . . . . . .
278
- . . . . . . . . . . . . . . . .
279
- . . . . . . . . . . . . . . . .
280
- . . . . . . . . . . . . . . . .
281
- `, SpriteKind.Player)
282
- mySprite.setPosition(0, 0)
283
- forever(function () {
284
- for (let index = 0; index < 4; index++) {
285
-
286
- }
287
- })
288
-
289
- ```
290
-
291
-
292
- ## Introduction @showdialog
4
+ ## {Introduction @showdialog}
293
5
 
294
6
  You've created a greeting, now let's send it over the top!
295
7
 
296
8
  ![Send our love](/static/skillmap/story/story-activity-2.gif "Why do tropical fish like saltwater?" )
297
9
 
298
- ## Step 2
10
+ ## {Step 2}
299
11
 
300
- The code for a simple greeting card is already in the workspace.
301
- **⭐ Build a new card by editing the images ⭐**
12
+ The code for a simple greeting card is already in the workspace.
13
+ **Build a new card by editing the images**
14
+ ⭐⭐⭐
302
15
 
303
16
  ---
304
17
 
305
- Choose a background from the gallery by clicking on the grey box in
306
- ``||scene:set background image to [ ]||`` and toggling to the **"Gallery"** tab at
307
- the top of the window
308
- (or stay in the **Editor** and create your own).
18
+ - :paint brush: Choose a new background from the gallery by clicking on the grey box in
19
+ ``||scene:set background image to [ ]||``
20
+ and toggling to the **"Gallery"** tab at
21
+ the top of the window.
309
22
 
310
- When you're done, click **> Next** to move on to the next step.
23
+ _💡 Or stay in the **Editor** and create your own)._
24
+
25
+ - :mouse pointer: When you're done, click **Next** to move on to the next step.
311
26
 
312
27
 
313
28
  ```blocks
@@ -444,13 +159,14 @@ music.playMelody("G B A G C5 B A B", 120)
444
159
  ![The background gallery](/static/skillmap/story/story-bg-select.gif "Toggle between editor and gallery" )
445
160
 
446
161
 
447
- ## Step 3
448
-
449
- **🎹 Cue the music 🎹**
162
+ ## {Step 3}
163
+
164
+ **Cue the music**
165
+ 🎹🎹🎹
450
166
 
451
167
  ---
452
168
 
453
- If you feel like it, choose a new melody by clicking the note in
169
+ - :mouse pointer: If you feel like it, choose a new melody by clicking the note in
454
170
  the ``||music:play melody [ ] at tempo [120] (bpm)||`` block.
455
171
 
456
172
 
@@ -593,20 +309,22 @@ music.playMelody("G B A G C5 B A B ", 120)
593
309
 
594
310
 
595
311
 
596
- ## Step 4
312
+ ## {Step 4}
597
313
 
598
314
  You can make your card even more special by adding some text that
599
315
  cycles through when the **Ⓐ** button is pressed.
600
316
 
601
317
  ---
602
318
 
603
- From the ``||controller: Controller||`` category, drag an ``||controller:on [A] button [pressed]||``
319
+ - :game: From the ``||controller: Controller||`` category, drag an
320
+ ``||controller:on [A] button [pressed]||``
604
321
  container into the workspace.
605
322
 
606
- From the ``||game:Game||`` category, grab the ``||game: show long text [" "] [bottom]||``
323
+ - :circle: From the ``||game:Game||`` category, grab the
324
+ ``||game: show long text [" "] [bottom]||``
607
325
  block and snap it into the empty **on A button pressed** container.
608
326
 
609
- Add a personal message into the new **show long text** block.
327
+ - :mouse pointer: Add a personal message into the new **show long text** block.
610
328
 
611
329
  ``` blocks
612
330
 
@@ -617,27 +335,33 @@ controller.A.onEvent(ControllerButtonEvent.Pressed, function () {
617
335
 
618
336
  ```
619
337
 
620
- ## Step 5
338
+ ## {Step 5}
621
339
 
622
- 👀 Now take a look at your card on the game screen 👀
340
+ Now take a look at your card on the game screen
623
341
 
624
342
  **Don't forget to press the Ⓐ button to show your message.**
625
343
 
626
344
 
627
345
 
628
- ## Step 6
346
+ ## {Step 6}
347
+
348
+ **What a nice surprise**
629
349
 
630
- **💚 What a nice surprise 💚 **
631
350
  Add a second message below the first to really show you care.
632
351
 
633
352
  ---
634
353
 
635
- Right click ``||game: show long text [" "] [bottom]||`` and choose **Duplicate**.
354
+ - :mouse pointer: Right click
355
+ ``||game: show long text [" "] [bottom]||``
356
+ and choose **Duplicate**.
636
357
 
637
- Grab the copied block and snap it into the bottom of the ``||on [A] button [pressed]||``
358
+ - :mouse pointer: Grab the copied block and snap it into the bottom of the
359
+ ``||on [A] button [pressed]||``
638
360
  container.
639
361
 
640
- Add another personal message into the new ``||game: show long text [" "] [bottom]||`` block.
362
+ - :mouse pointer: Add another personal message into the new
363
+ ``||game: show long text [" "] [bottom]||``
364
+ block.
641
365
 
642
366
  ``` blocks
643
367
 
@@ -649,19 +373,23 @@ controller.A.onEvent(ControllerButtonEvent.Pressed, function () {
649
373
  ```
650
374
 
651
375
 
652
- ## Step 7
376
+ ## {Step 7}
653
377
 
654
- **🎨 Make it POP 🎨**
378
+ **🎨 Make it POP 🎨**
655
379
  Customize the dialog to bring it all together.
656
380
 
657
381
  ---
658
382
 
659
- From ``||game:Game||``, grab a ``||game:set dialog frame to [ ]||`` block and
660
- snap it into **the top** of the ``||on [A] button [pressed]||``
383
+ - :mouse pointer: From ``||game:Game||``, grab a
384
+ ``||game:set dialog frame to [ ]||``
385
+ block and
386
+ snap it into **the top** of the
387
+ ``||on [A] button [pressed]||``
661
388
  container in your workspace.
662
389
 
663
- Choose a dialog design by clicking on the grey box in the
664
- ``||game:set dialog frame to [ ]||`` box and toggling to the **Gallery**.
390
+ - :mouse pointer: Choose a dialog design by clicking on the grey box in the
391
+ ``||game:set dialog frame to [ ]||``
392
+ box and toggling to the **Gallery**.
665
393
 
666
394
 
667
395
  ``` blocks
@@ -708,24 +436,31 @@ controller.A.onEvent(ControllerButtonEvent.Pressed, function () {
708
436
  ```
709
437
 
710
438
 
711
- ## Step 8
439
+ ## {Step 8}
440
+
441
+ Take a look at your card on the game screen.
712
442
 
713
- 😍 Take a look at your card on the game screen 😍
443
+ 😍 😍 😍
714
444
 
715
445
  **Press the Ⓐ button to cycle through your messages.**
716
446
 
717
447
 
718
- ## Step 9
448
+ ## {Step 9}
449
+
450
+ **The final touch 🎀**
719
451
 
720
- **🎀 The final touch 🎀**
721
452
  Change the color of your text so it works with your new background.
722
453
 
723
454
  ---
724
455
 
725
- From ``||game:Game||``, grab a ``||game:set dialog text color to [ ]||`` block and
726
- snap it into the top of the ``||on [A] button [pressed]||`` block in your workspace.
456
+ - :circle: From ``||game:Game||``, grab a
457
+ ``||game:set dialog text color to [ ]||``
458
+ block and
459
+ snap it into the top of the
460
+ ``||on [A] button [pressed]||``
461
+ block in your workspace.
727
462
 
728
- Click the grey box and choose a color for your message that looks good and is
463
+ - :mouse pointer: Click the grey box and choose a color for your message that looks good and is
729
464
  easy to read. It's okay if you need to change it a few times before your text
730
465
  is just right.
731
466
 
@@ -775,7 +510,7 @@ controller.A.onEvent(ControllerButtonEvent.Pressed, function () {
775
510
  ```
776
511
 
777
512
 
778
- ## Congrats @showdialog
513
+ ## {Congrats @showdialog}
779
514
 
780
515
  🥳 That's it! 🥳
781
516
 
@@ -784,7 +519,7 @@ to see how it works!**
784
519
 
785
520
 
786
521
 
787
- ## Finale
522
+ ## {Finale}
788
523
 
789
524
  **🎊 Congrats 🎊**
790
525
 
@@ -795,3 +530,30 @@ with family and friends!
795
530
 
796
531
 
797
532
 
533
+
534
+ ```template
535
+ {
536
+ scene.setBackgroundImage(img`
537
+ .
538
+ `)
539
+ effects.confetti.startScreenEffect()
540
+ music.playMelody("- - - - - - - - ", 120)
541
+
542
+
543
+ }
544
+ ```
545
+
546
+
547
+ ```ghost
548
+ scene.setBackgroundColor(0)
549
+ scene.setBackgroundImage(img`
550
+ .
551
+ `, SpriteKind.Player)
552
+ mySprite.setPosition(0, 0)
553
+ forever(function () {
554
+ for (let index = 0; index < 4; index++) {
555
+
556
+ }
557
+ })
558
+
559
+ ```