Jump to content
  • Advertisement
Sign in to follow this  
hustlerinc

Problem with isometric tiles.

This topic is 2368 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

Hello.
As the topic says im having trouble with my isometric tiles.
I got it working but cant really understand how to get the tiles to fit toghether.

My tiles are 70x34 wide atm, this because i got a whitespace between tiles when i had them 70x35. i thought i figured it out until i started drawing the graphics.
Since my bottom row of pixels is 6px straight line and the rest is 2px to the side 1 up this causes a problem to fit different tiles toghether in a fluid way.

But how do i get rid of the whitespace between the tiles?

I could post a screenshot if im not explaining good enough.

Share this post


Link to post
Share on other sites
Advertisement
This is the way I do tiles:
YtmN9.png

The part of the tile that is white/green alternating satisfies the twice-as-wide-as-tall requirement of a 2:1 isometric tile, and the red pixels offer "padding" that fills the cracks between tiles.

uncBw.png

In this case, the tiles are 128x64. The tile to the bottom right of a given tile is offset by 64x32 pixels, so the spacing is easily calculated.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!