Is there a save game function or such ?
by Jeff Yaskus · in RTS Starter Kit · 01/19/2010 (12:47 am) · 2 replies
I'm using the TGE 1.5.2 plus RTS kit ... and had a curious thought.
Is there a save game feature or such ? Just curious, as I realized I have yet to see any examples of this with TGE.
How about a PAUSE function ? to pause the game play.
Maybe I could at least keep track of the players progress through my campaign (story line) and return them to the last mission they started -- if nothing else.
Is there a save game feature or such ? Just curious, as I realized I have yet to see any examples of this with TGE.
How about a PAUSE function ? to pause the game play.
Maybe I could at least keep track of the players progress through my campaign (story line) and return them to the last mission they started -- if nothing else.
About the author
Long time gamer, hacker and programmer. With dreams of making video games -
#2
01/19/2010 (2:00 pm)
For pausing gameplay you'll need to write a function that toggles between being paused and unpaused and bind that to a key. To pause the action set $timeScale to 0, to resume set it to 1.
Associate David Montgomery-Blake
David MontgomeryBlake