Set Image Bank

Sets the bank that a sprite should get its images from.


Set Image Bank spriteID,bankNumber


Sprites take images out of an image bank and then draw them to screen. Since multiple image banks can be loaded at any time each sprite must be told which one to get it's images from.

spriteID is the sprite to use the new image bank.

bankNumber can be either an integer or a string. It is the id or the name of the image bank resource to be used.

Table of contents