Time for action - import the horse

To start, make sure the hay field is displayed on the stage by clicking on the hay field from your list of stage backgrounds:

  1. Add a new sprite by clicking on the choose new sprite from file button.
  2. Select horse1-b from the Animals folder and click OK to insert the horse.
  3. Position the horse next to the microphone by dragging the sprite with your mouse. If the horse and microphone seem out of proportion, resize the horse sprite using the shrink or grow tools.
  4. A horse standing in front of a microphone begs to be animated, and we're going to begin our animation by adding a second costume. Click on the Costumes tab to display the list of costumes.
  5. Click the import button to open the Import Costume dialog box.
  6. From the Animals folder, select the horse1-a image and click OK. A second horse image displays in the costumes list, and a preview of the image displays on the stage.
Time for action - import the horse

Click on each costume in succession to view how the sprite appears on the stage.

Costumes versus sprites

How we import images into our project determines whether or not we call it a sprite or a costume. You've probably noticed by now that we browse the same files whether we import a costume for a sprite or click on the choose sprite from file option. Both are images.

We use a costume to manipulate the appearance of the sprite by switching between the costumes. As a result, we can easily make a sprite run, walk, or dance.

We use a sprite when we want multiple images or characters on the stage at the same time, which we can then control simultaneously.

The horse speaks

We can't expect our horse to stand in front of a microphone and stay silent. Let's give it something to say.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.8.216