Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do you change the speed of a sprite?
- smoltownboi
- Scratcher
1 post
How do you change the speed of a sprite?
I’m trying to make a game where things are falling at different speeds. Can anyone help?
- -UniverseCoder-
- Scratcher
100+ posts
How do you change the speed of a sprite?
Change the amount of how much will the y position go down.
Example:
Also reported to be moved to help with scripts.
Example:
change y by (-5)Is slower
change y by (-10)Is faster.
Also reported to be moved to help with scripts.
Select my siggy and use shift+down arrow to view the rest
I use the nono word.
Favorite Quote:
“In this world, it’s ninja or BE ninjaed.” – ScolderCreations
Search this in Google to find all my posts:f4117f308b6f2350959bdb493b0fb837268ac7523034cd8aa82d00a5d99cd2af
(o_o::#244ca5)(D_D::#3873f5)(o_o::#244ca5)('_'::#3873f5)(\( _ \(::#244ca5)(\) _ \)::#3873f5)::#181b29 reporterMade by mybearworld
- IAmHutch
- Scratcher
100+ posts
How do you change the speed of a sprite?
set [YVelocity] to [0]
repeat until <touching ground>
change y by (YVelocity)
change [YVelocity] by (-1)
end
“Thor” -Thor, Thor (2011)
- Discussion Forums
- » Help with Scripts
- » How do you change the speed of a sprite?