Scratch exercise 27


Healing with health packs

You will need to have completed "Exercise 26 Health/ lives countdown" to complete this exercise.


Complete these steps ..



1. Open your the "Health coundown" game you created in exercise 26.



2. Paint a new sprite of a first aid box. Re-name it "Health" ..

heath kit



3. Add the first script to the Health kit ..


4. Let's make the Health pack appear at a random place on the stage, and at a random time. Add this script to it ..



5. Finally, let's make the Health pack add a Cat live whenever the Cat touches it ..



6. Press the "B" key to test your game. Use the arrow keys to move the Cat.

When you are ready press "E" to end your game.



7. Use "File>Save" to re-save your game.


Well done, you're finished!