How do I implement a selectable world map?

Posted by Clay on Game Development See other posts from Game Development or by Clay
Published on 2012-10-02T13:14:32Z Indexed on 2012/10/02 15:54 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

I want to have a selectable map of the world, preferably zoomable, in a cocos2d project. When I tap on a country, I want that country to be selected so that I can perform some other operations with it. It seems that the best approach would be to use a vector world map, but I'm unsure how to implement this with cocos2d. Other options include using map tiles, but it seems that still would require the implementation of country polygons for tap/click detection.

Depending on user input, I want to add icons to various countries on the map.

What is a good way to approach the implementation of this type of map?

© Game Development or respective owner

Related posts about cocos2d-iphone

Related posts about maps