Déc 082013
 

As seen in article 19 (a platform game), I had came up with a text file format which I used to create levels.

I was about to start coding a level editor when I came on this editor : http://www.mapeditor.org/ .
This is freeware and it seems active enough.
Note : a nice thread here around possible tile editors.

I decided to use it with my current game project (a platform).
I choose the xml format (tmx format). See an example here : level .

I then had to code a method to parse the xml file.
In the process I also completed the multi-tiles to one block trick to avoid the edge-catching bug.
I also managed the texture tiling.

A class to create level in a farseer world will come in a next article.

Here below a screenshot of a level made with Tiled.

tiled

Here below a video playing this level.

 Posted by at 1 h 18 min

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.