I reported the problem with the "level failed" message coming up too soon to Peter. I think a few of you will be as surprised as I was to discover that the level will still complete after the "failed" message has appeared. I had to retweak my solution several times
. Anyway, I thought I should post the reply so you can all see his comments.
Hi Mark,
Yes - this is something that I knew could/would happen. The 'level failed' message is triggered by an armadillo being underneath [half the level height] below the level bottom.
This causes a problem now because it's possible for that armadillo to pass the level. What happens in this situation is that although the 'level failed' message is shown, it's overridden by the the 'level complete' message when it happens.
I made it this way so because the 'level failed' message is useful sometimes. The alternative would be to remove it completely. What do you think should happen in these instances?
See attachment for a solution which initially fails before succeeding.