Discussion Board

Results 1 to 8 of 8

Thread: game with a map

Hybrid View

  1. #1
    Registered User alojix's Avatar
    Join Date
    May 2004
    Posts
    1
    Hi

    I want to make a game, like RISK, and i want to jump between diferent areas/countries.

    I have a big png image, with the map, and a array, containing the the coordenates of each country in the map.

    How can i construct the code, using the available classes, so the map can be shown in 2 diferent ways:

    - The hole map
    - a zone of the map (Rectangle) where is center is the coordenate of a country, and when using some keys, the map can be moved to the new contry?


    Thanks
    I saw some tutorials, but they focuse on a diferent prespective of this one, isnt it?
    Last edited by alojix; 2004-05-11 at 00:16.

  2. #2
    Registered User realdarkwave's Avatar
    Join Date
    Jan 2004
    Posts
    7
    If I understood, you should save each country in a different PNG and then cobine them to show the whole map and use them separated to show single countries...

    ciao,
    dw

  3. #3
    Regular Contributor sclarkca's Avatar
    Join Date
    May 2004
    Posts
    61
    yes, in the game development, the map arthemetic is a very important problem, the ordinary solution is that you can save the map zones into an array, then you can appear them optionally by operate the array!

  4. #4
    There is now way to scale your map so you need at least one world map small and one large. Then it should be quite easy to center the screen on a country (on the large map) with clipping.

    I would consider a solution of no centering but show a continent on each screen (can be though to fit Asia though...)

  5. #5
    Registered User m12350's Avatar
    Join Date
    Sep 2012
    Posts
    2
    Hello how are you?
    Please I need a map of Iraq have not found on the website

  6. #6
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,412
    Quote Originally Posted by m12350 View Post
    Hello how are you?
    Please I need a map of Iraq have not found on the website
    There are no maps here. Try contacting NAVTEQ or tomTom/TeleAtlas, who are global providers of actual world mapping data (not for free, however). There are also some open source projects collecting map data, such as http://www.openstreetmap.org/

    Not sure if anyne has maps available for Iraq, though.

  7. #7
    Registered User m12350's Avatar
    Join Date
    Sep 2012
    Posts
    2
    Hello sir I want the map of Iraq is working on Nokia n8

  8. #8
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Petrib has not mentioned the most important thing: http://www.nokia.com/discussions is the site where you could ask about Maps. I would suggest the "Maps, Navigation and GPS" discussion board there.

    Note that this site, "Nokia Developer" is about supporting software developers. And in this discussion "game with a map", someone wanted to develop a Risk-like game (http://en.wikipedia.org/wiki/Risk_(game)), in May, 2004, so more than 8 years ago.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved