Page 1 of 1

Tiled Map Editor Plugin Question

Posted: Sun Jul 04, 2010 9:49 pm
by dejai
Has anyone had any experience writing exporter plugins for the tiled editor over at http://www.mapeditor.org/ I was thinking of writing an exporter for my level format in it so I can release a level editor for the alpha build of a game / engine I am working on. It seems like a pretty viable option just wondering if you have ever used it.

Re: Tiled Map Editor Plugin Question

Posted: Mon Jul 05, 2010 4:24 am
by Milch
I've never used it, but this is just what I was looking for at the moment. Thank you!

Re: Tiled Map Editor Plugin Question

Posted: Mon Jul 05, 2010 7:34 am
by dejai
Just implemented an exporter in it seems to work well. :-)

Re: Tiled Map Editor Plugin Question

Posted: Mon Jul 05, 2010 12:05 pm
by Milch
Any links/reference on how to do this?
I searched the site but couldn't find stuff ><

Re: Tiled Map Editor Plugin Question

Posted: Mon Jul 05, 2010 7:10 pm
by dejai
Goto->Source->Plugins->TMW then edit tmwplugin.cpp and find the write method and just use standard C++ io streams / C file IO to export.

Re: Tiled Map Editor Plugin Question

Posted: Tue Jul 06, 2010 5:59 am
by Bjørn
I'd advise not to edit the TMW plugin, but rather take it as an example and write your own plugin alongside it.

Good to hear the current plugin infrastructure works for you, dejai. :-)

Re: Tiled Map Editor Plugin Question

Posted: Tue Jul 06, 2010 7:49 am
by dejai
Hehe yes very true. I will write a "proper" plugin (find and replace TMW with MyPluginName (lol) ) soon. Nice map editor :-) very useful.

Re: Tiled Map Editor Plugin Question

Posted: Tue Jul 06, 2010 8:15 am
by Falco Girgis
Very impressive looking editor. And it's written with QT!

We love QT here. :)