Hello everyone, i made a small game with processing (coded in JAVA) for my exams. But i still don’t know how to replay the game when it’s lost. I already searched on the net and tried few things but it doesn’t work. So I wonder, could you help me ?
If you are planning on “setting up” state in a sketch more than once, you can also make your resetGame code that you call from setup – so everything that you want to do on any setup, including the very first one – not just resets.