Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SaveTable ¶
type SaveTable struct {
Rows []SaveTableRow
}
SaveTable describes a save table used in sprites
type SaveTableRow ¶
saveTableRow describes a row in the SaveTable type
type Sprite ¶
type Sprite struct { HighResolution bool // Set to true if the sprite is intended for high-resolution mode. Hotspot [2]int // The x, y vector from the bottom-left of the sprite to the hotspot. Poses [][][]int // The sprite images stored as 2D arrays in individual poses. Up to 2 poses allowed in low-resolution mode, up to 4 in high-resolution mode. }
Sprite represents (as much as is practical) Nimbus sprite data.
Click to show internal directories.
Click to hide internal directories.