Discuss Scratch

Me_Tasty_Cookie
Scratcher
1 post

Speeding up a sprites movement.

Hi, so I'm making a game, and when you kill an enemy your score goes up by one, but i want it so every 50 points the enemy comes at you faster by about 0.3, and stays that speed until it speeds up again when you get another 50 points, please help me with this because i don't understand how to do it and my game will be easy without it. Thanks.
Despicable_Dad
Scratcher
500+ posts

Speeding up a sprites movement.

Replace
change [score v] by (1)
with
change [score v] by (1)
change [another variable v] by (1)
if <(another variable) > [49]> then
ADJUST SPEED HERE
set [another variable v] to [0]
end
milo221
Scratcher
16 posts

Speeding up a sprites movement.

you need to change the amount of steps i think

Powered by DjangoBB