So I’ve started making a grand strategy game for fun kinda like the Paradox ones.
What a grand strategy is is like a game where there’s countries on the map and you play as one and do stuff (sorry for bad explanation.)
My issue is where the countries’ names get displayed.
So far all you can do is select a country and start taking provinces by just clicking on them.
Now, Portugal and Aragon name placement is fine, but Castile is not.
Here is my code and the game all in one image because of the stupid one image requirement for new users:
Now, what the text is wrongly doing is selecting all the provinces that are of it’s country, BUT the name gets placed closest to the “center province” of the game. The center province is where Castile’s name starts and is literally just the middle. The reason I know this is because when I took that one province close to the center province as Portugal, the name flocked there, besides that the actual land to the west was way bigger. Aragon’s and Portugal’s names are fine at the start, but as soon as you take one province closer to the center one they immediately flock there. How can I fix this? This seems like such a simple issue. Also, GDevelop, please add the ability to draw text on the screen with code instead of having to make text objects for every text because goodness labeling every country is going to be tedious.