GenAddSprite sprite, layer


The sprite to be added.


The layer the sprite is to be added to. The layer may be 0 thru 15.

After a sprite is created and initialized it has to be added to one of the 16 graphics layers before it can become visible. Layer 0 is the farthest back layer. Layer 15 is the front/top layer.

Game Engine Overview

Become a Patron