## Having problems making maps

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
ColourTheory
Prole
Posts: 11
Joined: Tue Jun 05, 2012 8:27 pm

### Having problems making maps

What do you guys normally use to make maps for your games? I can't find any that really work, should I just use images? I'm not advanced enough yet to make an exporter or anything like that.
Plu
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

### Re: Having problems making maps

Is your game tile based? I find ascii-input to work fairly well for those. For non-ascii maps, consider using a hardness map with an overlayed image as the base for your map, and then adding in moving entities programmatically.

In Ascii-input for tiles your maps look like this:

Code: Select all

XXXX
X--X
X-SX

Your code would then read through each line and convert each character into the proper tile-type (so X could be a wall and S could be the player)

With a hardness map you draw a regular map, and then make a copy of it and draw it only in a few colors, with black being blocking terrain, white being passable, and maybe green being slowing or something. Then you draw the real map to the screen, but scan the hardness map to determine whether your character can move to a location or not.

Those are just some basic examples though, maybe others have better solutions.
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm