Discuss Scratch

belledrill162
Scratcher
8 posts

How to make Sprite hidden when backdrop changes

Hi so in my game there’s a menu and once you press start a countdown comes up on the screen. There is an x button to exit the game and go back to the menu but I want to make it so that when the backdrop change to something, the countdown sprites get hidden. Right now I have this:

when backdrop switches to [ v]
hide

It’s not working. I tried adding a forever loop and it glitched. Help is appreciated.
MasterofTheBrick
Scratcher
1000+ posts

How to make Sprite hidden when backdrop changes

Please share a link to your project.
belledrill162
Scratcher
8 posts

How to make Sprite hidden when backdrop changes

MasterofTheBrick
Scratcher
1000+ posts

How to make Sprite hidden when backdrop changes

The countdown script for each sprite takes about 3 seconds in total to run (due to the wait blocks). Therefore, using the “show” block after the 2 second wait was done will show the initially hidden sprite if the backdrop was switched before those two seconds were up. To cancel your scripts completely, use a stop block before hiding the sprite when the backdrop changes to prevent the appearance of the timer again later on.

when backdrop switches to [… v]
stop [other scripts in sprite v]
hide
belledrill162
Scratcher
8 posts

How to make Sprite hidden when backdrop changes

thanks
dev4tnoob
New Scratcher
1 post

How to make Sprite hidden when backdrop changes

guys can i have some help i need some ideas to add to my gun game
[u

Powered by DjangoBB