Well i think you got The first problem. It’s too blurry and zoom to see small countries are insain pain for eyes .
So is that possible to zoom it enough to see all names clearly. No matter how small the country is ? ( I thought to use procedure genration so that when Play zoom then it will generate a special area but I didn’t get how to implement)
The 2nd problem is I want to use each country on map as a button. When Player click on Country then it will switch to battle field to fight with..
So if any solution please share.. and yea any kind of Idea is Also welcome openly
One thing that comes to mind is having a very high def picture or a vector based image of a map that would allow you to zoom in and not be as blurry. Otherwise you can use your main overview map, then select one of the continents, do some fun zoom effect and then load a high def image of the continent which has easy to read labelling.
Or, you can get a blank map, make your own labels and scale them to your zoom to make them always legible.
I would need to come back to this, but I think you can give a texture mipmap information which defines a clickable area so you can click on a texture which treats it as a button. And I think you can give it on_hover signal so you can highlight the selected area. You are going to have to come up with as many individual textures as you want countries / land masses to pick from. (I won’t play your game unless you accurately and precisely allow me to pick Atlantis! Just joking)
Hmm ok. Thanks.. that seems a good plan ( even i don’t know meaning of most of These words .. . Just joking) but still i think it’s a good plan to work on. .. i got your points. And i will try that.
Btw for 195 countries. It’s not will be easy. And war logic this is just.. … well i will try my best to not to disappoint you.. thanks bro.
Nevermind the texture thing. I was thinking of bitmasks. And I don’t think I can explain in words that buttons and images are rendered in squares, but countries are very rarely square so it would be tricky to select a particular European country if the mouse is close to both of them. Misclicks are not fun.
Because you will almost certainly get bored making 195 countries, why don’t you start with continents? Everything you write shouldn’t depend on how many countries you have, so once the game is actually working, you can start adding additional countries or regions easily. Also, as someone who has played Risk for many years, 195 countries is too many…
For clicking on them, and this is why, again, starting out with fewer is a good idea, you can draw a custom Polygon collision shape for each one.. while you think of how to automate this.
Yea you are right i should to be mindful for this work.. and Thanks for goodluck.. btw did you know how Google map work? Like we can zoom from planet to street level …
Don’t use a single image for the map. Use a polygon or a mesh per state. If you’re using a polygon, the point data can be directly copied to a collision polygon for mouse overs.
Also the labels should be handled separately as you typically don’t want to zoom them for the same amount the map is zoomed, to retain text readability.
humm i think this is the last way …. ok it will took long time … well thanks and i should add labels separately ? so i should install name less countries