Saving game progess

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
vincent-v
Posts: 10
Joined: Wed Jan 06, 2010 9:39 pm
Location: Valbonne, France

Saving game progess

Post by vincent-v »

Hi,

I would like to make a function that allows user to save his game progess at anytime. I was thinking about serialization but I don't know much how to achieve that in C++.

I found Boost serialization library but I wonder if there exist something more automatic. I mean like in java langage where objects just need to be inherited from Serializable class in order to be serializable.

Any idea or suggestion is welcome.

Thanks in advance ;)
DeM0nFiRe
Posts: 117
Joined: Thu Oct 16, 2008 11:59 pm

Post by DeM0nFiRe »

Well, you can make your own serializable class and make your game objects from that.
Lil Margin
Posts: 212
Joined: Sun Jul 19, 2009 4:24 am
Location: Netherlands Antilles, Curacao

Post by Lil Margin »

you can make your own file format(mainly a text file)
and just put the variables in the text file and when loading load the numbers from the text file
Post Reply