Discuss Scratch

-christ_is_king-
Scratcher
3 posts

my project's glitches are goin' crazy!

I am working on a game but it is glitching. Every time I start the project, it lags; but if I delete all the code in one sprite (the sword sprite), then re-add and re-start the code for that sprite, all of the lag for the game stops! But, if I click the green flag again to re-start the game, the lag happens again, until I do the same thing and delete the sword sprite code, and re-add it.

https://turbowarp.org/566988511/editor <— that's the project

Last edited by -christ_is_king- (Sept. 5, 2021 19:10:22)

KangaCoder
Scratcher
1000+ posts

my project's glitches are goin' crazy!

Could it be your device?
-christ_is_king-
Scratcher
3 posts

my project's glitches are goin' crazy!

I was wondering that. Maybe…my computer is a bit older.
Thanks for your response; will see if any other Scratchers have experienced this.
Chiroyce
Scratcher
1000+ posts

my project's glitches are goin' crazy!

Turn off run without screen refresh for this block


and




Adding a wait block inside a run without screen refresh custom block will cause a LOT of lag.

Last edited by Chiroyce (Sept. 6, 2021 03:51:17)

-christ_is_king-
Scratcher
3 posts

my project's glitches are goin' crazy!

Thank you, @Chiroyce! It works perfectly now! I appreciate your help. Have a good day.

Last edited by -christ_is_king- (Sept. 10, 2021 19:28:42)

gdpradd63847faa1b1fadde2fdaf
Scratcher
500+ posts

my project's glitches are goin' crazy!

Please only share bugs about Scratch, not TurboWarp. Otherwise, go here for reporting bugs: https://scratch.mit.edu/projects/366001364/
Ciyob86
Scratcher
500+ posts

my project's glitches are goin' crazy!

GerekRulesGwof wrote:

Please only share bugs about Scratch, not TurboWarp. Otherwise, go here for reporting bugs: https://scratch.mit.edu/projects/366001364/
This isn’t a turbo warp bug, they were only using turbo warp to link unshared projects.

Powered by DjangoBB