Discuss Scratch

LG125
Scratcher
500+ posts

Why is settings a bit buggy

https://turbowarp.org/550309290/

When I toggle the mouse on/off settings, after i click it 2 times, it disappears. Also, the mouse doesnt ever show up even though its supposed to. Why?



ReinoScreech
Scratcher
500+ posts

Why is settings a bit buggy

turbowarp is blocked on my device so I can’t help.
My browser / operating system: MacOS Macintosh X 10.15.6, Safari 14.1.1, No Flash version detected

Last edited by ReinoScreech (Sept. 22, 2021 19:27:53)

LG125
Scratcher
500+ posts

Why is settings a bit buggy

Bumpty dumpty sat on a wall. (In other words bump)

Last edited by LG125 (Sept. 23, 2021 20:41:27)




LG125
Scratcher
500+ posts

Why is settings a bit buggy

I forgot my other original bump message.

Well this took some time to look through my history.



deck26
Scratcher
1000+ posts

Why is settings a bit buggy

Why do you only have code to check for costume = 3 to 7 and treat costumes 8, 9 and 10 the same?

If you ghost the clones by 50% instead of hiding them you'll see they get replaced by duplicate copies of the topmost costume.

I haven't worked out the logic beyond that but it looks like your problem is there somewhere.
awesome-llama
Scratcher
1000+ posts

Why is settings a bit buggy

It's because your if-else blocks to check which costume a button is on is not correct. When the button disappears, it actually has just switched to the wrong costume, the costume of a different button (so it overlaps the other buttons perfectly).


LG125
Scratcher
500+ posts

Why is settings a bit buggy

awesome-llama wrote:

It's because your if-else blocks to check which costume a button is on is not correct. When the button disappears, it actually has just switched to the wrong costume, the costume of a different button (so it overlaps the other buttons perfectly).
I realized the if check was all wrong, i was checking the wrong costume for the clone.

After a bit of modification, I got it.



Powered by DjangoBB