Zmiany

Skocz do: nawigacji, wyszukiwania

Introduction 3 - Glossary of basic Scratch 2.0 blocks

Dodane 2341 bajtów, 18:17, 6 lip 2015
[[Plik:M_3_23.JPG]]
 
 
 
 
 
 
[[Plik:M_3_24.JPG]]
 
The Looks category is a collection of sprite appearance blocks concerning costume, size, visibility, etc. Some of these blocks are used very often. Below is a description of most blocks in this category.
 
[[Plik:M_3_25.JPG]]
 
For a limited time displays in a speech bubble the text shown in the edit box. This means stopping the script execution for a specified number of seconds. A variable can also be dragged into the edit box or an expression can be built in it – often to connect the displayed information we use the join block.
 
'''Example:'''
 
[[Plik:M_3_26.JPG]]
 
Displays in a speech bubble the text shown in the edit box and does not stop the script execution. Consequently, further instructions are executed, which might cause the bubble’s quick disappearance. A variable can also dragged into the edit box or an expression can be built in it – often to connect the displayed information we use the join block.
 
[[Plik:M_3_27.JPG]]
 
For a limited time displays in a thought bubble the text shown in the edit box. This means stopping the script execution for a specified number of seconds. It works in the same way as the say command, but a different kind of information is displayed. A variable can also be dragged into the edit box or an expression can be built in it – often to connect the displayed information we use the join block.
 
'''Example:'''
 
[[Plik:M_3_28.JPG]]
 
Displays in a thought bubble the text shown in the edit box and does not stop the script execution. Consequently, further instructions are executed, which might cause the information’s quick disappearance. It works in the same way as the say command, it is just a different kind of bubble. A variable can also be dragged into the edit box or an expression can be built in it – often to connect the displayed information we use the join block.
 
'''Example:'''
 
[[Plik:M_3_29.JPG]]
 
Displays a sprite image (the current costume) if the sprite is hidden. If the sprite is visible, it has no effect.
 
[[Plik:M_3_30.JPG]]
 
Hides a sprite image if the sprite is visible. If the sprite is invisible, it has no effect.
 
[[Plik:M_3_31.JPG]]
 
Makes the sprite change its costume to a specific one, selected from the drop-down list. By default the sprite (kitten) has two costumes.
 
'''Example:'''
 
[[Plik:M_3_32.JPG]]
223
edycje