TNT Basic Forums > Programming Q&A
Tile Collision
< Last Thread     Next Thread >
Thread        Post A Reply

11-02-2002 23:20

Posted by:

Click Here to Email GreySnake59   Find more posts by GreySnake59

I posted this on the TNT Central forums but I don't have patience for someone to check it, I need the answer.

How can I do map tile collision?

I have a sprite number 0 and I want an easy way to know when it collides with a map tile 0.

Please answer.

11-03-2002 13:54

Posted by:

Find more posts by Mathew

Hi, you must use map tile.

for example:

tile=map tile (X/25,Y/25,0)

here, 25 is the tile size. If you want perfect collision with a sprite, you must check for the tile at different places on the sprite.

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.