Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Game bar showing for some reason (its a clone, and no matter what I try to do, it won't stop.) Please give help quick.
- CGS174
-
1 post
Game bar showing for some reason (its a clone, and no matter what I try to do, it won't stop.) Please give help quick.
https://scratch.mit.edu/projects/1062111584/ Here it is. Instructions of what you need to do to check if this glitch should be happening is inside the project.
- No_Normal
-
100+ posts
Game bar showing for some reason (its a clone, and no matter what I try to do, it won't stop.) Please give help quick.
When you start a new clone, you have a SHOW block, just change it to a HIDE block.
- deck26
-
1000+ posts
Game bar showing for some reason (its a clone, and no matter what I try to do, it won't stop.) Please give help quick.
Please explain why you think it shouldn't be possible for it to appear. Why do you broadcast highjumpbar twice?
The clone is created by the highjumpbar receiver (it broadcasts createcloneofhighjumpbar). The variable killclones? is local so the clone has its own copy which is initially 0 and there is nothing that changes the value for the clone so the wait in the clone script never sees teh value as 1 and never hides the clone.
The clone is created by the highjumpbar receiver (it broadcasts createcloneofhighjumpbar). The variable killclones? is local so the clone has its own copy which is initially 0 and there is nothing that changes the value for the clone so the wait in the clone script never sees teh value as 1 and never hides the clone.
- EpicGhoul993
-
1000+ posts
Game bar showing for some reason (its a clone, and no matter what I try to do, it won't stop.) Please give help quick.
So you have a flag script in highjumpbar sprite that broadcasts highjumpbar (nice names btw), which then broadcasts createcloneofhighjumpbar, which the High jumper sprite listens to to finally create a clone of highjumpbar.
…Yeah that's total mess. Simply removing the flag script should fix it for now though.
I forgor to refresh the page before replying so uhhh hi deck
…Yeah that's total mess. Simply removing the flag script should fix it for now though.
I forgor to refresh the page before replying so uhhh hi deck
Last edited by EpicGhoul993 (Sept. 2, 2024 10:23:10)
- Discussion Forums
- » Help with Scripts
-
» Game bar showing for some reason (its a clone, and no matter what I try to do, it won't stop.) Please give help quick.