Game Development Community

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.

#1
09/22/2008 (2:10 am)
Firstly you need to work out what you want to save. Are you just going to allow saving between levels / missions, or do you want to be able to save at any time during play?

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.