Skip to content

LoadSpriteSheet (RSDKv4)

Description

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

Parameters

path

The file path of the spritesheet to load, relative to Data/Sprites/.

Return Value

None.

Syntax

LoadSpriteSheet(string path)

Example

LoadSpriteSheet("Test/Objects.gif")