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.Sprites.GSPR.SpriteTilesheetSourceDefinition Class Referencesealed

Describes an authoring-time source for a logical tilesheet referenced by a GSPR definition. Runtime scene materialization continues to resolve frame references through the tilesheet registry. More...

Static Public Member Functions

static SpriteTilesheetSourceDefinition Loose (string tilesheet, string gtsPath)
 Creates a reference to a definition stored in a loose file.
static SpriteTilesheetSourceDefinition Packed (string tilesheet, string assetsFilePath, string assetEntryName)
 Creates a reference to a definition stored inside an assets file.

Properties

string Tilesheet = string.Empty [get, set]
 Gets or sets the tilesheet.
SpriteTilesheetSourceKind Kind = SpriteTilesheetSourceKind.LooseDefinitionFile [get, set]
 Gets or sets the kind.
string? GtsPath [get, set]
 Gets or sets the path to the loose GTS tilesheet definition.
string? AssetsFilePath [get, set]
 Gets or sets the path to the containing assets file.
string? AssetEntryName [get, set]
 Gets or sets the entry name inside the assets file.

Detailed Description

Describes an authoring-time source for a logical tilesheet referenced by a GSPR definition. Runtime scene materialization continues to resolve frame references through the tilesheet registry.

Definition at line 27 of file SpriteTilesheetSourceDefinition.cs.

Member Function Documentation

◆ Loose()

SpriteTilesheetSourceDefinition Gondwana.Drawing.Sprites.GSPR.SpriteTilesheetSourceDefinition.Loose ( string tilesheet,
string gtsPath )
static

Creates a reference to a definition stored in a loose file.

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

Definition at line 56 of file SpriteTilesheetSourceDefinition.cs.

◆ Packed()

SpriteTilesheetSourceDefinition Gondwana.Drawing.Sprites.GSPR.SpriteTilesheetSourceDefinition.Packed ( string tilesheet,
string assetsFilePath,
string assetEntryName )
static

Creates a reference to a definition stored inside an assets file.

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 75 of file SpriteTilesheetSourceDefinition.cs.

Property Documentation

◆ AssetEntryName

string? Gondwana.Drawing.Sprites.GSPR.SpriteTilesheetSourceDefinition.AssetEntryName
getset

Gets or sets the entry name inside the assets file.

Definition at line 48 of file SpriteTilesheetSourceDefinition.cs.

◆ AssetsFilePath

string? Gondwana.Drawing.Sprites.GSPR.SpriteTilesheetSourceDefinition.AssetsFilePath
getset

Gets or sets the path to the containing assets file.

Definition at line 44 of file SpriteTilesheetSourceDefinition.cs.

◆ GtsPath

string? Gondwana.Drawing.Sprites.GSPR.SpriteTilesheetSourceDefinition.GtsPath
getset

Gets or sets the path to the loose GTS tilesheet definition.

Definition at line 40 of file SpriteTilesheetSourceDefinition.cs.

◆ Kind

SpriteTilesheetSourceKind Gondwana.Drawing.Sprites.GSPR.SpriteTilesheetSourceDefinition.Kind = SpriteTilesheetSourceKind.LooseDefinitionFile
getset

Gets or sets the kind.

Definition at line 36 of file SpriteTilesheetSourceDefinition.cs.

◆ Tilesheet

string Gondwana.Drawing.Sprites.GSPR.SpriteTilesheetSourceDefinition.Tilesheet = string.Empty
getset

Gets or sets the tilesheet.

Definition at line 32 of file SpriteTilesheetSourceDefinition.cs.