Save Game Help
by Jelili · in Torque X 2D · 09/09/2008 (6:26 am) · 1 replies
Hello,
I was wondering if anyone has implemented any save game functions. I'm looking for pointers in implementing some save game routines and maybe a save game interface.
I hope someone has done this because I'm .. kind of stumped on how I might do this within TourqeX.
I was wondering if anyone has implemented any save game functions. I'm looking for pointers in implementing some save game routines and maybe a save game interface.
I hope someone has done this because I'm .. kind of stumped on how I might do this within TourqeX.
Torque Owner Tim Aidley
If it's the first, you'll just need a simple file containing player information and how many levels they've progressed into the game.
If it's the second, you'll need to serialise every game object out to a file. You'll probably want to optimise it so that only information that has changed from default level starting state gets saved.