Skip to content

LoadSpriteSheet (RSDKv3)

Description

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

Note

Sonic CD Lite can also load PVR files with this function.

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")