Zmiany

Skocz do: nawigacji, wyszukiwania

Introduction 3 - Glossary of basic Scratch 2.0 blocks

Dodane 1677 bajtów, 08:33, 7 lip 2015
/* Operators */
[[Plik:M_3_115.JPG]]
 
==Stage blocks==
 
[[Plik:M_3_116.JPG|center]]
 
The stage, like sprites, can have its own scripts. To create scripts for the stage we need to select it as the active object in the bottom right corner of the screen – the area for managing sprites and the stage. The choice of available blocks will change then – many of them apply only to sprites and may not be used in stage scripts. Differences are described below.
 
# The '''Motion''' category
 
There is no block in this category, the stage cannot be moved or rotated.
 
# The '''Looks''' category
Most changes are in this category. The stage can have multiple backgrounds, just like a sprite can have multiple costumes. There are blocks associated with the change of background and information about the selected background. The most important of these are the following:
 
[[Plik:M_3_117.JPG|center]]
 
# The '''Sounds''' category
The blocks are the same, but when we play audio files they relate to the sounds assigned to the stage in the '''Sounds''' tab.
# The '''Pen''' category
In this category, there is only one block for the stage – '''clear'''.
 
# The '''Data''' category
 
The same as for sprites. The only difference is that we can only create variables available for all sprites.
 
# The '''Events''' category
The same blocks as for sprites.
# The '''Control''' category
The same blocks as for sprites.
# The '''Sensing''' category
The same blocks as for sprites. There are no blocks for sprites interacting with other objects and colours ('''is touching, is touching the colour, the colour is touching the colour, distance from''')
# The category '''Events'''
The same blocks as for sprites.
223
edycje