# Games in Scratch #4: Elevator

Creating Elevator game with clones, "my blocks", list variable, conditional statements in Scratch (Hard level)
Free tutorial
Rating: 4.6 out of 5 (2 ratings)
398 students
1hr 50min of on-demand video
English
English [Auto]

working with List variable
working with X and Y coordinate axes
cloning sprites, describing its game logic
working with variable-indicators and loops
customizing sound effects

## Requirements

• basic knowledge of Scratch: logging into your account, creating new project, practical experience with at least some of Scratch controls
• having experience working with variables in Scratch
• strong understanding of conditional statements (IF-ELSE, comparison, greater than, less than)

## Description

In this course we will create game "Elevator" in the Scratch programming language. We will learn by doing!

Difficulty level of this course: easy \ medium \ hard

Who is this course suitable for:

• Teachers and parents who want to keep their children busy

• Children and teenagers with with strong knowledge of Scratch

The course also contains theoretical explanations, but most of the course is practical. We will repeat or learn such areas as:

• working with list variables: what it is and why they are needed;

• using variables as indicators of some events and how to manage these events across your Sprites;

• creating sprite clones: how to manage hundreds of clones at a time.

The plot of the game:

• we have a building with 11 floors and one elevator;

• we need to manage elevator's moving by pressing keys from 0 to 9 and "q" - they represent building levels;

• we have a queue of floors for our elevator, it will be moving according to the order of pressed keys;

• passengers will be appearing on a random floor with a random target floor;

• when passenger sees the elevator on it's floor, it will move inside the elevator's cabin; when this passenger find out that elevator on the desired floor, it will disappear;

• this game doesn't have any restrictions in passenger number inside the elevator or on the game screen; feel free to add you own logic of finishing the game (for example, when you reach some served passengers number).

I recommend that students simply repeat all the steps from the video, so at the end of the course they will have their own game, which they will be able to navigate and then be able to independently make some changes and expand the game at their own discretion. At the end of the course, materials with source code for all sprites are provided - using them you can check whether the game is made correctly and fix any non-working parts.

Note: Those who under 18 years old may use this course only if a parent or guardian provides their account and controls all key activities while using the account.

## Who this course is for:

• adults and teachers who want their children to be able to develop games
• teenagers who want to improve their programming skills

## Instructor

Software Engineer + video editor + nice person
• 4.5 Instructor Rating
• 19 Reviews
• 895 Students
• 5 Courses

Hi there! My name is Alex. I'm am a software developer with more than 8 years of experience. Currently I shift a bit my responsibilities and I'm trying to lead my own developers team. Also I like to edit videos - I worked 1.5y as a freelancer and had a lot of clients from all over the world.