pxt-arcade 1.7.3 â 1.7.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/target.js +69 -68
- package/built/target.json +69 -68
- package/built/targetlight.json +4 -4
- package/built/theme.json +2 -1
- package/docs/hour-of-code/educators-2021.html +366 -0
- package/docs/hour-of-code-2021.html +239 -140
- package/docs/hour-of-code.html +11 -11
- package/docs/index-ref.json +1 -1
- package/docs/multipart-tutorials.md +0 -8
- package/docs/projects/SUMMARY.md +3 -2
- package/docs/recipes.md +0 -7
- package/docs/skillmap/clicker/clicker1.md +7 -7
- package/docs/skillmap/clicker/clicker2.md +9 -9
- package/docs/skillmap/clicker/clicker3.md +8 -8
- package/docs/skillmap/clicker/clicker4.md +8 -8
- package/docs/skillmap/clicker/clicker4a.md +7 -7
- package/docs/skillmap/clicker/clicker5.md +3 -3
- package/docs/skillmap/clicker-themed/clickert1.md +8 -8
- package/docs/skillmap/clicker-themed/clickert2.md +10 -10
- package/docs/skillmap/clicker-themed/clickert3.md +8 -8
- package/docs/skillmap/clicker-themed/clickert4.md +8 -8
- package/docs/skillmap/collector/collector1.md +11 -11
- package/docs/skillmap/collector/collector1a.md +8 -8
- package/docs/skillmap/collector/collector2.md +8 -8
- package/docs/skillmap/collector/collector3.md +8 -8
- package/docs/skillmap/collector/collector3a.md +7 -7
- package/docs/skillmap/collector/collector4.md +8 -8
- package/docs/skillmap/collector/collector5.md +2 -2
- package/docs/skillmap/collector-themed/collectort1.md +14 -14
- package/docs/skillmap/collector-themed/collectort2.md +9 -9
- package/docs/skillmap/collector-themed/collectort3.md +11 -11
- package/docs/skillmap/collector-themed/collectort4.md +11 -11
- package/docs/skillmap/collector-themed/collectort4old.md +8 -8
- package/docs/skillmap/collector-themed/collectort5.md +2 -2
- package/docs/skillmap/educator-info/forest-map-info.md +8 -8
- package/docs/skillmap/educator-info/racer-map-info.md +105 -0
- package/docs/skillmap/educator-info/simple-shark-map-info.md +101 -0
- package/docs/skillmap/forest/forest1.md +1 -69
- package/docs/skillmap/forest/forest2.md +3 -67
- package/docs/skillmap/forest/forest3.md +1 -174
- package/docs/skillmap/forest/forest4.md +2 -336
- package/docs/skillmap/forest/forest5.md +1 -396
- package/docs/skillmap/forest/forest6.md +6 -372
- package/docs/skillmap/forest.md +2 -2
- package/docs/skillmap/interface/activity1.md +14 -14
- package/docs/skillmap/jungle/jungle1.md +48 -28
- package/docs/skillmap/jungle/jungle2.md +50 -26
- package/docs/skillmap/jungle/jungle3.md +48 -27
- package/docs/skillmap/jungle/jungle4.md +76 -58
- package/docs/skillmap/jungle/jungle5.md +31 -25
- package/docs/skillmap/jungle/jungle6.md +34 -28
- package/docs/skillmap/jungle/jungle7.md +36 -24
- package/docs/skillmap/jungle/jungle8.md +27 -25
- package/docs/skillmap/jungle.md +7 -3
- package/docs/skillmap/long-shark.md +119 -0
- package/docs/skillmap/racer.md +7 -7
- package/docs/skillmap/rockstar/rockstar1.md +32 -13
- package/docs/skillmap/rockstar/rockstar2.md +43 -25
- package/docs/skillmap/rockstar/rockstar3.md +43 -25
- package/docs/skillmap/rockstar.md +3 -1
- package/docs/skillmap/shark/shark1-simple.md +151 -0
- package/docs/skillmap/shark/shark2-simple.md +203 -0
- package/docs/skillmap/shark/shark3-simple.md +204 -0
- package/docs/skillmap/shark/shark4-simple.md +246 -0
- package/docs/skillmap/shark/shark4a-simple.md +244 -0
- package/docs/skillmap/shark.md +25 -58
- package/docs/skillmap/space/space1.md +62 -28
- package/docs/skillmap/space/space2.md +33 -24
- package/docs/skillmap/space/space3.md +85 -68
- package/docs/skillmap/space/space4.md +95 -64
- package/docs/skillmap/space/space4a.md +32 -24
- package/docs/skillmap/space/space5.md +77 -41
- package/docs/skillmap/space/space6.md +56 -78
- package/docs/skillmap/space.md +8 -5
- package/docs/skillmap/story/card.md +6 -6
- package/docs/skillmap/story/card2.md +6 -6
- package/docs/skillmap/story/story1.md +7 -7
- package/docs/skillmap/story/story2.md +11 -11
- package/docs/skillmap/story/story3.md +10 -10
- package/docs/skillmap/story/story4.md +10 -10
- package/docs/skillmap/zoo/zoo1.md +31 -16
- package/docs/skillmap/zoo/zoo2.md +45 -30
- package/docs/skillmap/zoo/zoo2a.md +51 -36
- package/docs/skillmap/zoo/zoo3.md +8 -7
- package/docs/skillmap/zoo/zoo4.md +61 -32
- package/docs/skillmap/zoo/zoo5.md +41 -31
- package/docs/skillmap/zoo.md +2 -2
- package/docs/skillmaps.md +20 -4
- package/docs/static/experiments/accessibleblocks.png +0 -0
- package/docs/static/experiments/blockserrorlist.png +0 -0
- package/docs/static/hour-of-code/2021/beginner-skillmap.png +0 -0
- package/docs/static/hour-of-code/2021/favicon.png +0 -0
- package/docs/static/hour-of-code/2021/forest-skillmap-game.gif +0 -0
- package/docs/static/hour-of-code/2021/global-game-jam.png +0 -0
- package/docs/static/hour-of-code/2021/header.gif +0 -0
- package/docs/static/hour-of-code/2021/hoc-2020.png +0 -0
- package/docs/static/hour-of-code/2021/hoc-card.png +0 -0
- package/docs/static/hour-of-code/2021/microbit.png +0 -0
- package/docs/static/hour-of-code/2021/styles.css +269 -21
- package/docs/static/skillmap/assets/my-assets-three.png +0 -0
- package/docs/static/skillmap/backgrounds/jungle-bg.png +0 -0
- package/docs/static/skillmap/backgrounds/jungle-map.png +0 -0
- package/docs/static/skillmap/backgrounds/rock-map.png +0 -0
- package/docs/static/skillmap/backgrounds/rockstar-card.gif +0 -0
- package/docs/static/skillmap/backgrounds/space-comp.png +0 -0
- package/docs/static/skillmap/backgrounds/space.png +0 -0
- package/docs/static/skillmap/certificates/forest-cert.pdf +0 -0
- package/docs/static/skillmap/certificates/forest-cert.png +0 -0
- package/docs/static/skillmap/certificates/jungle-cert.pdf +0 -0
- package/docs/static/skillmap/certificates/jungle-cert.png +0 -0
- package/docs/static/skillmap/certificates/rockstar-cert.pdf +0 -0
- package/docs/static/skillmap/certificates/rockstar-cert.png +0 -0
- package/docs/static/skillmap/certificates/shark-cert.pdf +0 -0
- package/docs/static/skillmap/certificates/shark-cert.png +0 -0
- package/docs/static/skillmap/certificates/space-cert.pdf +0 -0
- package/docs/static/skillmap/certificates/space-cert.png +0 -0
- package/docs/static/skillmap/racer/racer1.gif +0 -0
- package/docs/static/skillmap/racer/racer2.gif +0 -0
- package/docs/static/skillmap/racer/racer3.gif +0 -0
- package/docs/static/skillmap/rockstar/rockstar1.gif +0 -0
- package/docs/static/skillmap/rockstar/rockstar2.gif +0 -0
- package/docs/static/skillmap/rockstar/rockstar3.gif +0 -0
- package/docs/static/skillmap/shark/shark1-simple.gif +0 -0
- package/docs/static/skillmap/shark/shark4a-simple.gif +0 -0
- package/docs/static/skillmap/zoo/overlaps-food-sprite.gif +0 -0
- package/docs/tutorials/hundred.md +400 -0
- package/package.json +1 -1
- package/pxtarget.json +2 -1
- package/targetconfig.json +4 -1
- package/docs/recipes/wonder-woman-1984/01-maze.md +0 -291
- package/docs/recipes/wonder-woman-1984/02-artifact.md +0 -70
- package/docs/recipes/wonder-woman-1984/03-enemies.md +0 -65
- package/docs/skillmap/forest/forest9.md +0 -714
- package/docs/static/hour-of-code/ww-maze.png +0 -0
- package/docs/static/recipes/wonder-woman-1984/artifact-preview.png +0 -0
- package/docs/static/recipes/wonder-woman-1984/artifacts-location.gif +0 -0
- package/docs/static/recipes/wonder-woman-1984/draw-maze-backup.png +0 -0
- package/docs/static/recipes/wonder-woman-1984/draw-walls-backup.png +0 -0
- package/docs/static/recipes/wonder-woman-1984/end-position.png +0 -0
- package/docs/static/recipes/wonder-woman-1984/enemies-location.gif +0 -0
- package/docs/static/recipes/wonder-woman-1984/enemies-preview.png +0 -0
- package/docs/static/recipes/wonder-woman-1984/fill-maze.gif +0 -0
- package/docs/static/recipes/wonder-woman-1984/fill-walls.gif +0 -0
- package/docs/static/recipes/wonder-woman-1984/wonder-woman3.png +0 -0
- package/docs/static/recipes/wonder-woman-1984/ww-splash3.gif +0 -0
- package/docs/static/recipes/wonder-woman-1984/ww-splash3.mp4 +0 -0
- package/docs/static/ww84-background.png +0 -0
- package/docs/static/ww84-header.png +0 -0
- package/docs/ww84.html +0 -276
|
@@ -11,24 +11,26 @@ This activity will show you how to add extra levels to your game.
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## 2. Try It!
|
|
15
15
|
|
|
16
|
-
**đšī¸ Start by playing your game in the game window
|
|
16
|
+
**đšī¸ Start by playing your game in the game window**
|
|
17
17
|
|
|
18
18
|
---
|
|
19
19
|
|
|
20
20
|
Can you remember which chunk of code creates each action?
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
##
|
|
23
|
+
## 3. Not So Fast
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
**Find a second chest to win the game**
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
- :binoculars: Look for your
|
|
30
|
+
``||game:game over <WIN>||``
|
|
31
|
+
block inside of the **Player overlaps chest1** container.
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
- :mouse pointer: Click the image of **chest1** and change it to **chest2**.
|
|
32
34
|
|
|
33
35
|
```blocks
|
|
34
36
|
scene.onOverlapTile(SpriteKind.Player, assets.tile`chest2`, function (sprite, location) {
|
|
@@ -36,16 +38,18 @@ scene.onOverlapTile(SpriteKind.Player, assets.tile`chest2`, function (sprite, lo
|
|
|
36
38
|
})
|
|
37
39
|
```
|
|
38
40
|
|
|
39
|
-
##
|
|
41
|
+
## 4. A New Level
|
|
40
42
|
|
|
41
|
-
**đ Add a New Level đ**
|
|
43
|
+
**đ Add a New Level đ**
|
|
42
44
|
When we get to the first chest, we want to take the player to a new level.
|
|
43
45
|
|
|
44
46
|
---
|
|
45
47
|
|
|
46
|
-
|
|
48
|
+
- :tree: Drag
|
|
49
|
+
``||scene:on [sprite] of kind [Player] overlaps [ ] at [location]||``
|
|
50
|
+
into an empty area of the workspace.
|
|
47
51
|
|
|
48
|
-
|
|
52
|
+
- :paint brush: Click the empty square and choose **chest1**.
|
|
49
53
|
|
|
50
54
|
|
|
51
55
|
|
|
@@ -57,12 +61,14 @@ scene.onOverlapTile(SpriteKind.Player, assets.tile`chest1`, function (sprite, lo
|
|
|
57
61
|
|
|
58
62
|
|
|
59
63
|
|
|
60
|
-
##
|
|
64
|
+
## 5. Change of Scenery
|
|
61
65
|
|
|
62
66
|
|
|
63
|
-
|
|
67
|
+
- :tree: To show the player that the level has changed, drag
|
|
68
|
+
``||scene:set background image to [ ]||``
|
|
69
|
+
into the empty **Player overlaps chest1** container.
|
|
64
70
|
|
|
65
|
-
|
|
71
|
+
- :paint brush: Click the grey square and toggle to **My Assets** to choose **background2**.
|
|
66
72
|
|
|
67
73
|
|
|
68
74
|
```blocks
|
|
@@ -72,12 +78,14 @@ scene.onOverlapTile(SpriteKind.Player, assets.tile`chest1`, function (sprite, lo
|
|
|
72
78
|
```
|
|
73
79
|
|
|
74
80
|
|
|
75
|
-
##
|
|
81
|
+
## 6. Change of Location
|
|
76
82
|
|
|
77
83
|
|
|
78
|
-
|
|
84
|
+
- :tree: To change the level tilemap, drag
|
|
85
|
+
``||scene:set tilemap to [ ]||``
|
|
86
|
+
to **the end** of the **Player overlaps chest1** container.
|
|
79
87
|
|
|
80
|
-
|
|
88
|
+
- :paint brush: Click the grey square and toggle to **My Assets** to choose **level2**.
|
|
81
89
|
|
|
82
90
|
|
|
83
91
|
```blocks
|
|
@@ -89,17 +97,21 @@ scene.onOverlapTile(SpriteKind.Player, assets.tile`chest1`, function (sprite, lo
|
|
|
89
97
|
```
|
|
90
98
|
|
|
91
99
|
|
|
92
|
-
##
|
|
100
|
+
## 7. Back to the Beginning
|
|
93
101
|
|
|
94
|
-
**âĒ Here we go again
|
|
102
|
+
**âĒ Here we go again!**
|
|
95
103
|
|
|
96
104
|
---
|
|
97
105
|
|
|
98
|
-
|
|
106
|
+
- :sync: To carry your character back to the beginning of the level, drag the
|
|
107
|
+
``||animation:animate [mySprite] with [fly to center]||``
|
|
108
|
+
block into **the end** of the **Player overlaps chest1** container.
|
|
99
109
|
|
|
100
|
-
|
|
110
|
+
- :paper plane: Drag
|
|
111
|
+
``||sprites:[mySprite] say [":)"]||``
|
|
112
|
+
into **the end** of the **Player overlaps chest1** container.
|
|
101
113
|
|
|
102
|
-
|
|
114
|
+
- :mouse pointer: Change the text to say **Level 2!** and click the white plus **(+)** to the right of the block so that the text disappears after 500 ms.
|
|
103
115
|
|
|
104
116
|
```blocks
|
|
105
117
|
let mySprite: Sprite = null
|
|
@@ -117,7 +129,7 @@ scene.onOverlapTile(SpriteKind.Player, assets.tile`chest1`, function (sprite, lo
|
|
|
117
129
|
```
|
|
118
130
|
|
|
119
131
|
|
|
120
|
-
## Try It!
|
|
132
|
+
## 8. Try It!
|
|
121
133
|
|
|
122
134
|
**đšī¸ Give it a try đšī¸**
|
|
123
135
|
|
|
@@ -128,12 +140,12 @@ Make your way to the treasure chest. You should be transported to a new level!
|
|
|
128
140
|
|
|
129
141
|
## Finished
|
|
130
142
|
|
|
131
|
-
**đĨŗ Congratulations đĨŗ**
|
|
143
|
+
**đĨŗ Congratulations đĨŗ**
|
|
132
144
|
You did it!! Can you play your game all the way to the end?
|
|
133
145
|
|
|
134
146
|
---
|
|
135
147
|
|
|
136
|
-
When you're done playing your game, click **Done** to return to the main
|
|
148
|
+
When you're done playing your game, click **Done** to return to the main skillmap for your certificate and the option to customize your final game!
|
|
137
149
|
|
|
138
150
|
|
|
139
151
|
|
|
@@ -12,39 +12,41 @@ In this activity, you'll edit images and tilemaps to create a custom game!
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## 2. Try It!
|
|
16
16
|
|
|
17
|
-
**đšī¸ Start by playing your game in the game window
|
|
17
|
+
**đšī¸ Start by playing your game in the game window**
|
|
18
18
|
|
|
19
19
|
---
|
|
20
20
|
|
|
21
21
|
How do you feel about the main character? The background?
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
##
|
|
24
|
+
## 3. A New Location
|
|
25
|
+
|
|
26
|
+
**Let's change the scene**
|
|
27
|
+
đŧī¸ đŧī¸ đŧī¸
|
|
25
28
|
|
|
26
|
-
**đŧī¸ Let's change the scene đŧī¸**
|
|
27
29
|
|
|
28
30
|
---
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
- :paint brush: Click **background** in the **My Assets** window, then click **Edit** under the **Asset Preview**.
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
- :paint brush: You can either customize the current background in the **Image Editor** or toggle to the **Gallery** to choose something new.
|
|
33
35
|
|
|
34
36
|
|
|
35
37
|
|
|
36
|
-
##
|
|
38
|
+
## 4. Edit Your Monkeys
|
|
37
39
|
|
|
38
40
|
**đ Change the Monkey đ**
|
|
39
41
|
|
|
40
42
|
---
|
|
41
43
|
|
|
42
|
-
|
|
44
|
+
- :paint brush: Go through **My Assets** and edit each of the monkeys. You can choose new characters and animations from the **Gallery** or draw your own!
|
|
43
45
|
|
|
44
46
|
|
|
45
|
-
##
|
|
47
|
+
## 5. Try It!
|
|
46
48
|
|
|
47
|
-
**đšī¸ Play your game after each step
|
|
49
|
+
**đšī¸ Play your game after each step**
|
|
48
50
|
|
|
49
51
|
---
|
|
50
52
|
|
|
@@ -52,48 +54,48 @@ When you play your game, it's easier to see what changes need to be made to your
|
|
|
52
54
|
|
|
53
55
|
|
|
54
56
|
|
|
55
|
-
##
|
|
57
|
+
## 6. A New Level
|
|
56
58
|
|
|
57
|
-
**đ§ Let's dig in to the level editor
|
|
59
|
+
**đ§ Let's dig in to the level editor**
|
|
58
60
|
|
|
59
61
|
---
|
|
60
62
|
|
|
61
|
-
|
|
63
|
+
- :paint brush: Scroll down to find **level1**, then click **Edit**.
|
|
62
64
|
|
|
63
|
-
đĄ You should see the full tilemap for level 1. You can zoom in or out using the magnifying glasses at the bottom.
|
|
65
|
+
_đĄ You should see the full tilemap for level 1. You can zoom in or out using the magnifying glasses at the bottom._
|
|
64
66
|
|
|
65
67
|
|
|
66
68
|
|
|
67
69
|
|
|
68
|
-
##
|
|
70
|
+
## 7. Start Small
|
|
69
71
|
|
|
70
72
|
Let's make the character's starting platform longer.
|
|
71
73
|
|
|
72
74
|
---
|
|
73
75
|
|
|
74
|
-
|
|
76
|
+
- :binoculars: Look for the single hovering tile at the lower left of the screen. To make it longer, click the **skyblock** square beneath **My Tiles** and make sure the pencil icon is selected above.
|
|
75
77
|
|
|
76
|
-
|
|
78
|
+
- :paint brush: Click on either side of the floating platform to add extra skyblocks.
|
|
77
79
|
|
|
78
80
|
|
|
79
81
|

|
|
80
82
|
|
|
81
83
|
|
|
82
|
-
##
|
|
84
|
+
## 8. Build a Wall
|
|
83
85
|
|
|
84
86
|
Add walls on top of your new tiles so that your character doesn't fall through.
|
|
85
87
|
|
|
86
88
|
---
|
|
87
89
|
|
|
88
|
-
|
|
90
|
+
- :paint brush: Click the large **wall** icon (it has a corner missing at the top) and make sure the pencil is still selected.
|
|
89
91
|
|
|
90
|
-
|
|
92
|
+
- :paint brush: Click on each new skyblock to add a wall to the tile (it should shade overtop with a light red color.) Then click **Done**.
|
|
91
93
|
|
|
92
94
|

|
|
93
95
|
|
|
94
96
|
|
|
95
97
|
|
|
96
|
-
##
|
|
98
|
+
## 9. Try It!
|
|
97
99
|
|
|
98
100
|
**đšī¸ Give it a try đšī¸**
|
|
99
101
|
|
|
@@ -103,17 +105,17 @@ Is your game platform longer? Does it hold your main character?
|
|
|
103
105
|
|
|
104
106
|
|
|
105
107
|
|
|
106
|
-
##
|
|
108
|
+
## 10. Go Crazy!
|
|
107
109
|
|
|
108
110
|
Now that you know how to add tiles and walls, you can change the levels whichever way you like.
|
|
109
111
|
|
|
110
|
-
đĄ Remember that your code is built to work with certain tile names only. If you add new tiles or change the names, you'll need to go back to the code to add your changes!
|
|
112
|
+
_đĄ Remember that your code is built to work with certain tile names only. If you add new tiles or change the names, you'll need to go back to the code to add your changes!_
|
|
111
113
|
|
|
112
114
|
|
|
113
115
|
|
|
114
|
-
##
|
|
116
|
+
## Finale
|
|
115
117
|
|
|
116
|
-
When you're done playing your new game, click **Done** to return to the main page to share your final game!
|
|
118
|
+
When you're done playing your new game, click **Done** to return to the main page to share your final game, then open it with a full toolbox to edit even more!
|
|
117
119
|
|
|
118
120
|
|
|
119
121
|
|
package/docs/skillmap/jungle.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
### jungle1
|
|
20
20
|
* allowcodecarryover: false
|
|
21
|
-
* name:
|
|
21
|
+
* name: Moving Monkey
|
|
22
22
|
* type: tutorial
|
|
23
23
|
* description: Make your monkey jump and move around!
|
|
24
24
|
* url: /skillmap/jungle/jungle1
|
|
@@ -104,9 +104,13 @@
|
|
|
104
104
|
* name: Congrats!
|
|
105
105
|
* kind: completion
|
|
106
106
|
* type: certificate
|
|
107
|
-
* imageUrl: /static/skillmap/certificates/
|
|
108
|
-
* url: /static/skillmap/certificates/
|
|
107
|
+
* imageUrl: /static/skillmap/certificates/jungle-cert.png
|
|
108
|
+
* url: /static/skillmap/certificates/jungle-cert.pdf
|
|
109
109
|
* position: 4 1
|
|
110
|
+
* actions:
|
|
111
|
+
* map: [Try 80s Rockstar Maze](/skillmap/rockstar)
|
|
112
|
+
* map: [Try our Space Explorer](/skillmap/space)
|
|
113
|
+
* editor: [Edit Your Project with a Full Toolbox](/)
|
|
110
114
|
|
|
111
115
|
|
|
112
116
|
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# Shark Splash
|
|
2
|
+
* name: Shark Splash
|
|
3
|
+
* description: The deep sea is a fascinating place! This skillmap will guide you through the ocean as a shark on a journey to find food and avoid enemy submarines.
|
|
4
|
+
* infoUrl: skillmap/educator-info/shark-map-info
|
|
5
|
+
* backgroundurl: /static/skillmap/backgrounds/shark-attack-bg.png
|
|
6
|
+
* bannerurl: /static/skillmap/shark/shark4a.gif
|
|
7
|
+
* primarycolor: #ff93c4
|
|
8
|
+
* secondarycolor: #87f2ff
|
|
9
|
+
* tertiarycolor: #5c406c
|
|
10
|
+
* strokecolor: #5c406c
|
|
11
|
+
* highlightcolor: #fff609
|
|
12
|
+
* completednodecolor: #473c4d
|
|
13
|
+
|
|
14
|
+
## shark
|
|
15
|
+
* name: Shark Splash
|
|
16
|
+
* layout: manual
|
|
17
|
+
|
|
18
|
+
### shark1
|
|
19
|
+
* name: Swimming with Sharks
|
|
20
|
+
* type: tutorial
|
|
21
|
+
* description: First, we'll plop a shark into the vast ocean, then we'll give it lasers!
|
|
22
|
+
* url: /skillmap/shark/shark1
|
|
23
|
+
* tags: easy, sprites, projectiles
|
|
24
|
+
* imageUrl: /static/skillmap/shark/shark1.gif
|
|
25
|
+
* next: shark2, shark1a
|
|
26
|
+
* position: 0 0
|
|
27
|
+
|
|
28
|
+
### shark1a
|
|
29
|
+
* name: Beware the Enemy
|
|
30
|
+
* type: tutorial
|
|
31
|
+
* description: Spawn enemy submarines that track your shark!
|
|
32
|
+
* url: /skillmap/shark/shark1a
|
|
33
|
+
* tags: easy, design, background
|
|
34
|
+
* imageUrl: /static/skillmap/shark/shark1a.gif
|
|
35
|
+
* next: shark1b
|
|
36
|
+
* position: 0 2
|
|
37
|
+
|
|
38
|
+
### shark1b
|
|
39
|
+
* name: Enemies Attack!
|
|
40
|
+
* type: tutorial
|
|
41
|
+
* description: Turn your project into a game by adding damage every time a submarine catches your shark.
|
|
42
|
+
* url: /skillmap/shark/shark1b
|
|
43
|
+
* tags: easy, enemies, overlap, lives
|
|
44
|
+
* imageUrl: /static/skillmap/shark/shark1b.gif
|
|
45
|
+
* next: shark1c
|
|
46
|
+
* position: 1 2
|
|
47
|
+
|
|
48
|
+
### shark1c
|
|
49
|
+
* name: Laser Focus
|
|
50
|
+
* type: tutorial
|
|
51
|
+
* description: You have enemies. You have lasers. Let's put them together!
|
|
52
|
+
* url: /skillmap/shark/shark1c
|
|
53
|
+
* tags: easy, enemies, points
|
|
54
|
+
* imageUrl: /static/skillmap/shark/shark1c.gif
|
|
55
|
+
* next: shark2
|
|
56
|
+
* position: 2 2
|
|
57
|
+
* edges: 2 1, 1 1
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### shark2
|
|
62
|
+
* name: Food, Not Friends
|
|
63
|
+
* type: tutorial
|
|
64
|
+
* description: A shark's gotta eat! Learn to make fish appear all over the ocean.
|
|
65
|
+
* url: /skillmap/shark/shark2
|
|
66
|
+
* tags: easy, spawn, sprites
|
|
67
|
+
* imageUrl: /static/skillmap/shark/shark2.gif
|
|
68
|
+
* next: shark3
|
|
69
|
+
* position: 1 0
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### shark3
|
|
73
|
+
* name: Eat Up!
|
|
74
|
+
* type: tutorial
|
|
75
|
+
* description: Add points for each fish you catch in 15 seconds!
|
|
76
|
+
* url: /skillmap/shark/shark3
|
|
77
|
+
* tags: easy, enemies, overlaps
|
|
78
|
+
* imageUrl: /static/skillmap/shark/shark3.gif
|
|
79
|
+
* next: shark4
|
|
80
|
+
* position: 2 0
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### shark4
|
|
84
|
+
|
|
85
|
+
* name: Under the Sea
|
|
86
|
+
* type: tutorial
|
|
87
|
+
* description: Decorate your shark's surroundings with an ocean background and seaweed.
|
|
88
|
+
* url: /skillmap/shark/shark4
|
|
89
|
+
* tags: easy, background, decorations
|
|
90
|
+
* imageUrl: /static/skillmap/shark/shark4.gif
|
|
91
|
+
* next: shark-finish, shark4a, shark4b
|
|
92
|
+
* position: 3 0
|
|
93
|
+
|
|
94
|
+
### shark4a
|
|
95
|
+
|
|
96
|
+
* name: Let's Get Animated
|
|
97
|
+
* type: tutorial
|
|
98
|
+
* description: Bring your game to life with custom animations for your characters.
|
|
99
|
+
* url: /skillmap/shark/shark4a
|
|
100
|
+
* tags: easy, animations
|
|
101
|
+
* imageUrl: /static/skillmap/shark/shark4a.gif
|
|
102
|
+
* position: 4 1
|
|
103
|
+
|
|
104
|
+
### shark4b
|
|
105
|
+
|
|
106
|
+
* name: A Whole New World
|
|
107
|
+
* type: tutorial
|
|
108
|
+
* description: Give your game a brand new theme and really make it yours!
|
|
109
|
+
* url: /skillmap/shark/shark4b
|
|
110
|
+
* tags: easy, background, decorations, asset editor
|
|
111
|
+
* imageUrl: /static/skillmap/shark/shark4b.gif
|
|
112
|
+
* position: 4 2
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
### shark-finish
|
|
116
|
+
* kind: completion
|
|
117
|
+
* type: certificate
|
|
118
|
+
* url: /static/skillmap/certificates/collector-game.pdf
|
|
119
|
+
* position: 4 0
|
package/docs/skillmap/racer.md
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
* name: Trapped Backstage
|
|
19
19
|
* type: tutorial
|
|
20
20
|
* description: Create a rockstar backstage after the show, then keep an eye on them as they navigate the path!
|
|
21
|
-
* url: /skillmap/rockstar/
|
|
21
|
+
* url: /skillmap/rockstar/racer1
|
|
22
22
|
* tags: easy, sprites, tiles
|
|
23
|
-
* imageUrl: /static/skillmap/
|
|
23
|
+
* imageUrl: /static/skillmap/racer/racer1.gif
|
|
24
24
|
* next: racer2
|
|
25
25
|
* position: 1 -1
|
|
26
26
|
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
* name: Gather Your Gear
|
|
29
29
|
* type: tutorial
|
|
30
30
|
* description: Write the code to give your rockstar points for gathering all their gear before they head out on tour.
|
|
31
|
-
* url: /skillmap/rockstar/
|
|
31
|
+
* url: /skillmap/rockstar/racer2
|
|
32
32
|
* tags: easy, tiles, events
|
|
33
|
-
* imageUrl: /static/skillmap/
|
|
33
|
+
* imageUrl: /static/skillmap/racer/racer2.gif
|
|
34
34
|
* next: racer3
|
|
35
35
|
* position: 2 -1
|
|
36
36
|
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
* name: Avoid the Fans!
|
|
39
39
|
* type: tutorial
|
|
40
40
|
* description: Code some crazed fans who will steal points as souveniers unless the rockstar can avoid them!
|
|
41
|
-
* url: /skillmap/rockstar/
|
|
41
|
+
* url: /skillmap/rockstar/racer3
|
|
42
42
|
* tags: easy, enemies, overlap, lives
|
|
43
|
-
* imageUrl: /static/skillmap/
|
|
43
|
+
* imageUrl: /static/skillmap/racer/racer3.gif
|
|
44
44
|
* next: racer-finish
|
|
45
45
|
* position: 3 0
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
### racer-finish
|
|
49
49
|
* kind: completion
|
|
50
50
|
* type: certificate
|
|
51
|
-
* url: /static/skillmap/certificates/
|
|
51
|
+
* url: /static/skillmap/certificates/racer-cert.pdf
|
|
52
52
|
* position: 4 0
|
|
53
53
|
* actions:
|
|
54
54
|
* map: [Try Jungle Monkey Jump](/skillmap/jungle)
|
|
@@ -14,7 +14,7 @@ We'll walk you through the skills you'll need to help Jerry navigate backstage t
|
|
|
14
14
|
|
|
15
15
|
## 2. Let's Get Started
|
|
16
16
|
|
|
17
|
-
**Your scene has already been set!**
|
|
17
|
+
**Your scene has already been set!**
|
|
18
18
|
|
|
19
19
|
---
|
|
20
20
|
|
|
@@ -27,16 +27,22 @@ have already been added to this activity.
|
|
|
27
27
|
|
|
28
28
|
## 3. We need a HERO
|
|
29
29
|
|
|
30
|
-
**đ We need Jerry
|
|
30
|
+
**đ We need Jerry!**
|
|
31
31
|
|
|
32
|
-
Our
|
|
32
|
+
Our game character is called a [__*sprite*__](#sprote "2-D image that move on the screen"). Let's create a rockstar sprite and get it moving before we do anything else.
|
|
33
33
|
|
|
34
34
|
---
|
|
35
35
|
|
|
36
|
-
- :
|
|
36
|
+
- :paper plane: From the ``||sprites:Sprites||`` category, drag
|
|
37
|
+
``||variables:set [mySprite] to sprite [ ] of kind [Player]||``
|
|
38
|
+
to **the end** of the ``||loops:on start||`` container.
|
|
39
|
+
|
|
40
|
+
_đĄ Having trouble finding the block you need? Look to the left of the instructions for the icon of the toolbox category where your block lives!_
|
|
37
41
|
|
|
38
42
|
- :mouse pointer: To add Jerry, click the empty grey box, then toggle to **My Assets** and click **rockstar**.
|
|
39
43
|
|
|
44
|
+

|
|
45
|
+
|
|
40
46
|
|
|
41
47
|
```blocks
|
|
42
48
|
scene.setBackgroundColor(13)
|
|
@@ -48,13 +54,16 @@ let mySprite = sprites.create(assets.image`rockstar`, SpriteKind.Player)
|
|
|
48
54
|
|
|
49
55
|
## 4. Control the Player
|
|
50
56
|
|
|
51
|
-
**Time to get the sprite moving**
|
|
57
|
+
**Time to get the sprite moving**
|
|
52
58
|
|
|
53
59
|
---
|
|
54
60
|
|
|
55
|
-
- :
|
|
61
|
+
- :game: Drag
|
|
62
|
+
``||controller:move [mySprite] with buttons â||``
|
|
56
63
|
to **the end** of the ``||loops:on start||`` container.
|
|
57
64
|
|
|
65
|
+
_đĄ Remember, the icon to the left of the instructions shows the same icon as the toolbox category for the block you need._
|
|
66
|
+
|
|
58
67
|
|
|
59
68
|
```blocks
|
|
60
69
|
scene.setBackgroundColor(13)
|
|
@@ -67,7 +76,8 @@ controller.moveSprite(mySprite)
|
|
|
67
76
|
|
|
68
77
|
## 5. Try It
|
|
69
78
|
|
|
70
|
-
|
|
79
|
+
**Click the Game Window Tab (Above)**
|
|
80
|
+

|
|
71
81
|
|
|
72
82
|
---
|
|
73
83
|
|
|
@@ -83,10 +93,17 @@ The rockstar sprite should appear at the stage door.
|
|
|
83
93
|
|
|
84
94
|
---
|
|
85
95
|
|
|
86
|
-
- :
|
|
96
|
+
- :tree: To start Jerry at the stage door, drag
|
|
97
|
+
``||scene: place [mySprite] on top of random [ ]||``
|
|
98
|
+
to **the end** of the
|
|
99
|
+
``||loops:on start||``
|
|
100
|
+
container.
|
|
87
101
|
|
|
88
102
|
- :mouse pointer: Click the checkered tile and select the teal stage door called **stage** from the grid menu.
|
|
89
103
|
|
|
104
|
+
_đĄ Don't forget to play with your project after each step to see the changes your code has made._
|
|
105
|
+
|
|
106
|
+
|
|
90
107
|
|
|
91
108
|
```blocks
|
|
92
109
|
scene.setBackgroundColor(13)
|
|
@@ -102,8 +119,10 @@ tiles.placeOnRandomTile(mySprite, assets.tile`stage`)
|
|
|
102
119
|
## 7. Follow with Camera
|
|
103
120
|
|
|
104
121
|
|
|
105
|
-
- :
|
|
106
|
-
``||scene:camera follow sprite [mySprite]||``
|
|
122
|
+
- :tree: Next, to keep Jerry in sight, drag
|
|
123
|
+
``||scene:camera follow sprite [mySprite]||``
|
|
124
|
+
to **the end** of the
|
|
125
|
+
``||loops:on start||`` container.
|
|
107
126
|
|
|
108
127
|
```blocks
|
|
109
128
|
scene.setBackgroundColor(13)
|
|
@@ -119,18 +138,18 @@ scene.cameraFollowSprite(mySprite)
|
|
|
119
138
|
|
|
120
139
|
## 8. Look Again
|
|
121
140
|
|
|
122
|
-
**đšī¸ Try your maze in the game window
|
|
141
|
+
**đšī¸ Try your maze in the game window**
|
|
123
142
|
|
|
124
143
|
---
|
|
125
144
|
|
|
126
|
-
You should be able to see your sprite as you move it around backstage. Can you make it to the
|
|
145
|
+
You should be able to see your sprite as you move it around backstage. Can you make it to the exit?
|
|
127
146
|
|
|
128
147
|
|
|
129
148
|
|
|
130
149
|
|
|
131
150
|
## Finale
|
|
132
151
|
|
|
133
|
-
đĨ **Well done!** đĨ
|
|
152
|
+
đĨ **Well done!** đĨ
|
|
134
153
|
|
|
135
154
|
---
|
|
136
155
|
|