This site requires JavaScript, please enable it in your browser!
Greenfoot back
TylerBlair
TylerBlair wrote ...

2 days ago

Is there a way to press a button and have the program quit completely?

TylerBlair TylerBlair

2 days ago

#
I am doing a game over screen for my game and was wondering if there was a way that a user can press a key and then have the program quit. I know how the keypress works but I am just looking for what would come after that.
danpost danpost

2 days ago

#
TylerBlair wrote...
I was wondering if there was a way that a user can press a key and then have the program quit. I know how the keypress works but I am just looking for what would come after that.
I think you want:
Greenfoot.stop();
You need to login to post a reply.