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
Gondwana.Drawing.Animation.GANI.AnimationTilesheetSourceDefinition Class Referencesealed

Describes an authoring-time source for a logical tilesheet referenced by a GANI definition. Runtime materialization continues to resolve frames through the registered tilesheet name. More...

Static Public Member Functions

static AnimationTilesheetSourceDefinition Loose (string tilesheet, string gtsPath)
 Creates a loose-GTS source reference.
static AnimationTilesheetSourceDefinition Packed (string tilesheet, string assetsFilePath, string assetEntryName)
 Creates a packed-GTS source reference.

Properties

string Tilesheet = string.Empty [get, set]
 Gets or sets the logical tilesheet name used by animation frame references.
AnimationTilesheetSourceKind Kind [get, set]
 Gets or sets how the referenced GTS definition is stored.
string? GtsPath [get, set]
 Gets or sets the loose .gts path. Relative paths are resolved from the containing .gani file.
string? AssetsFilePath [get, set]
 Gets or sets the assets-file path for a packed GTS definition. Relative paths are resolved from the containing .gani file.
string? AssetEntryName [get, set]
 Gets or sets the GTS entry name inside AssetsFilePath.

Detailed Description

Describes an authoring-time source for a logical tilesheet referenced by a GANI definition. Runtime materialization continues to resolve frames through the registered tilesheet name.

Definition at line 28 of file AnimationTilesheetSourceDefinition.cs.

Member Function Documentation

◆ Loose()

AnimationTilesheetSourceDefinition Gondwana.Drawing.Animation.GANI.AnimationTilesheetSourceDefinition.Loose ( string tilesheet,
string gtsPath )
static

Creates a loose-GTS source reference.

Parameters
tilesheetThe tilesheet.
gtsPathThe path to the loose GTS tilesheet definition.
Returns
A reference to the loose definition file.

Definition at line 63 of file AnimationTilesheetSourceDefinition.cs.

◆ Packed()

AnimationTilesheetSourceDefinition Gondwana.Drawing.Animation.GANI.AnimationTilesheetSourceDefinition.Packed ( string tilesheet,
string assetsFilePath,
string assetEntryName )
static

Creates a packed-GTS source reference.

Parameters
tilesheetThe tilesheet.
assetsFilePathThe path to the assets file.
assetEntryNameThe entry name inside the assets file.
Returns
A reference to the packed definition entry.

Definition at line 88 of file AnimationTilesheetSourceDefinition.cs.

Property Documentation

◆ AssetEntryName

string? Gondwana.Drawing.Animation.GANI.AnimationTilesheetSourceDefinition.AssetEntryName
getset

Gets or sets the GTS entry name inside AssetsFilePath.

Definition at line 55 of file AnimationTilesheetSourceDefinition.cs.

◆ AssetsFilePath

string? Gondwana.Drawing.Animation.GANI.AnimationTilesheetSourceDefinition.AssetsFilePath
getset

Gets or sets the assets-file path for a packed GTS definition. Relative paths are resolved from the containing .gani file.

Definition at line 50 of file AnimationTilesheetSourceDefinition.cs.

◆ GtsPath

string? Gondwana.Drawing.Animation.GANI.AnimationTilesheetSourceDefinition.GtsPath
getset

Gets or sets the loose .gts path. Relative paths are resolved from the containing .gani file.

Definition at line 44 of file AnimationTilesheetSourceDefinition.cs.

◆ Kind

AnimationTilesheetSourceKind Gondwana.Drawing.Animation.GANI.AnimationTilesheetSourceDefinition.Kind
getset
Initial value:
=
AnimationTilesheetSourceKind.LooseDefinitionFile
AnimationTilesheetSourceKind
Identifies how a GANI definition can locate one of its logical GTS dependencies for authoring and too...

Gets or sets how the referenced GTS definition is stored.

Definition at line 38 of file AnimationTilesheetSourceDefinition.cs.

◆ Tilesheet

string Gondwana.Drawing.Animation.GANI.AnimationTilesheetSourceDefinition.Tilesheet = string.Empty
getset

Gets or sets the logical tilesheet name used by animation frame references.

Definition at line 33 of file AnimationTilesheetSourceDefinition.cs.