Sign in
Home
Online Classes
Instructors
Tutorials
☰
Register
Sign in
Online Classes
Instructors
Tutorials
1. Create your castle sprite
2. Create your ground sprite
3. Pick an enemy sprite
4. Adjust the size and placement of your sprites
5. Create enemy army
6. Create a castle health variable
7. Group Discussion - Understanding Your Code (c)
8. Enemies take away Castle Health
9. Add Video Sensing extension
10. Test motion detection
11. Use video sensing to push away enemies
12. Show damage to castle
13. End game when castle health gets to 0
14. Play your game!
15. Save your project!
Project 441: Protect The Castle
12. Show damage to castle
Make your castle look more and more damaged as it loses health.
Starting point file for this challenge
Your goal
Hint: show steps
Steps
1. Set whirl effect to 0
Hint: show details
Add the "set
color
effect to
0
" block from the purple "Looks" section. Change color to whirl.
Hint: show image
2. Wait for castle to take some damage
Hint: show details
Wait until the castle has lost 10 health.
Hint: show image
3. Increase the whirl effect
Hint: show details
Start increasing the whirl effect now that the castle has taken some damage.
Hint: show image
4. Repeat steps 2 and 3 two more times
Hint: show details
Repeat steps 2 and 3 two more times, at 25 and 10 health. Increase the whirl effect by 55 each time.
Hint: show image
×
×
Provide your email address for immediate project access
Email
Check your email for instructions on how to create a full DA account