Skip to content

Commit

Permalink
Intermediate image updates plus (#6202)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-lee authored Nov 9, 2023
1 parent c7282b9 commit 18b1fe2
Show file tree
Hide file tree
Showing 17 changed files with 230 additions and 58 deletions.
8 changes: 4 additions & 4 deletions docs/skillmap/adventure.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
* infoUrl: skillmap/educator-info/adventure-info
* bannerUrl: /static/skillmap/adventure/adventure3.gif
* backgroundurl: /static/skillmap/backgrounds/adventure-comp.png
* primarycolor: #ffe19b
* secondarycolor: #ff8eca
* tertiarycolor: #b1dcef
* completednodecolor: #00224b
* primarycolor: #faeece
* secondarycolor: #8c281d
* tertiarycolor: #004b87
* completednodecolor: #202c1b
* highlightcolor: #ffffff
* allowcodecarryover: true
* tags: creative, intermediate, conditionals
Expand Down
2 changes: 1 addition & 1 deletion docs/skillmap/galaxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* backgroundurl: /static/skillmap/backgrounds/galaxy-comp1.png
* primarycolor: #ffa000
* secondarycolor: #ff07d9
* tertiarycolor: #ffffff
* tertiarycolor: #001122
* highlightcolor: #ffffff
* completednodecolor: #31125d
* tags: space, projectiles
Expand Down
2 changes: 1 addition & 1 deletion docs/skillmap/racer.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

* primarycolor: #fa8033
* secondarycolor: #fdf60c
* tertiarycolor: #000000
* tertiarycolor: #020311
* strokecolor: #ffffff
* highlightcolor: #ffffff
* completednodecolor: #504c52
Expand Down
2 changes: 1 addition & 1 deletion docs/skillmap/shark.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* bannerurl: /static/skillmap/shark/shark4a.gif
* primarycolor: #ff93c4
* secondarycolor: #87f2ff
* tertiarycolor: #5c406c
* tertiarycolor: #001538
* strokecolor: #5c406c
* highlightcolor: #fff609
* completednodecolor: #473c4d
Expand Down
2 changes: 1 addition & 1 deletion docs/skillmap/sparks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* backgroundurl: /static/skillmap/backgrounds/sparks-comp.png
* primarycolor: #bebebe
* secondarycolor: #ffb200
* tertiarycolor: #0e1b36
* tertiarycolor: #0d1a36
* completednodecolor: #5f282a
* highlightcolor: #ffff00
* allowcodecarryover: true
Expand Down
Binary file modified docs/static/skillmap/backgrounds/adventure-comp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/skillmap/backgrounds/adventure-map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/skillmap/backgrounds/galaxy-comp1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/skillmap/backgrounds/galaxy-map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/skillmap/backgrounds/racer-comp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/skillmap/backgrounds/racer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/skillmap/backgrounds/shark-attack-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/skillmap/backgrounds/shark-map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/skillmap/backgrounds/sparks-comp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/skillmap/backgrounds/sparks-map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 22 additions & 19 deletions docs/test/tutorials/chase-the-pizza.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ before the time runs out!

## {Step 2}

**Start with a background color...**
**Set the background color**

---

- :tree: Open the ``||scene:Scene||`` toolbox drawer and drag <br/>
- :tree: Open the <br/>
``||scene:Scene||``<br/>
toolbox drawer and drag <br/>
``||scene:set background color [ ]||`` <br/>
into **the empty** ``||loops(noclick):on start||`` container already in your workspace.

Expand Down Expand Up @@ -58,7 +60,16 @@ scene.setBackgroundColor(13)

## {Step 3}

Time to add a player **sprite**.
Add a player **sprite**.

---

- :paper plane: Open the ``||sprites:Sprites||`` drawer and drag <br/>
``||variables(sprites):set [mySprite] to sprite [ ] of kind [Player]||`` <br/>
into **the end of** the ``||loops(noclick):on start||`` block already in your workspace.

---


~hint What's a sprite? 💡

Expand All @@ -73,13 +84,6 @@ Our player will be a sprite, too.

hint~

---

- :paper plane: Open the ``||sprites:Sprites||`` drawer and drag <br/>
``||variables(sprites):set [mySprite] to sprite [ ] of kind [Player]||`` <br/>
into **the end of** the ``||loops(noclick):on start||`` block already in your workspace.

---

~hint Show me 🔍

Expand All @@ -103,7 +107,7 @@ mySprite = sprites.create(img`.`, SpriteKind.Player)
block to open the **Sprite Editor**.


- :mouse pointer: Click **Done** when you are finished.
- :mouse pointer: Click **Done** when you are finished drawing.

~hint Show me 🔍

Expand Down Expand Up @@ -279,7 +283,7 @@ to open the **Sprite Editor**.

~hint Show me 🔍

![Image gallery](/static/tutorials/chase-the-pizza/image-gallery.gif)
![Image gallery](/static/tutorials/chase-the-pizza/gallery.gif)

hint~

Expand Down Expand Up @@ -425,7 +429,7 @@ hint~
---

- :paper plane: Open ``||sprites:Sprites||``, and drag <br/>
``||sprites:set [pizza] position to||``<br/>
``||sprites:set [pizza] position to...||``<br/>
into the **end of the** <br/>
``||sprites(noclick):on [sprite] ... overlaps [otherSprite]||`` <br/>
container already in the workspace.
Expand All @@ -448,14 +452,14 @@ sprites.onOverlap(SpriteKind.Player, SpriteKind.Food, function (sprite, otherSpr



## {Step 17}
## {Step 13}

**Let’s start a countdown each time the sprites overlap.**

---

- :id card: From ``||info:Info||``, drag <br/>
``||info:start countdown [5] (s)||`` <br/>
``||info:start countdown [3] (s)||`` <br/>
into the **end of the** <br/>
``||sprites(noclick):on [sprite] ... overlaps [otherSprite]||`` <br/>
container already in the workspace.
Expand All @@ -472,7 +476,7 @@ sprites.onOverlap(SpriteKind.Player, SpriteKind.Food, function (sprite, otherSpr
info.changeScoreBy(1)
pizza.setPosition(randint(0, scene.screenWidth()), randint(0, scene.screenHeight()))
// @highlight
info.startCountdown(5)
info.startCountdown(3)
})
```

Expand Down Expand Up @@ -539,8 +543,7 @@ b 5 5 5 5 d d 4 4 4 4 . . . . .
sprites.onOverlap(SpriteKind.Player, SpriteKind.Food, function (sprite, otherSprite) {
info.changeScoreBy(1)
pizza.setPosition(randint(0, scene.screenWidth()), randint(0, scene.screenHeight()))
// @highlight
info.startCountdown(10)
info.startCountdown(3)
})
```

Expand All @@ -552,7 +555,7 @@ scene.setBackgroundColor(13)
sprites.onOverlap(SpriteKind.Player, SpriteKind.Food, function (sprite, otherSprite) {})
randint(0, scene.screenWidth())
pizza.setPosition(randint(0, scene.screenWidth()), randint(0, scene.screenHeight()))
info.startCountdown(5)
info.startCountdown(3)
```

Expand Down
Loading

0 comments on commit 18b1fe2

Please sign in to comment.