Map maker completed

ps3sux

I will make the squares look better later. Maybe I’ll make them smaller too.

The program reads the map using a text file, which opens the possibility for custom maps to be easily shared online. This screenshot was produced by the following input:

GGGGGGGGGGGGGGGG
GDGDGDGDGDGDGDGD
DGDGDGDGDGDGDGDG
GGGGGGWWWWWGGGGG
GGGGGGWWWWDGGGGG
GGGGDWWWDDDGGGGG
GGGDDWWWWWDDGGGG
GGGGDDDDWWDGGGGG
GGGGDDWWWWWWDGGG
GGGDWWWWWWWWWWDG
GDWWWWWWWWWWWWWD
DWWWWWWWWWWWWWWW
GGGGDDWWWWWWDGGG
GGGDWWWWWWWWWWDG
GDWWWWWWWWWWWWWD
DWWWWWWWWWWWWWWW

As you might imagine, G stands for grass, D stands for dirt and W for water. There is also another fortunately unused tile for E- Error. This tile is printed when a character the program doesn’t know how to use appears.

You might have also noticed the little arrow in the first quadrant of the picture. Although this feature is not yet implemented, the character will follow that arrow, which will appear somewhere when you click on the map.

Movement is my next step. Hey, this is really fun for being my first game in C!

Comments

18. Dec 2010 · 06:47 UTC
Hah, i always love seeing maps in text format. Keep it up!
MrBlueSky
18. Dec 2010 · 16:53 UTC
Looks great. I’m doing basically the same thing as far as map editor goes. I love the camouflaging idea.