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 0)y 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!
Offline