Scratch Cookbook by Unknown

Scratch Cookbook by Unknown

Author:Unknown
Language: eng
Format: epub
Publisher: Packt Publishing


See also

For more information on adding scoring to this game, refer to the Keeping score recipe. If you need a refresher on how to use a few of the blocks we've used in this recipe, refer to Chapter 1, Getting Started with Scratch and Chapter 2, Storytelling.

User interaction with a game

One of the main requirements for most games, or at least the good ones, is that there exists some sort of user interaction. Here, we'll create a new sprite that moves up and down on the boundary we created. This will prevent the balls from hitting the boundary, and thus creates a basic game for us. This is similar to the classic 'pong' bat and ball game, one of the earliest video games ever created.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.