Hello AGKers,
I need some help with a little game I'm making.
So far everything else works fine, but I'm stuck with a way to restart a Level if a certain condition isn't met.
I used the 'Baws' game demo as a backbone for structuring my code, which means it relies on 'Gosubs'.
I can progress through the instructions screen, level 1 and 2 in a linear fashion with no issues whatsoever, however if the conditions for level 1 aren't met, a little interactive sprite pops up, and the end user is meant to click on the sprite and replay the first level.
I've tried quite a few solutions, and the best I've been able to do is go back to the instruction screen. However the moment I decide to proceed from the instruction screen to 'Level 1:' all I get is a blank screen with the timer still running from the last attempt.
Does anyone have any suggestions for how to branch away from the linear fashion of the Gosubs ?
Thanks.
Shadow Props Digital