Game is bugged
id: 751105
category: Help with Scripts
posts: 2
toad_duzz
loading
the game
I just started working on this game and I've already encountered a bug that I can't find my way around. I have no clue what's causing it but since I just started the game, there's not much to look at so it shouldn't be hard to find the issue. Anyways for puzzle 1 when you click all 4 dots it brings you to puzzle 2 where it should be hiding all the dots from the previous level but…I have no clue what's causing it to hide only one dot.
yeah im a rookie
I just started working on this game and I've already encountered a bug that I can't find my way around. I have no clue what's causing it but since I just started the game, there's not much to look at so it shouldn't be hard to find the issue. Anyways for puzzle 1 when you click all 4 dots it brings you to puzzle 2 where it should be hiding all the dots from the previous level but…I have no clue what's causing it to hide only one dot.
yeah im a rookie
PhiPhenomenon
loading
The order the scripts run causes some of the buttons to show again. When every button's variable is set to 1, puzzle 1 - dot 4 sets all the variables back to zero and increases the puzzler counter. However, it does this before the other sprites can tell the puzzle counter has been increased, so they loop back to the beginning and show again.
You can fix this by removing the forever loops in every button. You're using a wait until block anyway, so you don't need the loop. I'd also add a wait (0) seconds block before setting the variables back to zero in dot 4. This will give the other sprites time to check if they should be hidden before resetting.
You can fix this by removing the forever loops in every button. You're using a wait until block anyway, so you don't need the loop. I'd also add a wait (0) seconds block before setting the variables back to zero in dot 4. This will give the other sprites time to check if they should be hidden before resetting.