This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-08-15 12:28:06

mletreat
Scratcher
Registered: 2008-05-01
Posts: 100+

Helpful things for new members.

Thanks!
Moving this to the Welcome New Users topic

Offline

 

#2 2008-08-15 14:32:49

Llennoccm7
Scratcher
Registered: 2008-01-20
Posts: 100+

Re: Helpful things for new members.

Heres Some Stuff For New Users:

B=Biginner  M=Medium  I=Intermediat


Basic Movement:
(B)

If you want to have basic movement, you have to use this
script:

<when green flag clicked>
<forever>
<move( 10 )steps>

<if on edge, bounce>
<end>


Gravity Ball:
(I)

Heres an Example

Make a ball sprite.

To make the gravity ball, first, you make a variable named "Yvelocity".
<{ Yvelocity }>

Now, the first script is:
<when green flag clicked>
<go to x sad 0)y sad  13
<forever>
<change y by( <{ Yvelocity }>
<end>

Now Make a black square sprite and name it "ground"

Go back to the ball sprite an d make a new script:

<when green flag clicked>
<forever>
<if><touching[ ground
<set{ Yvelocity }to( (( <{ Yvelocity }>  <*> -0.95  ))
<end>
<if><<  <not> <touching[ ground >>
<change{ Yvelocity }by( -1
<end>
<end>


Reverse Mouse Movement
(M)

Reverse Mouse Movement is when the sprite
is going where the mouse go's but in reverse!

Make a sprite.

Here are the scripts:

<when green flag clicked>
<forever>
<set y to( (( <mouse y> <-> (( <mouse y> <*>  2  )) ))
<end>
<when green flag clicked>
<forever>
<set x to( (( <mouse x> <-> (( <mouse x> <*>  2  )) ))
<end>
_________________________________________________________________________________


Well There You GO! I hope these Tips help in your projects!


Go to PipeIineGames! The First Annual Scratch Awards!
http://img411.imageshack.us/img411/8658/llennoccm7.png

Offline

 

Board footer