Anybody managed to make an isometric tilemap behave correctly when applying pinch to zoom? For example when using Bowerhaus pinch library (see below the link)? It works correctly with a bitmap or a normal tilemap, but the isometric one scales in a very weird way. Might be a problem with the Mesh class perhaps?
https://github.com/bowerhaus/BhPinchhttps://github.com/gideros/Isometric-Tilemap
Comments
https://github.com/nshafer/KineticZoomCamera
Likes: totebo
I didn't remember that I tweaked it to fit my needs: however, this is not as good as it should be (I'd like to improve it but it takes a lot of time with my poor math skills). Maybe it would be easier to draw the isometric tilemap with some offset, but it is still out of my league. If you can do it, please share .
Here's an example with tilemap and camera pinch to zoom:
zoom keeps the anchor on the center of the screen instead of 0,0 and support mouse wheel!