I have an Isometric grid that gets drawn to a bitmap bigger then the screen, then the section of it that has been scrolled to is drawn. How can I figure out where on the grid the user clicked? Should I create an invisible normal square grid over the isometric one? It wouldn't perfect but it might work. One thing that makes it harder is the physical size of the part drawn on screen is smaller then the overall grid size so some offsetting of the coords of whatever was clicked will need to be done.
Question
fhpuqrgrpgvirzhpujbj
I have an Isometric grid that gets drawn to a bitmap bigger then the screen, then the section of it that has been scrolled to is drawn. How can I figure out where on the grid the user clicked? Should I create an invisible normal square grid over the isometric one? It wouldn't perfect but it might work. One thing that makes it harder is the physical size of the part drawn on screen is smaller then the overall grid size so some offsetting of the coords of whatever was clicked will need to be done.
Link to comment
Share on other sites
15 answers to this question
Recommended Posts