Discuss Scratch

minecraftjulRBX
Scratcher
100 posts

Multiple Looping Scripts lags movements

Whenever I do more than 1 loop. Just simple loops such as:
when green flag clicked
forever
wait (0) secs
change y by (-1)
end

Even when the only thing in the project is 2 of these loops & nothing else everything lags until one of them stops.
I see almost all other games having a lot of things moving, rotating, clones & so on. But that doesn't lag at all.
Why does it lag for me in my own projects with multiple loops?

I'm mostly known as @MineJulRBX so no longer use this account, I'm also known as MineWolfa


cheesytoasties
Scratcher
80 posts

Multiple Looping Scripts lags movements

As I recently learned there are many more ways to do loops than using a forever loop. And also if you are wanting to use forever loops then make sure they aren't always running! Only run them when they are needed. A simple way of doing that would be with broadcasts. I'd appreciate if you could share your project so I could take a look and see if I can help in any way.

Hoping that helps,
~ Jamie

Me in a nutshell?

Pfft, I don't think I'd fit…
Plus I'm allergic.

Wait, that's not what you meant?
Oh okay,

Powered by DjangoBB