How would you represent a World Map?
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!![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
- Murray
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!
![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
- Murray
Comments
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.