This is strongly based around the work Phalaex is doing with his game editor "GEME" (
http://forum.thegamecreators.com/?m=forum_view&t=42436&b=8)
The difference is, mine is in 3D. The game creates a mesh of tiles that are specified in a map.txt. You also provide a texture with tiles of what you want. These tiles are numbered and you then create a map of numbers. These numbers are translated into an array of UV coord which are then mapped onto the mesh.
Link:
http://www.thingy-ma-jig.co.uk/show_project.php?pid=12
There are more instruction there.. Any problems, lemme know..
There is a SLIGHT problem with example set 2 (included in the download). For some reason it does not look like it is tiling correctly. I THINK it might be to do with the UV map being unable to map specific tiles accurately (ie a tile at position 32 out 256 across does not map to a U coord between 0-1 precisely).
Anywho.. Set 1 screeny attached.
SCREENY:
[EDIT] That image of london is only there to show depth, etc.. And on the next screeny it shows transparency better.
[EDIT 2] This is completely open source.. USe it for what you want.. on 2 conditions.. (1) You let me play your game..
Hehe... (2) A little credit where credit is due.