Scratch Game
Beginner
60 mins
Teacher/Student led
155 points
What you need:
Chromebook/Laptop/PC or iPad/Tablet

Banana Jump

In this lesson, students will create an engaging game using Scratch, a visual programming language. They will learn to control character movements, create clones, and detect collisions. The game involves a cat that must jump to avoid falling bananas. The lesson covers creating a new project, adding and animating sprites, programming movements, and detecting collisions.
Learning Goals Learning Outcomes Teacher Notes Lesson Files

Live Class Feed

This is a live feed of the latest activity by your students on this lesson. It will update in real-time as they work on the lesson.
Load previous activity

    1 - Introduction

    Welcome to the 'Banana Jump' lesson! In this exciting lesson, you will create a fun game where a cat must jump to avoid falling bananas. You will learn how to use Scratch, a visual programming language, to control character movements, create clones, and detect collisions. By the end of this lesson, you will have your own game that you can play and share with your friends. So, are you ready to start your coding adventure? Let's jump right in!

    2 - Create a new project

    Start by creating a new Scratch project.

    https://scratch.mit.edu/

    3 - Add the Blue Sky backdrop

    Add the Blue Sky backdrop from the backdrop library.

    The brown part of this backdrop will be the ground in our game.


    4 - Animating the Cat

    Let's start by positioning the cat down at the bottom left so it appears on the ground. Then we will also make it look like it's running by use a loop (forever block) to change it's costume.

    Add the following code to the Sprite1 sprite:

    when green flag clicked go to x: (-142) y: (-110) forever next costume wait (0.2) seconds end
    Once you have added the code, click on the green flag and the cat should appear at the bottom left and to be running.


    5 - Add the bananas sprite

    Add the Bananas sprite from the sprite library.



    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. 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