GAME OVER, YOU WIN, YOU LOSE
By syakira, with 2 replies.
Last reply by Duta, almost 13 years ago:
I won't give you the whole code, because that's up to you (I don't know how you want it to look), but basically just have an actor that is created when you win/lose. You should have a parameter in the actor's constructor that says whether they won or lost. The actor should either have a constructor that makes a GreenfootImage which is then set as the actors image, like below: