Page 1 of 1

how to change values on window closeing

PostPosted: Sat Oct 22, 2011 5:38 pm
by 157pl
i want to decrament a number when you close the game but i cant figure out how to do it when you hit the x button on the top right of the window

Re: how to change values on window closeing

PostPosted: Sat Oct 22, 2011 9:07 pm
by skydereign
Well, we don't have an event for when the game closes so you can't do it that way. But you can do the next best thing. Decrease it when you open the game.