GenAddSprite


GenAddSprite sprite, layer

sprite

The sprite to be added.

layer

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