Zmiany

Skocz do: nawigacji, wyszukiwania

Introduction 3 - Glossary of basic Scratch 2.0 blocks

Dodane 1724 bajty, 18:32, 6 lip 2015
[[Plik:M_3_32.JPG]]
 
[[Plik:M_3_33.JPG]]
 
Makes the sprite change its costume to a subsequent one. The next costume after the last one is again the first one on the list. This block is often used for sprite animation.
 
'''Example:'''
 
[[Plik:M_3_34.JPG]]
 
The stage may consist of multiple stages (by default there is only one, white background). With this block the sprite can change the background to one selected from the drop-down list (with a specific name, the next background, the previous background). Note: this block is unavailable for sprite scripts in version 1.4 (available only for stage scripts).
 
[[Plik:M_3_35.JPG]]
 
Used to change the sprite’s size (all costumes) by a specified value. If we want to reduce the sprite’s size, we must enter a negative argument.
 
'''Example:'''
 
[[Plik:M_3_36.JPG]]
 
Used to change the sprite’s size (all costumes) to a specified percent value. If we want to restore it to the original size, the size should be set to 100%.
 
'''Example:'''
 
[[Plik:M_3_37.JPG]]
 
If the sprite is covered by other sprites, it will be displayed on top.
 
'''Example:'''
 
[[Plik:M_3_38.JPG]]
 
The current sprite costume number. It can be used as an argument in expressions. Checking the checkbox on the left displays the current number on the stage.
 
'''Example:'''
 
[[Plik:M_3_39.JPG]]
 
Name of the currently displayed background. It can be used as an argument in expressions.
Checking the checkbox on the left displays the background name on the stage.
 
'''Example:'''
 
[[Plik:M_3_40.JPG]]
 
Current sprite size expressed as a percent value. It can be used as an argument in expressions. Checking the checkbox on the left displays the size on the stage.
 
'''Example:'''
 
[[Plik:M_3_41.JPG|center]]
223
edycje