So basically I'm trying to make it so that when a character touch the crop(circled in BLUE) it will zoom in to a cart(circled in RED)
This is what I did:
var xPos = $gameMap.event(8).screenX() + 400;
var yPos = $gameMap.event(8).screenY();
$gameScreen.setZoom(xPos, yPos, 2, 120);
Where event 8 is the cart circled in Red in the map.
But this end up doing this:
For some reason it doesn't show other tiles. My theory is that RPGMMV doesn't render tiles on certain distance away from players. How would you prevent the black missing tiles from happening when trying to zoom to an item far away from players in the same map?
This is what I did:
var xPos = $gameMap.event(8).screenX() + 400;
var yPos = $gameMap.event(8).screenY();
$gameScreen.setZoom(xPos, yPos, 2, 120);
Where event 8 is the cart circled in Red in the map.
But this end up doing this:
For some reason it doesn't show other tiles. My theory is that RPGMMV doesn't render tiles on certain distance away from players. How would you prevent the black missing tiles from happening when trying to zoom to an item far away from players in the same map?