Camera Control
This is hopefully a simple question....
Using a large map with cities dotted along it, I've been trying to make it so that when an attribute is _____, the camera moves to that particular city rather than always starting my "map" scene at the same location. I tried using "Control Camera", but that only got me half-way as once the camera was on that city icon, the player could no longer scroll around the map as they usually can.
Using a large map with cities dotted along it, I've been trying to make it so that when an attribute is _____, the camera moves to that particular city rather than always starting my "map" scene at the same location. I tried using "Control Camera", but that only got me half-way as once the camera was on that city icon, the player could no longer scroll around the map as they usually can.
Best Answer
-
UtopianGames Posts: 5,692
If city 2 icon on the map is x 400 y 300 have you tried interploating the camera to that position?
Dont forget the default of the camera is 0 0 so in order to center the camera you would have to move it to X-240 and Y-160.
I have attached a file that will help.
Darren.
Answers