|
-
Senior Member
so perhaps this would be the best way to do it:
- dynamically find how many tiles the sprite could be touching at any one given time. (if its smaller then the tile size it will always be 4)
- find the players coordinates and divide by tilesize. to find the current tile the player is on. and then check all the tiles surrounding it for collissions.
i guess saying is easier then doing. but thanks for the help so far ImprisonedPride you've been a great help.
Last edited by x-death; 06-24-2012 at 10:29 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|