SamTheBlow / grand-strategy-game

A grand strategy game made in Godot.
MIT License
5 stars 4 forks source link

The camera should start in the middle of the world map by default #143

Closed SamTheBlow closed 2 months ago

SamTheBlow commented 3 months ago

What the title says. Currently, it defaults to (0,0), I think, so in the test map the camera will start in the top-left corner of the world. Note that the default start location is only relevant when you are a spectator, or when your country no longer exists on the map.

SamTheBlow commented 2 months ago

Slight correction: when a player does not control any province on the world map, the camera does not move at all, so it will stay wherever it was, which is at (0,0) if you just loaded a new game.

SamTheBlow commented 2 months ago

Now it goes to the center of the map when the game is loaded. But also, now the camera automatically goes to the new playing player's country, even if they're an AI.