Scratch
Beginner
60 mins
Teacher/Student led
+140 XP
What you need:
Chromebook/Laptop/PC or iPad/Tablet

Halloween Chase

Hey there! Get ready to create a spooky Halloween game in Scratch. You'll make a ghost chase bats across the screen, earning points for each catch. Follow the steps to build this fun, eerie adventure!
Learning Goals Learning Outcomes Teacher Notes

Teacher Class Feed

Load previous activity

    1 - Welcome to Halloween Chase

    Today, we will make a fun Halloween game in Scratch. A ghost will chase bats around the screen. Every time the ghost catches a bat, you get a point. It will be spooky and fun! Let's start our adventure.


    2 - Start a New Project

    Go to the Scratch website to make a new project. Click here: https://scratch.mit.edu/. Delete the cat sprite because we do not need it.

    3 - Add the Ghost

    Find the 'Ghost' sprite in the Scratch library and add it to your project. The ghost will be the chaser!


    4 - Make the Ghost Follow Your Mouse

    Now, make the ghost small and let it follow your mouse. This way, you can move the ghost to catch bats.

    Add this code to the Ghost sprite:

    when green flag clicked set size to (30) % forever point towards (mouse-pointer v) move (5) steps
    Click the green flag. See if the ghost follows your mouse!

    5 - Make a 'Score' Variable

    Before we start, let's understand what a variable is. Think of a variable like the score in a football match or the health bar in a video game.

    It's a number that can change depending on what happens in the game. In our game, we will use a variable to keep track of the score. Every time our Ghost catches a Bat, we will add one to the score.

    Create a variable called score

    Unlock the Full Learning Experience

    Get ready to embark on an incredible learning journey! Get access to this lesson and hundreds more in our Digital Skills Curriculum.

    Copyright Notice
    This lesson is copyright of Coding Ireland 2017 - 2025. Unauthorised use, copying or distribution is not allowed.

    Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. It is available for free at https://scratch.mit.edu
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more