tile sheets

BlitzMax Forums/BlitzMax Beginners Area/tile sheets

Hi there,

How do I select a coordinated piece out of an image (like with a tile map)?

Sorry if it is a really simple question.

Thanks.

LoadAnimImage()
DrawImage()

??

are you thinking about the tile "coord"?
if it is, then you just get the player coords, and divide them by the tilewidth and tileheight..