Discuss Scratch

Noahslp3
Scratcher
5 posts

I need help with this bug.

I made a game but there's this bug that I can't make the monsters slow down. Here is the code.

when I receive [Easy mode v]
forever
repeat (35)
change x by (20)

end
end

Here's the next one


when I receive [Medium Mode v]
forever
repeat (25)
change x by (30)

end
end

If you are confused, Check this link.

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

Last edited by Noahslp3 (Sept. 22, 2021 14:28:04)

deck26
Scratcher
1000+ posts

I need help with this bug.

If it can Scratch will run that loop 30 times a second. So the width of the screen (480) is covered in less than a second even in the Easy mode. Add a delay after each move to slow it down.
Noahslp3
Scratcher
5 posts

I need help with this bug.

ok thanks

Powered by DjangoBB