Opened 18 years ago
Last modified 17 years ago
#203 new defect
Saving Orxonox Game State
Reported by: | patrick | Owned by: | patrick |
---|---|---|---|
Priority: | blocker | Milestone: | Old Orxonox tickets orx-v0 |
Component: | GeneralFramework | Version: | |
Keywords: | Cc: | ||
Referenced By: | References: |
Description
Introduction
At any point in the game, the state of the world should be saveable and later on be loadable. This is a very common feature in nowadays games. This may be a very very complicated topic.
Goals
The state of the world needs to be saveable. The state of an object needs to be saved if and only if this state is not the natural/initial state of the object and this state is not deducable from the state of other objects.
Implementation
Let's save the state in xml form, therefore the tinyxml module, already contained in orxonox can be used. Each class needs to specify which properties need to be saved to make it's whole reproducable. Saving is therefore some sort of reversed loadparam process.
Change History (1)
comment:1 Changed 17 years ago by bknecht
- Milestone changed from Features to Old Orxonox tickets
Milestone Features deleted