Discuss Scratch

2021culpia
Scratcher
7 posts

PLEASE HELP WITH BUG!

Game Link: https://scratch.mit.edu/projects/195886147/#player

The problem I am having occurs after I win Level 2 and click on the Main Menu Button. For some reason when the backdrop switches to Main Menu, Sprite 4 appears on the screen. It is supposed to stay hidden until the Single button is clicked on.

Any help is greatly appreciated. This project is due tomorrow and I really need some help.
Thank you in advance for your time!
awesomeawesxomeman3
Scratcher
62 posts

PLEASE HELP WITH BUG!

This is because the forever loop keeps spawning Sprite 4, even when the game is finished. You need to add a variable that tells the sprites when the game is over, and rather than a forever loop that keeps spawning Sprite 4, use a
repeat until <(game over) = [1]> 
end
block

Powered by DjangoBB