Zmiany

Skocz do: nawigacji, wyszukiwania

Introduction 3 - Glossary of basic Scratch 2.0 blocks

Dodane 2068 bajtów, 18:02, 6 lip 2015
[[Plik:M_3_14.JPG]]
 
[[Plik:M_3_15.JPG]]
 
Moves the sprite to a point with a specific y coordinate value (the value of the x coordinate remains unchanged) in accordance with the current direction and current pen settings (applied/raised, colour, thickness). The default value can be edited.
'''Example:'''
 
[[Plik:M_3_16.JPG]]
 
Changes the direction to the opposite when the sprite touches the edge of the stage.
 
'''Example:'''
 
[[Plik:M_3_17.JPG]]
 
Specifies the sprite’s behaviour depending on the direction. There are three options in the drop-down list we can choose from:
* all around – the sprite looks in accordance with its direction,
* left – right – the sprite looks only to the left or right,
* don’t rotate – the sprite does not react to a change of direction.
 
Regardless of the manner of indicating the direction, the sprite moves in accordance with its direction. The method of indicating the direction can also be specified by editing.
 
[[Plik:M_3_18.JPG|center]]
 
'''Example:'''
 
[[Plik:M_3_19.JPG]]
 
The current value of the sprite’s x coordinate – its centre. The centre can be set by editing the sprite’s costume. The returned value can be used as an argument in expressions. Checking the checkbox on the left displays the current coordinates on the stage. It adopts the values between -240 and 240.
 
'''Example:'''
 
[[Plik:M_3_20.JPG]]
 
The current value of the sprite’s y coordinate – its centre. The centre can be set by editing the sprite’s costume. The returned value can be used as an argument in expressions. Checking the checkbox on the left displays the current coordinate on the stage. It adopts the values between -180 and 180.
 
'''Example:'''
 
[[Plik:M_3_21.JPG]]
 
[[Plik:M_3_22.JPG]]
 
The current value of the sprite’s direction. It canbe used as an argument in expressions. Checking the checkbox on the left displays the current direction on the stage. It adopts the values between -180 and 180 degrees.
'''Example:'''
 
[[Plik:M_3_23.JPG]]
223
edycje