-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pxt.json, music_python_activity1.md, music_python_activity2.md…
…, music_python_activity3.md, setdesign_activity.md, setdesign_python_activity2.md
- Loading branch information
Showing
6 changed files
with
61 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
### @flyoutOnly true | ||
### @hideIteration true | ||
### @explicitHints true | ||
|
||
# Design the sets | ||
|
||
## Step 1 | ||
Search the room to find the 3 scripts that describe the scenes and then use the ``||hoc:biome, time, and weather||`` block to sequence them in the correct order. | ||
|
||
#### ~ tutorialhint | ||
The tagia biome should be ``||hoc:day||`` with ``||hoc:snow``, the desert biome should be ``||hoc:sunset||`` with ``||hoc:clear||`` weather, and the jungle biome should be ``||hoc:night||`` with ``||hoc:rain||``. | ||
|
||
```ghost | ||
hoc._set_activity() | ||
``` | ||
```template | ||
hoc._set_activity(Biome_Activity.Taiga, Time_Activity.Day, Weather_Activity.Clear) | ||
hoc._set_activity(Biome_Activity.Desert, Time_Activity.Day, Weather_Activity.Clear) | ||
hoc._set_activity(Biome_Activity.Jungle, Time_Activity.Day, Weather_Activity.Clear) | ||
``` | ||
|
||
```package | ||
hoc2024-ts=github:ReWrite-Media/hoc2024-ts/n/set#v0.0.105 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
### @flyoutOnly true | ||
### @hideIteration true | ||
### @explicitHints true | ||
|
||
|
||
# Design the sets | ||
|
||
```python-template | ||
hoc.set(Biome.Taiga, Time.Day, Climate.Clear) | ||
hoc.set(Biome.Taiga, Time.Day, Climate.Clear) | ||
hoc.set(Biome.Taiga, Time.Day, Climate.Clear) | ||
``` | ||
|
||
## Complete the Challenge | ||
Search the room to find the 3 scripts that describe the scenes and then use the ``||hoc:hoc.set()||`` function to sequence the 3 sets. It takes three separate paramters that define the set's ``||hoc:biome, time, and climate||``. See the hint for all available parameters. | ||
|
||
#### ~ tutorialhint | ||
**hoc:hoc.set()** | ||
Available Biome parameters: | ||
Biome.Taiga, Biome.Desert, Biome.Jungle | ||
|
||
Available Time parameters: | ||
Time.Day, Time.Sunset, Time.Night | ||
|
||
Available Climate parameters | ||
Climate.Clear, Climate.Snow, Climate.Rain | ||
|
||
|
||
```package | ||
hoc2024-ts=github:ReWrite-Media/hoc2024-ts/n/set#v0.0.105 | ||
``` |