Camera Control

ingenious.applicationsingenious.applications Member Posts: 102
edited July 2012 in Working with GS (Mac)
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.

Best Answer

  • UtopianGamesUtopianGames Posts: 5,692
    Accepted Answer
    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

  • ingenious.applicationsingenious.applications Member Posts: 102
    Thanks for your help. After looking at the demo provided, I was able to use the core concept and solved this issue.
Sign In or Register to comment.