Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Scratch lag on school Chromebook makes new items spawn while the player can't move, how do I fix this?
- EpicPixels654
-
12 posts
Scratch lag on school Chromebook makes new items spawn while the player can't move, how do I fix this?
I'm making a game for a school project where scratch-cat is falling and has to avoid obstacles. Except the school Chromebooks constantly lag on scratch, the way the game works is that it clones the obstacle sprite. Everything except the cloning function freezes when it lags. Is there a way to stop the clones from spawning during the lag?
Here is the game link: https://scratch.mit.edu/projects/650608158/
Just for clarification, the lag itself is acceptable, it's just that when it does lag it has the chance of making your run end because 2 obstacles can spawn on both sides.
Here is the game link: https://scratch.mit.edu/projects/650608158/
Just for clarification, the lag itself is acceptable, it's just that when it does lag it has the chance of making your run end because 2 obstacles can spawn on both sides.
- fakemaker1337
-
99 posts
Scratch lag on school Chromebook makes new items spawn while the player can't move, how do I fix this?
Must be an issue with your Chromebook, works just fine for me.
when green flag clicked
forever
if <<On Scratch> and <On Forums>> then
repeat until <(help need near me) = [no]>
if <(help need near me) = [yes]> then
Help!
end
end
end
end
- Discussion Forums
- » Help with Scripts
-
» Scratch lag on school Chromebook makes new items spawn while the player can't move, how do I fix this?