• Advertisement
Sign in to follow this  

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

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

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 this post


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

  • Advertisement