Extra Practice Chapters

 

Appendix. Extra Practice Salad Catch—Art

Your parents tell you that you need to have a salad for lunch, so you head out to your backyard garden with your bratty younger brother to collect the vegetables. Your brother has decided to make a mess of everything. He starts yanking up carrots and tossing them over his shoulder. You have to catch them using the salad bowl in figure 1 before they hit the ground. Unfortunately, the more you catch, the faster he pulls.

Figure 1. A game of Salad Catch involves making a simple outdoor backdrop for the garden, a salad bowl, a carrot, and a line to serve as a barrier.

In Salad Catch, a reflex-testing game in the tradition of Activision’s Kaboom!, the carrots come fast and furious, speeding up as the game continues. Move the salad bowl left and right using the arrow keys on the keyboard in order to catch the falling carrots. Miss three carrots and not only will you not have vegetables in your salad, the game is also over. Salad Catch tests how quickly your fingers can move.

Once again, as you make the sprites for the game, you’ll learn some key art concepts. In this section, you will learn

  • How to make a two-dimensional drawing look three-dimensional with shading
  • How to use light to show a curved surface
  • How to digitally blend colors
  • How to trick the eye into seeing solid objects as hollow

You’ll start off by making a simple background.

Prepping the background and learning about light

Prepping the main sprites

Prepping the odds and ends

Preparing to code

Appendix. Extra Practice Salad Catch—Coding

Preparing to program

Programming the salad bowl

Programming the carrot

Answer This: Why Do You Have to Delete the Sprite?

Programming the odds and ends

Troubleshooting your game

Learning in action

Appendix. Extra Practice Mermaid Splash—Art

Prepping the backgrounds

Prepping the main sprites

Prepping the odds and ends

Preparing to code

Appendix. Extra Practice Mermaid Splash—Coding

Preparing to program

Programming the mermaid

Programming the animals

Programming the odds and ends

Troubleshooting your game