Discuss Scratch

General_Deadpan
New to Scratch
4 posts

Unidentified bug.

Hey guys, I have another bug that I can't figure out. This is my project: http://scratch.mit.edu/projects/18210004/ . The bug is a transition from backdrop 5, back to backdrop 4. Something weird is happening. Could you take a look at it? Thanks!
ErnieParke
Scratcher
1000+ posts

Unidentified bug.

The problem with your project is that when you go from backdrop 5 to 4, yes, you detect sprite19 and change all the backgrounds and variables to backdrop 4, but sprite21 hasn't hidden yet. Sprite21 just happens to be where you appear on backdrop4, and so Kenny touches it and says “I must go to backdrop6!” And then your bug appears.

The same thing is basically happening if you're going from backdrop 4 to 5, albeit different. When you go to backdrop 5, you appear right on top of sprite19, which then sends you back all the way to backdrop 4.

Do you see why this is happening now? Either way, you have a nice start to your project. :)

Helping,

ErnieParke

General_Deadpan
New to Scratch
4 posts

Unidentified bug.

Thanks so much! Changing the ‘Y’ value by a bit fixed the problem.

Powered by DjangoBB