I would like to make a button that exits my game(closes the framework window).
How do I make it close? (from within the Game::Go() function)
Thanks in advance,
TheNotch3000
How to make the framework exit?
-
- Posts: 2
- Joined: June 22nd, 2012, 12:54 pm
- Contact:
Re: How to make the framework exit?
exit ( 1 ); should work. There might be other / better, but that has worked for me.
ʕ •ᴥ•ʔ
-
- Posts: 2
- Joined: June 22nd, 2012, 12:54 pm
- Contact:
Re: How to make the framework exit?
Thanks, it worked.(That was a fast reaction!)
Re: How to make the framework exit?
I am der Blitz.
Nah, I get notified for new posts and I just sat on the comp when I got notified.
Nah, I get notified for new posts and I just sat on the comp when I got notified.
ʕ •ᴥ•ʔ