Ok, I have a tile map, that scrolls, and I can use the -/+ keys to zoom in and out, but the problem is that when I zoom, it only zooms to the upper left tile, I’m not sure how to go about making it so that it zooms to the center tile of the screen. The way I make it draw the extra tiles to zoom is stupid, because i am modifying the actual visible screen width/height, and its causing problems, i cant even see the entire map when zoomed all the way out. I’m pretty sure there is not enough information, but I am using the g.scale(double,double) to actually scale the tiles with an Affineline transform.
translate
scale
translate back
hmm good idea lol
but one of the largest hurddles is controlling the visibility.