|The tilesheets (top) each have their own|
frame in a tile mc. That mc is masked.
|Some of many tile sheets. Some had to be |
resized so their tiles were 32x32 pixels
|The mc is relocated so that the tile we|
want falls under the 32x32 px mask.
Another modification I quickly realized I needed was to add another shortcut (I used M) to switch between two modes. One mode where dragging the mouse while holding the mouse button drags the map (so you can create zones bigger than the small screensize) The other where dragging the mouse while holding the mouse button fills in any tiles you move over. That way you do not have to click each tile just to place grass, etc. It saved a lot of time and headache.
So right now I have a nifty map editor with 3 layers, 5 or so tilesheets, and many key shortcuts: I, E, S, M, T. You can test this version out here:
It uses a different zone specially for this test version, so it does save correctly. The map editor is not meant for players to use though, so there are bugs that I ignore since it is just for my use right now.