Aphex_Twin
Evergreen
- Joined
- Sep 7, 2002
- Messages
- 7,474
I could not resist answering this message since I am a bit of a math buff...Originally posted by Gramphos
The distance to the capital, is this in tiles or something else?
If you have your capital at (5;15) and the other civ the capital at (46;30) and the city in question is at (26;10) what are the distances?
Here's the formula for calculating distances between cities.
the coordinates are:
(x1; y1) vs. (x2; y2)
Ex: (5;15) vs. (46; 30) vs. (26;10)
Simply calculate the distance between any two cities as following: