Sign in to follow this  
shinypixel

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

Recommended Posts

shinypixel    226

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this