How would you represent a World Map?

HymloeHymloe Member Posts: 1,653
edited October 2012 in Working with GS (Mac)
Hi,

I am working on a little adventure/rpg sort of game. I'm using a table for my world map. It is 640x640 cells.

In the main part of the game, I just show a 9x9 grid view of the world, and the player can just see that little 9x9 bit of the world map.

But I want to be able to press a button, and the player sees a representation of the entire world from full-zoom-out. They can't interact with the world here, I just want to show a very broad overview of the world, and where they are in it.

How would you do that?

Basically, if I could draw pixels to the screen, I would just allocation a 640x640 space, and draw a pixel of the appropriate color for each cell. So, a blue dot for ocean, a green dot for grass, a grey dot for a mountain, etc. And that'd be great.

But I'm not sure how to go about the equivalent for this, with Game Salad.

I can easily look up all the cells from my table (each cell has a value such as "grass", "ocean", "mountain"), but I'm not sure how to draw 640x640 dots to the screen in some way that will not break Game Salad...

Any advice appreciated! :)

- Murray



Comments

  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    image :)
  • DanDaMan123DanDaMan123 Member Posts: 216
    Does the world map change at all? Because if it doesn't then you could just create a single image of the whole map and have it zoom out. Then have and additional actor be the marker of where the character is on the map.
  • HymloeHymloe Member Posts: 1,653
    The player can edit the map! GASP!

    Also, they reveal the map as they move around.

    So I want the world map to show blackness for any squares they haven't revealed, and I want to show the current state of all revealed squares.

    :) Any ideas?
  • HymloeHymloe Member Posts: 1,653
    @LeonardDeveloper I'm not sure what your post means...? :)
Sign In or Register to comment.