3FRUIT LOOT: CREATING A SIMPLE ANIMATED GAME

Image

In this chapter, you’ll create a simple game called “Fruit Loot” that uses components from the Drawing and Animation, Sensors, and Media drawers to let players catch falling fruit.

You’ll program these components with App Inventor’s built-in Math and Variables blocks and component-specific blocks so that the game will use animation, or movement, with corresponding sound effects; unpredictability to make the game challenging; and the ability to keep score so players can see how well they’re doing.

First, let’s explore the key components and underlying programming concepts that you’ll use to create the ...

Get Learn to Program with App Inventor now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.