|
-
Apr 19th, 2005, 12:35 AM
#1
Thread Starter
Addicted Member
Looking up tiles
Okay im having trouble working out the math of looking up a tile from a bitmap file. The bitmaps are all 32 by 32 and there can be any amount of tiles in them in any number of rows or columns. I plan on the function taking the number of columns and the number for the tile say 5. Then I should be able to find the screen coordinates in pixels of the tile. Tile one would have a top of 0 a bottom of 32 a left of 0 and a right of 32. It seems easy but im having trouble any ideas? or did i not explain it well enough.
Last edited by abcdefg; Apr 19th, 2005 at 03:00 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
|