Raspberry Pi® For Dummies® by McManus Sean

Raspberry Pi® For Dummies® by McManus Sean

Author:McManus, Sean [McManus, Sean]
Language: fra
Format: epub
Tags: Informatique
Publisher: O'Reilly
Published: 2013-03-05T21:14:40+00:00


194 Part IV: Programming the Raspberry Pi

that area follows your mouse cursor. Click the mouse button to stamp it

(or paste it) at that position on the Canvas.

Eyedropper: Use this tool to choose a color that’s already on your

Canvas. If you want to amend part of your sprite and need to use the

same ink you used earlier, this tool saves you from having to remember

which ink that was.

The Clear button clears the Canvas (except for text), irrespective of what

you’ve selected. If you make a mistake, click Undo, shown in Figure 11-2.

When you’ve finished drawing your image, click Set Costume Center at the

bottom left of your Paint Editor and then click in the middle of your image.

This is important because it controls the point around which your sprite

rotates if you use rotation in your game.

Don’t forget to save your game frequently. It’s a good idea to save a new copy of your game with a new filename as you reach each significant point in its

development. It means you can go back if you introduce an unexpected error,

and also protects you against losing too much of your work if a file gets

corrupted (as happened to me once while creating this game!).

If you want to edit your picture later, click your sprite’s Costumes tab (see Figure 11-3) and then click Edit beside the costume you want to change. If you want to create additional costumes for a sprite, you can also do that in your sprite’s Costumes tab.

Costumes tab

Sprite name

Figure 11-3:

Changing

the names

of sprites

and

costumes.



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.