GenSprite


sprite = GenSprite(tileset {, type} )

sprite

This function returns a new Game Engine sprite object.

tileset

The tileset to use for the sprite.

type

This parameter optionally sets the sprite type. The sprite type is a simple integer which can be used to identify the sprite. The sprite type is not used internally by the game engine. It is solely for the programmer's use.


Game Engine Overview







Become a Patron