Meeting your Game Manager

The Game Manager sprite is the brain of the game. It manages game logic including scoring, level completion, winning, and losing.

When the user clicks on the green flag, Game Manager displays the start page with instructions and a start button. The game starts when the start button is clicked. After the game starts, Game Manager processes the broadcast messages sent from other sprites and decides on the following aspects:

  • The time to move up a level
  • When the game is won
  • When the game is over

At the beginning of each new level, Game Manager engages the user as well as the other sprites in the game. To users, it displays the level-up screen that scrolls up, giving the users time to wiggle their fingers before the next game. ...

Get Scratch 2.0 Game Development HOTSHOT now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.