Jump to content
  • Advertisement
Sign in to follow this  

Problem 2D Game with Matrix.Scale and isometric view

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

Hello, I have a problem and someone can I help me. I'm doing a game in 2D with isometric view in C#. I explain my problem before being isometric view was a "military", namely the "tile" was not square as a "diamond" that is isometric. And I have these lines: Matrix mat = new Matrix(); mat.Scale(1.25f, 1.25f, 0); sprite.Transform = mat; I worked perfect but isometric view makes me an effect like this image: It is seen that between each "tile" is seen as a border that should not exist and it is not fit to expand the "tile". If I put the scale 1f is as follows: Where is the perfect fit and "tile". The question is whether it is normal to me what's happening or if there is another way of doing larger "tile" and not using the Matrix. Thanks in advance :). Endilicam. EDIT: You can embed images in posts using regular HTML 'img' tags. [Edited by - jollyjeffers on October 30, 2007 5:08:36 PM]

Share this post

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