Jump to content
• ### What is your GameDev Story?

• Advertisement

# My first isometric tile Map

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

Well I started to make my first isometric tile map and I thought it was off to a great start looked great. Started to add scrolling and noticed a problem when scrolling Up or Down the odd rows are bouncing 1 unit to the right then back to the left. This is because i made a staggered isometric map. Not the "official" isometric. Should I convert this to an isometric like jim adams article http://www.gamedev.net/reference/articles/article744.asp or leave it as it is? What are the advantages and disadvantages? I only ask because the jim adams article confuses me... and I am not sure how to go about converting mine or making mine isometric. I think I can i will probably have to sit down and figure out all the math behind it cause i can't find any good resources online. Sorry im rambling :-) Any Questions? Suggestions?

#### Share this post

##### Share on other sites
Advertisement
I had a similar problem when making my map...I even converted to the other model but found that it was more complex than i wanted to deal with.

to fix your problem you have to seperate your screen from the world....

do not always start rendering at 0,0 or 32,0 provided 32 is your odd offset

instead, ask the tile where it should be in screen space then place it on the screen in that position. Then you can move your screen around by changing the x and y screen offset. Probably the 2 most important methods you will create are
WorldToScreen(x,y) and ScreenToWorld(x,y)

I generally just calculate how big my screen is in tiles wide and high and loop over that size to draw my map.

did that make sense?

#### Share this post

##### Share on other sites

• Advertisement
• Advertisement
• ### What is your GameDev Story?

In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

(You must login to your GameDev.net account.)

• ### Popular Now

• 11
• 15
• 11
• 11
• 9
• Advertisement
• ### Forum Statistics

• Total Topics
634151
• Total Posts
3015817
×

## Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!