Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Torwin

Mouse Map/Tiles

This topic is 6166 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok I look at everyone''s tilesets and they look a little funny to me. Example a 32 x 64 tile will start at the top but will stop at pixel 63. On the 64 pixel it is just a transparent colour. This to seems to be taking up extra space in memory for no reason. Can someone explain to me why this is. I''m assuming its a interlocking issue but it still doesn''t hit me as to why. Torwin

Share this post


Link to post
Share on other sites
Advertisement
they start at (0,0)...
0 to 31 = 32 pixels, 0 to 63 = 64 pixels

--- krez (krezisback@aol.com)

Share this post


Link to post
Share on other sites
That''s not exactly what I mean the tile would looks similar to this. Well the mosue map at least.

1111115555222222
1111555555552222
1155555555555522
5555555555555555
3355555555555544
3333555555554444
3333335555444444
3333333344444444

Why do you need to leave a space at the bottom?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
That line can be cropped out but I guess some people are afraid of the wierd size.

Share this post


Link to post
Share on other sites
the last line of the mousemap is necessary. when you have a 64x32 tile, you only actually use 64x31. the bottom row is where the tiles in the row beneath the current row interlock.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!