Computer Science, asked by 99ankitasrivastava, 5 months ago

you can change the look of a sprite by changing its costume?​

Answers

Answered by AnubhavGhosh1
10

Answer:

How to use costumes

One way to think of sprites is like the characters in a game. Each sprite can have a number of costumes, which are different pictures of it. If the costumes look fairly similar, you can create the illusion of animation by switching between them. Your cat sprite comes with two costumes, and when you switch between them, it looks like the cat is running.

You can see the costumes for your sprite by clicking the Costumes tab at the top of the Scripts Area. If you want to modify the cat’s appearance, you can click the button to edit one of the costumes, or if you want to create a new animation frame, you can click the Copy button beside a costume and then edit the bits you want to change.

It doesn’t matter so much when you’re experimenting with sprites, but when you make your own games and animations, you can save yourself a lot of brain ache by giving your sprites meaningful names. To rename a costume, click the Costumes tab to show the costumes, and then click the costume’s current name and type its new name.

In the Blocks Palette, there are two blocks you can use to switch between costumes:

Switch to Costume: If you want to switch to a particular costume, choose its name from the menu in this block and then click the block.

Next Costume: Each time you use this block, the sprite changes to its next costume. When it runs out, it goes back to the first one again.

Similar questions