Crystal Space
Welcome, Guest. Please login or register.
October 25, 2014, 11:34:26 pm

Login with username, password and session length
Search:     Advanced search
9011 Posts in 2044 Topics by 8828 Members
Latest Member: Saikjanna
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  What is the best way to save a game?
« previous next »
Pages: [1] Print
Author Topic: What is the best way to save a game?  (Read 1853 times)
Newbie
*
Posts: 8


View Profile Email
« on: January 31, 2008, 04:05:05 pm »

Dear CS Developers and Gamers:
     I need to save data to a file for a game I'm helping with. I have seen the csSaver class that it saves objects to file. Are object descriptions all that is required for restoring a game? I see the celPersistence class aswell which will be helpful for CEL side of the game. I would like all experience anyone has to offer on this subject.
Logged
res
Develazyoper
CS Developer
Full Member
*****
Posts: 206


View Profile Email
« Reply #1 on: January 31, 2008, 07:22:45 pm »

csSaver is for storing meshes, level data etc. This is probably not what you want - after all, the models and levels are the same for any game, saved or not. You more likely want to just store the entity states.
Logged
Njoc
Newbie
*
Posts: 27


View Profile Email
« Reply #2 on: January 31, 2008, 10:25:57 pm »

"Are object descriptions all that is required for restoring a game?"

Depends from your game. When you use CEL, you can save all CEL entity easily.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.37 seconds with 15 queries.