Infinitely fading in glitch

Use this template to make awesome bug reports:

Your username: mr.rex!:wolf:

What kind of device are you using?: iPad mini

1 sentence description of the problem (I was doing _________, and then __________ happened): I had the screen fade out by coding a square to fade in, but after a minute the square goes back to being invisible and fades in again. And again. AND A G A I N .
Steps to make the problem happen:

  1. Created a movie
  2. Coded a square to fade in at the end
    ….

I expected this to happen:
The square to stay visible
But instead this happened:
After a minute it went back to invisible and faded in again
Here’s a sweet screenshot of the code:


(I’m not gonna share a pic of it playing bc that would spoil what I’m making but I think you get the point)

Note: sorry if this is a duplicate!

Also, extra report: it’s not showing most tags and not really letting me create tags

7 Likes

Any answers.....?

1 Like

Maybe there's a loophole being created by the last set variable block. Check other parts of the code and see if "Faded out" is used anywhere else.

1 Like

It's not I just created the variable and haven't used it to trigger anything yet

The tags thing is because this topik is in bugs.

1 Like

But the "bugs" tag wouldn't show up

1 Like

Yeah i think it's only in Collabs that you can put custom tags

Oh, I see you have a When _ = _ Do you happen to be setting End back to 1 again anywhere? :thinking:

Edit: @Mr.rex oh that's okay :slight_smile: haha :joy: nooo.. I remember you from Hopscotch by the way :blush: :smile: nice seeing you around here too :smiley:

3 Likes

No. Ur awesome btw!

1 Like

I can't believe I'm followed by one of Rodrigo's fav HSers!

2 Likes

me neither. Me neither

You put the last value BEHIND the repeat
That means it will cycle through all 100 repeats until it does the code under it :wink:

2 Likes

But then the end text is gonna fade in at the same time as the square

3 Likes

Repeating something 100 times takes awhile
Well I don't think

2 Likes

He has it increasing invis by one. Repeat 100 would only fade once.

3 Likes

Wait, I have an idea....

3 Likes

Fixed it! Just add "repeat forever wait 1 milliseconds" at the end.

4 Likes