Loops with Conditions: Build
Act 2: Unit 2.4
DEBUGGING CHALLENGE
WB Page
38
UNIT 2.4 LOOPS WITH CONDITIONS
DEBUGGING CHALLENGE: Solution 1
bit.ly/fixmazebug Remember to click on “See Inside”
Solution #1:
Add the ‘go to:’ block before the ‘switch costume’ block for the “touching green” condition
Hint:
If you move the fish sprite to the starting point before adding the ‘go to:’ block to the script, the ‘x’ and ‘y’ locations will automatically be filled in.
UNIT 2.4 LOOPS WITH CONDITIONS
DEBUGGING CHALLENGE: Solution 2
Solution #2:
Add a new condition to the forever loop for when the fish sprite touches the 2nd snake sprite.
UNIT 2.4 LOOPS WITH CONDITIONS
Set An Expectation that is Right for YOU!
| 2 | ||
BACKDROP | ⃞ I chose or designed a backdrop. ⃞ I added 3 backdrop sprites or objects. | ⃞ I chose or designed a backdrop. ⃞ I added more than 3 backdrop sprites or objects. | ⃞ I designed a backdrop. ⃞ I added more than 4 backdrop sprites or objects. ⃞ I added scripts to some of my backdrop sprites. |
SPRITE/EVENT | My main sprite: ⃞ has at least 3 costumes. ⃞ has a script to start it in the same place with the same costume when the green flag is clicked. ⃞ says directions on how to move when the green flag is clicked. | My main sprite: ⃞ has at least 3 costumes
⃞ has a script to start it in the same place with the same costume when the green flag is clicked. ⃞ says directions on how to move when the green flag is clicked. ⃞ makes a sound when it touches one of the backdrop sprites. | My main sprite: ⃞ has at least 3 costumes. I used the costume editor to change one of my main sprite’s costumes. ⃞ has a script to start it in the same place with the same costume when the green flag is clicked. ⃞ says directions on how to move when the green flag is clicked. ⃞ makes a sound when it touches more than one of the backdrop sprites. |
CONDITIONS | My main sprite: ⃞ has a script with a forever loop and 2 different conditions with actions. | My main sprite: ⃞ has a script with a forever loop and at least 3 different conditions with actions. ⃞ has a script with a forever looping action. | My main sprite: ⃞ has a script with a forever loop and more than 4 different conditions with actions. ⃞ has a script with a forever looping action. |
PERSEVERANCE | ⃞ I asked for help before I solved my problem. | ⃞ I tried different things before I asked for help and solved my problem. | ⃞ I tried different things and solved my problem on my own. |
WB Page
37
UNIT 2.4 LOOPS WITH CONDITIONS
UNIT 2.4 LOOPS WITH CONDITIONS
TURN AND TALK (optional)
Look at the rubric for this project in your workbook.
Ask a classmate which column he/she will follow for the:
Backdrop
Sprites/Events
Conditions
MAZE with CONDITIONS Building Guide
WB Page
38
UNIT 2.4 LOOPS WITH CONDITIONS
Change the Event for the movement scripts (but don’t change the blocks in the scripts!)
Click on the Costumes tab, then click on the Cat icon on the bottom to add your Main Sprite with 3 costumes.
Delete the Scratch Cat costume.
MAZE with CONDITIONS Building Guide
WB Page
38
UNIT 2.4 LOOPS WITH CONDITIONS
MAZE with CONDITIONS Building Guide
WB Page
36
UNIT 2.4 LOOPS WITH CONDITIONS
BLOCKS TO PLAY WITH
THINGS TO TRY
THINGS TO TRY
WB Page
36
Add Color Effects
Add Sound
Add and Edit a backdrop
Change a Costume
UNIT 2.4 LOOPS WITH CONDITIONS