Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Cookie Clicker Lagging
- WanderingTrader3
-
6 posts
Cookie Clicker Lagging
I need help! I don't know what is making my project lag, and if you have any suggestions for me, please let me know!
The project file is here: Project
Please do not remix, steal, or in any way use my project other than to test to see what is wrong with it.
The project file is here: Project
Please do not remix, steal, or in any way use my project other than to test to see what is wrong with it.
- PaSc_Clan
-
93 posts
Cookie Clicker Lagging
In the “Achievments” sprite, you have a custom block called “Check Advancement #3” that runs without screen refresh.
Turn off “run without screen refresh” and it should fix this problem.
If you have a custom block running without screen refresh every frame or in a forever loop without a wait then it will lag the project due to the script being ran multiple times every frame, 30 times a second. I'm sure the reason is self explanatory. Hope this helps.
Turn off “run without screen refresh” and it should fix this problem.
If you have a custom block running without screen refresh every frame or in a forever loop without a wait then it will lag the project due to the script being ran multiple times every frame, 30 times a second. I'm sure the reason is self explanatory. Hope this helps.
Last edited by PaSc_Clan (Oct. 10, 2024 20:53:25)
- WanderingTrader3
-
6 posts
Cookie Clicker Lagging
It did, thank you very much! I will be sure to leave an homage to you in the credits!
- Discussion Forums
- » Help with Scripts
-
» Cookie Clicker Lagging