×

Discussion Board

Results 1 to 8 of 8

Thread: game with a map

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    1

    game with a map

    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
    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
    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
    Registered User
    Join Date
    Mar 2003
    Posts
    26

    No scaling

    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
    Join Date
    Sep 2012
    Posts
    2

    hot

    Hello how are you?
    Please I need a map of Iraq have not found on the website

  6. #6
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: hot

    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
    Join Date
    Sep 2012
    Posts
    2

    Re: hot

    Hello sir I want the map of Iraq is working on Nokia n8

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,748

    Re: hot

    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
  •  
×