KnowledgeBoat Logo

Computer Applications

Navdha is playing a game created by her teacher using Scratch. The game works like this :

An item/thing name is shown on screen and then the screen shows moving images of multiple things/sprites. The player has to click on correct image/sprite as per displayed name. If the player clicks on correct sprite/image, a ball sprite in the right corner starts jumping and clap sound also plays. If the player wants to move to next thing/item, the player can press a space bar.

(a) Identify the concepts/features of Scratch used in this game.

(b) Which concept/feature is used to move to next item if space bar is clicked ?

(c) Which concept/feature is used to tell ball sprite that correct image/sprite has been clicked.

Scratch

2 Likes

Answer

(a) The concepts/features of Scratch used in this game are as follows:

  1. Sprites — The moving images of multiple things/sprites are used to represent the different items.
  2. Costumes — Each sprite likely has multiple costumes to show different visual representations.
  3. Click events — The player interacts with the game by clicking on the correct sprite.
  4. Sounds — The game plays a clap sound when the correct sprite is clicked.
  5. Keyboard events — The game detects when the space bar is pressed to move to the next item.
  6. Conditional blocks — There are conditional checks to determine if the correct sprite is clicked, triggering the response with the ball sprite and clap sound.
  7. Iteration blocks — Iteration blocks are used to make the game run continuously.
  8. Passing messages between sprites — The game uses the broadcast block to send message to ball sprite telling that correct sprite has been clicked.

(b) The Events feature is used to move to next item if space bar is clicked. The programmer uses the command when space key pressed so that the game listens for the space bar key press event and uses this event to advance to the next item.

(c) The broadcast block from events category is used to tell ball sprite that correct image/sprite has been clicked.

Answered By

3 Likes


Related Questions