Games in Scratch #4: Elevator

0

Games in Scratch #4: Elevator, Creating Elevator game with clones, “my blocks”, list variable, conditional statements in Scratch (Hard level).

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


We will be happy to hear your thoughts

Leave a reply

Online Courses
Logo
Register New Account
Compare items
  • Total (0)
Compare
0