This is a very simple, 10 step map editor I whipped up to demonstrate how to make one. It allows you to place two different types of bricks(easily expanded) and a spawn-point, and also save/load your maps and test them out in editor! <!-- s:) --><img src="SMILIES_PATH/icon_smile.gif" border="0" alt=":)" title="Smile"><!-- s:) -->
LEFT CLICK - Place green brick
RIGHT CLICK - Place red brick -- same functionally as green brick, but added for variety and to demonstrate creating objects by name.
MIDDLE CLICK - Place a spawn-poin for your man to start at.
SAVE BUTTON - Save your creation
LOAD BUTTON - Load your creation
TEST BUTTON - Test your creation
CLEAR BUTTON - Clear the map of all bricks and spawn-points
MAP NAME EDIT BOX - The box next to the clear button. Be sure to put in the filename of your map for loading and saving -- don't include file extension or path.
Just a note, the man is simply controlled with the default platform controls, so that doesn't require explanation. Also, the CAP is fully commented, so it should be pretty easy to comprehend. Let me know what you all think. <!-- s:) --><img src="SMILIES_PATH/icon_smile.gif" border="0" alt=":)" title="Smile"><!-- s:) -->
UPDATED 2/22/2013 - Added new link
Map editor example