how to change values on window closeing

Non-platform specific questions.

how to change values on window closeing

Postby 157pl » Sat Oct 22, 2011 5:38 pm

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
User avatar
157pl
 
Posts: 109
Joined: Thu May 13, 2010 10:49 pm
Location: AZ
Score: 3 Give a positive score

Re: how to change values on window closeing

Postby skydereign » Sat Oct 22, 2011 9:07 pm

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.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest