Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Project lags an ungodly amount
- IceCreamTub
-
Scratcher
1000+ posts
Project lags an ungodly amount
This is my code, both custom blocks run without screen refresh which seem to be the main culprit




- NHCoder64
-
Scratcher
67 posts
Project lags an ungodly amount
The “repeat until” block and custom block with run without screen refresh isn’t a good mix.
- IceCreamTub
-
Scratcher
1000+ posts
Project lags an ungodly amount
The “repeat until” block and custom block with run without screen refresh isn’t a good mix.Well what do you suggest
I literally just copy pasted the “split to list arrow” code which worked absolutely fine but when i duplicated the code and changed some stuff for another block it lags
- Catscratcher07
-
Scratcher
1000+ posts
Project lags an ungodly amount
do you need the custom block to be run without screen refresh
- Oumuamua
-
Scratcher
1000+ posts
Project lags an ungodly amount
Perhaps you want to share the thing instead of a screenshot.
- IceCreamTub
-
Scratcher
1000+ posts
Project lags an ungodly amount
do you need the custom block to be run without screen refreshYes
- groggs
-
Scratcher
100+ posts
Project lags an ungodly amount
This is my code, both custom blocks run without screen refresh which seem to be the main culpritG'day!
Screenshot-1.png
Screenshot-2.png
It's better to share your project instead of screenshot, as Oumuamua said. Running block without screen refresh can cause some actual lag, you could also check your browser settings (In case you aren't using desktop app). try turning off some extensions as they can add many unneeded stuff to your editor. take a look at your computer performance, low-end computers may not be able to afford big projects.
You could also see if you're using much unneeded Variables or lists, or also clones if you have a big amount of.
If you didn't find that helpful, you can try some solutions on the Scratch-Wiki: https://en.scratch-wiki.info/wiki/Lag
- IceCreamTub
-
Scratcher
1000+ posts
Project lags an ungodly amount
Perhaps you want to share the thing instead of a screenshot.Hi sorry for the late reply but here https://scratch.mit.edu/projects/781789594/
- topazdragonscale
-
Scratcher
25 posts
Project lags an ungodly amount
The only thing I know is that Turbowarp doesn't help in this situation, I was creating a game with a similar format. I'm not really sure how figure it out, but my alt account does has this project so maybe you peeps can take a look, idk if it will help but-
https://scratch.mit.edu/projects/672695587/
https://scratch.mit.edu/projects/672695587/
- IceCreamTub
-
Scratcher
1000+ posts
Project lags an ungodly amount
The only thing I know is that Turbowarp doesn't help in this situation, I was creating a game with a similar format. I'm not really sure how figure it out, but my alt account does has this project so maybe you peeps can take a look, idk if it will help but-I check my message box hoping for a solution and i see this
https://scratch.mit.edu/projects/672695587/
I'm sorry if that seemed mean or anything I- I'm going to explode
- IceCreamTub
-
Scratcher
1000+ posts
Project lags an ungodly amount
Ok, i found a solution, i just missplaced some variables and that was causing the problem closing topic
- Discussion Forums
- » Help with Scripts
-
» Project lags an ungodly amount





