This is a basic 2d tile map editor for lua games.
Features:
-- edits map in 3 layers:
ground layer : the basic map area
object layer : assigns a number value to the current tile area
0 is not displayed in the editor. In my demo, I
used 0 for walkable area and set 1 to indicated
an impassable barrier
overlay layer : this layer is for images that the player can walk behind
-- tile rotation - still working on this, not yet implemented
-- saves / loads map info to a single data file
Controls:
start menu - d-pad up/down to change selection, cross to start
text input for create new project:
left trigger = numbers
right trigger = shift
D-pad up = backspace
start = accept name
analog and buttons = select letter
file broswer for loading projects:
d-pad up/down to change selection, cross to start
map edit mode:
start = brings up save/quit menu
d-pad = change current map location
square = put tile down
cross = erase tile
triangle/circle = cycle through tiles / object numbers
right trigger = cycle through layers
left trigger + d-pad left/right = change tile rotation (not implemented yet)
to do list:
-- finish tile rotation
Credits:
File browser for loading projects edited from Tactical Penguin's
Uses cancan's version of the Danzeff OSK for text input
-- Rotation - although not implemented yet, KleptoOne is
helping to figure this out
tablesave functions - author unknown but found at:
http://lua-users.org/wiki/SaveTableToFile
The sample tiles included are from a set made and released to the public
for free use by Danc at Lost Garden. The full, unaltered set can be found here:
http://lostgarden.com/2006/02/250-fr...-textures.html
The tower and tree images are from here:
http://reinerstileset.4players.de/englisch.htm