Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
EngineStateSaveOptions.cs
1namespace Gondwana;
2
13
15public sealed class EngineStateSaveOptions
16{
18 public bool Compress { get; set; }
20 public EngineStateParts Parts { get; set; } = EngineStateParts.All;
22 public DefinitionPersistence Tilesheets { get; set; }
24 public DefinitionPersistence Cycles { get; set; }
26 public DefinitionPersistence Scenes { get; set; }
28 public DefinitionPersistence Audio { get; set; }
30 public DefinitionPersistence Sprites { get; set; }
31}
Persistence choices for an EngineState save.
DefinitionPersistence Audio
How to persist audio definitions.
DefinitionPersistence Cycles
How to persist animation definitions.
bool Compress
Whether to compress the state with GZip.
DefinitionPersistence Scenes
How to persist scene definitions.
DefinitionPersistence Tilesheets
How to persist tilesheet definitions.
EngineStateParts Parts
The state parts to capture, including their dependencies.
DefinitionPersistence Sprites
How to persist the sprite collection.
EngineStateParts
Represents different parts of the engine state that can be managed, saved, or loaded independently....
DefinitionPersistence
Controls how EngineState persists a definition.
@ Inline
Embed the current definition in the state file.
@ Loose
Write the current definition to a loose file beside the state.
@ PreserveSource
Retain an unchanged durable source; otherwise embed the current definition.