# How do I draw long tiled paths in 2D? (Eye of the Beholder style)

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

## Recommended Posts

Edit: Solved issue with looking at additional tiles.

I'm using artwork from the following page:

http://opengameart.org/content/first-person-dungeon-crawl-art-pack

Demo of ground:

http://heroinedusk.com/demo/

As you can see with the first artwork, the grass field is long. The pathway also goes into the distance. I'm most interested in the path.

However,
The floor is really small tile-wise. Look at the attachment. It's 118x22 pixels.

I'm supposing that the artwork is layered on top of each other. Is that true?

Is the method similar to this?
set x to 0, y -= 22

draw path

set x to 20, y -= 22

draw path

...

But as you can see, the tile isn't square, so I don't think this is correct. Any thoughts would be great. Thank you.

Edited by shinypixel

##### Share on other sites

This was solved by looking at the rest of the available tiles. Also it was helpful looking into the Painters Algorithm.

https://en.wikipedia.org/wiki/Painter%27s_algorithm

1. 1
2. 2
3. 3
4. 4
Rutin
17
5. 5

• 10
• 11
• 37
• 12
• 12
• ### Forum Statistics

• Total Topics
631414
• Total Posts
2999958
×