Jump to content
  • Advertisement
Sign in to follow this  
basil4j

2D Tile map - SpriteBatch or Quads

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

Hi All,

First of all, Hi smile.png I'm new to this forum and am hoping you can help me!

I am trying my hand at developing a simple 2D Isometric (well, not quite) tile engine in C# (XNA) similar in style to that used for Ultima online.

I have been reading this article http://www.oocities..../doc/index.html ([font=Arial,Helvetica]2.2 The Stretch-O-Tilt Algorithm) [/font]explaining how the tiles are 'stretched' in UO to achieve terrain height, and am wondering how best to achieve this in XNA.

Would it be better to approach this using SpriteBatch or textured quads?
If textured quads are the way to go, am I in effect creating a 3D tilemap but at a fixed viewpoint? Or can textured quads be used in a purely 2d manner?

EDIT:
Forgot to add, if I need to use textured quads, can someone help me with choosing the correct perspective?
The tiles will be stored as diamonds (44x44bits) as they would be if using a standard 2d not-quite-isometric engine, so I don't think ill need to rotate the camera? Just tilt it and choose the correct field of view. Is this correct? I am having great difficult setting the camera up :P


Hope you can help.

Thanks,
Alec

Share this post


Link to post
Share on other sites
Advertisement
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!