CodeBase - Tileset Reading Functions

Return to the CodeBase listing

Category: Functions

Version: 1.0

0
0

Information

Uploaded: 6th Jan 2005 13:36

Modified: 6th Jan 2005 13:38

Author:  Code Ninja

Summary

Reads and draws tiles from the RPGToolkit's tileset file format.

Full Description

SizeofTile=ReadTileset(filename$,#ofTiles2Read)<br /> -reads tiles 0 to #ofTiles2Read from the specified tileset.<br /> -returns the tile size (generally 32)<br /> <br /> DrawTiles(xpos,ypos,First2Draw,Last2Draw,SizeofTile)<br /> -draws tiles First2Draw to Last2Draw to the screen at xpos,ypos<br /> <br /> GetTile(Tile#,Image#)<br /> -captures tile Tile# to image Image#

Comments

No comments yet.