Make a variable called Speed. Set Speed to the initial value of what you change x (or y) by. Finally, when you get a certain number of points, change speed by a certain number.
Offline
scratcher7_13 wrote:
Make a variable called Speed. Set Speed to the initial value of what you change x (or y) by. Finally, when you get a certain number of points, change speed by a certain number.
Yes, scratcher7_13 is correct. Basically, you these scripts:
<when green flag clicked>
<set{speed }to( 2
<set{level } to (1
<set x to( speed
forever
if <level> =2
<change{speed } by (1
else <level> =3
<change {speed} by (2
etc.etc.
There are many variations of how to do it though. Hope this helps!!
Offline
I tried it like this, but it did not work it goes very slow all the way now:
<when green flag clicked>
<set{ speed }to( 2
<set{ count }to( 0
<forever>
<set x to( speed
<if><( count )>2
<change{ speed }by( 4
any ideas??
Offline
The problem you have is the "set x to (speed)" block. Really you want to change x by speed, but there is another small problem with your scripts, as soon as you reach count 2 the sprite will move too quickly. Try these scripts:
The second script makes it so every time the score increase, speed also does.
I hope this helps
Offline
demosthenes wrote:
The problem you have is the "set x to (speed)" block. Really you want to change x by speed, but there is another small problem with your scripts, as soon as you reach count 2 the sprite will move too quickly. Try these scripts:
http://img716.imageshack.us/img716/8812 … 3at827.png
The second script makes it so every time the score increase, speed also does.
I hope this helps![]()
Set count to count? I think you mean set old count to count.
Offline