Skip to content

loadsprite() Usage

PipeWarp edited this page Dec 29, 2020 · 4 revisions

Description

loadsprite() loads sprites into RAM and VRAM.

Example:

loadsprite(1, 1, 1, 16, 16, "loading/loading1", "loading/loadingpal", false); //loading sprite to ram and vram

NF_CreateSprite(1, 1, 1, 1, 235, 170); //Display Sprite

Values

loadsprite(screen, ramslot, vramslot, width, height, image-dir, pal-dir, transfer-flag)

Clone this wiki locally