Discuss Scratch

ela___1
New to Scratch
4 posts

How can I change the speed of my moving words to adjust the difficulty of the game?

https://scratch.mit.edu/projects/239718131/

I adapted the script for my moving words from a tutorial, but I don't really see an option to change the speed of their movement. It would have to be accessible for the player to adjust it as well. Would love some pointers! Thanks!
Scratch-Minion
Scratcher
1000+ posts

How can I change the speed of my moving words to adjust the difficulty of the game?

ela___1
New to Scratch
4 posts

How can I change the speed of my moving words to adjust the difficulty of the game?

I posted a link to it. Here it is again. https://scratch.mit.edu/projects/239718131/

Also, a blue line keeps appearing in the middle of the screen once the words start moving…any ideas how to prevent that?

Last edited by ela___1 (Aug. 21, 2018 04:44:10)

RokCoder
Scratcher
1000+ posts

How can I change the speed of my moving words to adjust the difficulty of the game?

In each of the word sprites, replace:

move (3) steps

With:

move (scrollX) steps

The scrollX variable is already visible on the screen. Right-click it and change it to a slider type. Right click it again and set the slider's min and max values. The player can then use that slider to control the speed of movement.


Scratch dabbling for fun…

ela___1
New to Scratch
4 posts

How can I change the speed of my moving words to adjust the difficulty of the game?

Thank you, that's exactly what I was looking for!

Last edited by ela___1 (Aug. 21, 2018 17:26:19)

Powered by DjangoBB