Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Map and Map Editor  (Read 8565 times)

0 Members and 1 Guest are viewing this topic.

Mad

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Map and Map Editor
« on: August 30, 2013, 07:59:43 pm »
Hello all!

After the great feedback coding a particle system (see http://en.sfml-dev.org/forums/index.php?topic=12788.0 ), I have now another question.

Coding makes fun, but it's not neccessary to build the wheel again and again, if someone has a good solution.  :D

So, i need a mapsystem for 2d map tiles. There are several examples out there, but I want to use an existing Map Tile Editor (with multi layers).
Perhaps an editor like iTile: http://tide.codeplex.com/
or Tiled http://www.mapeditor.org/
Has anybody an existing solution for this and want's to share it?  :D
« Last Edit: August 30, 2013, 08:34:50 pm by Mad »
best regards,

Mad

Mister

  • Newbie
  • *
  • Posts: 22
  • Zomg
    • View Profile
Re: Map and Map Editor
« Reply #1 on: August 31, 2013, 07:10:36 am »
Use Tiled!  ;D

I've used it a lot with XNA and it truly works wonders. Importing the map from the XML file isn't too bad (there should be plenty of importers out there for this) -- I made my own for a school project but it was a little sketchy.

I'll take a look on google and see if I can stumble across anything that can help you out.
Check out My Blog.

Mad

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: Map and Map Editor
« Reply #2 on: August 31, 2013, 07:53:26 am »
I found some classes for Tiled, but all seems to be rather old.
They are no more working with the latest Tiled version.  :-\

Tiled XML format definition is a little bit incomplete and the given DTD file (hell, yeah! Great!) is 'This file is not up-to-date but might be useful for XML-namespacing anyway.' (hell, nononoooooo!).

it's a pity  :o
best regards,

Mad

Mad

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: Map and Map Editor
« Reply #3 on: September 06, 2013, 03:34:27 pm »
I found a working solution.  :)

If someone else is looking for a mapreader reading maps from the Tiled editor ( http://www.mapeditor.org/ )
grab it here: https://github.com/marshallward/TiledSharp
best regards,

Mad

marshall

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Map and Map Editor
« Reply #4 on: September 12, 2013, 04:44:00 am »
Cool, glad to see someone is using this (c/o google 8)). I've also been thinking of making a generic XNA/MonoGame renderer to go along with it.
Let me know if you have any problems, or use it in any projects.

Mad

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: Map and Map Editor
« Reply #5 on: September 13, 2013, 09:27:42 pm »
Cool, glad to see someone is using this (c/o google 8)). I've also been thinking of making a generic XNA/MonoGame renderer to go along with it.
Let me know if you have any problems, or use it in any projects.

Ha, Marshall. You got me!  8)
Ist a very good lib! Thank for sharing it.
If wrote a little map render for the basics in C#/sfml. Still now :)
Thank you for your feedback!

cheers,
Mad
best regards,

Mad