This is a topic to help you with programming in Scratch. Here are the "blocks" I will be using, I will also call them "code". [blocks] <move( )steps><turn cw( )degrees><turn cw( )degrees><point in direction( <point towards( <go to x )y <go to[ <glide( )secs to x )y <change x by( <set x to( <change y by( <set y to( <if on edge, bounce><x position><y position><direction><switch to costume[ <next costume><say[ ]for( )secs><say[ <think[ ]for( )secs><think[ <change[ ]effect by( <set[ ]effect to( <clear graphic effects><change size by( <set size to( )%><size><show><hide><go to front><go back( )layers> <play sound[ <play sound[ ]and waits><stop all sounds><play drum( )for( )secss><play note( )for( )secss><set instrument to(<clear><pen down><pen up><change pen color by( <set pen color to( <change pen shade by( <set pen shade to( <change pen size by( <set pen size to( <stamp><when green flag clicked><when[ ]key pressed><when[ ]clicked><wait( )secsc><forever><repeat( <broadcast[ <when I receive[ <forever if><if><end><else><wait until><repeat until><stop script><stop all><mouse x><mouse y><mouse down?><key[ ]pressed?><touching[ <touching color[ <color[ ]is over[ <reset timer><timer><loudness><loud?>(( <-> ))(( <*> ))(( </> ))<pick random( )to( <( <<> )><( <=> )><( <>> )><< <and> >><< <or> >><< <not> >>(( <mod> ))<abs( <round( <change{ }by( <set{ }to( <{ }> (( <+> ))[/blocks] Here is the identification system for beginners: Blue: Motion, Purple: Looks, Pink: Sound, Green: Pen, Yellow: Control, Light Blue: Sensing, Light Green: Numbers, Orange: Variables.
Yours sincerely, lioncatscratch
Offline
Hello again! Here is how to create a simple animation. First, add this block: [blocks]<when green flag clicked> [/blocks] Then add this block: [blocks]<forever>[/blocks] Then drop these in the forever block: [block]<move( 10<turn cw( 15 )degrees> )steps>[/blocks] Then test it by pressing the green flag!
lioncatscratch
Offline