Tiled Map Editor Plugin Question

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
dejai
Chaos Rift Junior
Chaos Rift Junior
Posts: 207
Joined: Fri Apr 11, 2008 8:44 pm

Tiled Map Editor Plugin Question

Post 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.
User avatar
Milch
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Sat Jul 11, 2009 5:55 am
Programming Language of Choice: C++
Location: Austria, Vienna

Re: Tiled Map Editor Plugin Question

Post by Milch »

I've never used it, but this is just what I was looking for at the moment. Thank you!
Follow me on twitter!
User avatar
dejai
Chaos Rift Junior
Chaos Rift Junior
Posts: 207
Joined: Fri Apr 11, 2008 8:44 pm

Re: Tiled Map Editor Plugin Question

Post by dejai »

Just implemented an exporter in it seems to work well. :-)
User avatar
Milch
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Sat Jul 11, 2009 5:55 am
Programming Language of Choice: C++
Location: Austria, Vienna

Re: Tiled Map Editor Plugin Question

Post by Milch »

Any links/reference on how to do this?
I searched the site but couldn't find stuff ><
Follow me on twitter!
User avatar
dejai
Chaos Rift Junior
Chaos Rift Junior
Posts: 207
Joined: Fri Apr 11, 2008 8:44 pm

Re: Tiled Map Editor Plugin Question

Post 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.
Bjørn
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 1
Joined: Tue Jul 06, 2010 5:56 am

Re: Tiled Map Editor Plugin Question

Post 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. :-)
User avatar
dejai
Chaos Rift Junior
Chaos Rift Junior
Posts: 207
Joined: Fri Apr 11, 2008 8:44 pm

Re: Tiled Map Editor Plugin Question

Post 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.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Tiled Map Editor Plugin Question

Post by Falco Girgis »

Very impressive looking editor. And it's written with QT!

We love QT here. :)
Post Reply