You are on page 1of 21

ltee.

gr - SCRATCH

4o 2008



http://www.ltee.gr
4o , 28-30 2008
&
:


SCRATCH
. , . ,
. , . , . , .

SCRATCH
: Reference Guide
http://scratch.wik.is/@api/deki/files/19/=ScratchReferenceGuide.pdf

, 2008

ltee.gr - SCRATCH

4o 2008

..................................................................................................................................... 2
1.1 scratch.............................................................. 2
2 scratch................................................................................ 3
2.1 .................................................................................................................................. 3
2.2 ................................................................................... 3
2.3 ......................................................................................................... 4
2.4 ..............................................................5
2.5 .........................................................................................................................5
2.6 .................................................................................................................................... 7
2.7 ................................................................................... 7
2.8 ............................................................................................................ 8
2.9 .............................................................................................................. 8
2.10 .............................................................................................................................. 8
3 Scratch....................................................................................................12
3.1 ........................................................................................ 13
3.1.1 Motion .......................................................................................... 14
3.1.2 Looks ....................................................................................... 15
3.1.3 Sound ............................................................................................... 16
3.1.4 Pen - ............................................................................................ 17
3.1.5 Control- .......................................................................................... 17
3.1.6 Sensing ........................................................... 19
3.1.7 NUMBERS................................................................................................................ 20
3.1.8 VARIABLES............................................................................................................. 20

scratch
, (
) .
scratch.
scratch :
ScratchGettingStarted.pdf : http://scratch.wik.is/Support scratch
. scratch
(ScratchReferenceGuide.pdf)
: , (FAQ).
1.1 scratch.
scratch :
sprites. sprite ---custom
-stage .
sprite, . sprite
, , .
:
,
.
,
sprite.
2

ltee.gr - SCRATCH

4o 2008

, ,
(scripts). .
, scratch
.
,
.

2 scratch
2.1
(stage). sprite
. 480 360 .
x y. x y
0. x y
mouse x-y display
.


.
Esc (escape).
2.2
scratch
. ,
:

ltee.gr - SCRATCH

4o 2008

( )

,
.
.
sprite ,
grab screen region for new sprite.
2.3

. ,
.

sprite,

sprite
.
. , ,
,
.
, shift

.

.
,

(background). ,

.

ltee.gr - SCRATCH

4o 2008

2.4
, ()
.
. ()
.
.

.
,
.
.
.
,
.
,
.

(-)
. ,
, .
()

.

.


.
, clean up
. ,
save picture of scripts.
2.5
costumes
.
.

ltee.gr - SCRATCH

4o 2008

(girl1-walking)
.
.
:




scratch , : JPG,
BMP, PNG GIF ( animated GIF).

. .


.

ltee.gr - SCRATCH

4o 2008

2.6
sounds .

. scratch
MP3, WAV, AIF AU
( 8 bits 16 bits , 24 bits )
2.7

,
x-y , (-direction)
.
sprite.

(move block).
: 0=, 90=, 180=,
90=.
.

(direction=90).
Lock lock state .

web (web player).

ltee.gr - SCRATCH

4o 2008

Export
, .
2.8
:
.
- :
.
: (
).
2.9

2.10

New, Open, Save Save As


. Share!
scratch (http://scratch.mit.edu).
Undo ,
(
). Language
(interface).

(
scratch).
scratch.
, locale
scratch.
extras :
Import Project ( ):
backgrounds .

ltee.gr - SCRATCH

4o 2008

-sprites
.
Start Single Stepping ( -- ):
Scratch ,
.

,
.
Compress Sounds ( ):

.
Compress Images ( ):

.
Want Help? ( )
, .
, help ( )
.


.

.
,
. Enter
.

ltee.gr - SCRATCH

4o 2008

:
Paintbrush ():
. ,
- Options Area .

.
Eraser (): .
. , - Options
Area .

.
Fill ():
(gradient). ,
( ,
, , ).

.
Rectangle ( ):
(
Shift)
. ,
.

10

ltee.gr - SCRATCH

4o 2008

Ellipse ():
( shift) .
,
.
Line (): (
Shift )
. ,
.

.
Text (): .
,
.
.
Selection ():
( delete , Shift+delete Shift+backspace
(crop) .
Stamp ():
( Shift++ )
Eyedropper ():
(
).
(Current Colors) (
) .

.
(Color Palettes)
( Shift ).
Set Rotation Center ( )

.
Zoom (in out)
. (zoom) 100%,
.
(Zoom) .

11

ltee.gr - SCRATCH

4o 2008

Import ()
.
Clear ()
.
,
(Scale) .
Shift
.
.

Rotate (
). Shift
.
(flip)
Flip ()
.
Undo () .
Redo ( )
.

3 Scratch


:
Stack Blocks: /
,
.
. stack blocks ,
( 10
)
. ( pop

). stack blocks

,
stack blocks.

12

ltee.gr - SCRATCH

4o 2008

Hats: , :
.
. , ,
.
Reporters: ,

,

. reporters ,
. reporters
(
)
(
). reporters
(
) ( )
(Boolean values) (

).

reporters ,

.
reporter. reporter
.
reporter :

reporter


reporter ( )

format.
slider format
. monitor slider format
.
3.1
scratch
: (motion), (looks), (sound),
(pen), (control), (sensing), (number),
(variables).

13

ltee.gr - SCRATCH

4o 2008

3.1.1 Motion

.

.

.

(0=, 90=, 180=,
-90=).

.
x y
.

.


.
x
.
x
.
y
.
y
.

.
x . (
-240 240)
y .
( -180 180)
.
(0=, 90=, 180=, -90=).

14

ltee.gr - SCRATCH

4o 2008

3.1.2 Looks

.

(
,
).
.

.

.
.

.

.

.

.

. (
)

. (
0 100)
.

.

(%)
.

.

15

ltee.gr - SCRATCH

4o 2008

.

.

.

,
.

3.1.3 Sound
,


.


.
.
,
,
.
(
)
.


sprite
. ( sprite
)
sprite
.
sprite
.
sprite.

16

ltee.gr - SCRATCH

4o 2008
sprite me
.
sprite
.
sprite
.

3.1.4 Pen -

stamps .
,
.
,
.
,
.

.

(pen shade=0
, pen shade=100
).
.

(pen shade=0 , pen shade=100
).
.
.

.

3.1.5 Control-
,
.

17

ltee.gr - SCRATCH

4o 2008

,
.
-sprite
.
,
.
,
( ).


.
- sprite
,

.
- sprite
,

- sprite.


.
,

,
if,

, else, .

.
,

. ,
.
18

ltee.gr - SCRATCH

4o 2008



- sprite.

3.1.6 Sensing
-
-
,

,
,
. (
)
,
. (
)
, (
sprite)
( sprite).
( -

)

.
.
.
( ).

.
(
1 100)
.
,
30 (
1 100)
. (

scratch

19

ltee.gr - SCRATCH

4o 2008

http://scratch.mit.edu/scratchboard)
,
. (
scratch

http://scratch.mit.edu/scratchboard)

3.1.7 NUMBERS
.
.
.
.

.

.

.

.
.
.

.

(abs, sqrt, sin, cos, tan, asin, acos, atan,
ln,log, e^, 10^)
.

.
.

3.1.8 VARIABLES

. ,
(
).

20

ltee.gr - SCRATCH

4o 2008
()
().

.
.
.
.

21

You might also like