Skip to content

LoadSpriteSheet

Description

Loads a spritesheet and assigns the ID to object.spritesheet. The spritesheet must be a GIF file.

Parameters

  • path The file path to load the sprite sheet from, relative to Data/Sprites/.

Return Value

None.

Syntax

LoadSpriteSheet(string path)

Example

LoadSpriteSheet("Test/Objects.gif")