Jump to content
  • Advertisement
Sign in to follow this  
Fighter453

Tile Selection

This topic is 3795 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 respectful members, I am creating an Isometric tile editor in C# and need a way to click on a certain part of a map. Right now I have a 10 x 10 grid representing which tile in the isometric map I have selected. What I wish to have done is to click on the tile in the map to selected it. Problem is I have no idea how to check if the mouse is inside the polygon without it it colliding with the surrounding Rects. Thanks for your time.

Share this post


Link to post
Share on other sites
Advertisement
Searching GameDev.net's Resources section with the terms "isometric mouse test" yields the following.

http://www.gamedev.net/reference/articles/article2026.asp

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!