FlxTiledmap cannot load .tmx when properties contain newlines
stetso opened this issue · 0 comments
stetso commented
Whenever I try to load a .tmx-file with the FlxTiledMap constructor and any object has a custom property that contains a newline, the program crashes with a property is missing attribute value
error.
Example snippet from the .tmx:
<object id="6" gid="97" x="112" y="96" width="16" height="16">
<properties>
<property name="interactions">Something Something...
Something else...</property>
</properties>
</object>
It works without problems if everything is in a single line, so I assume it has something to do with the XML-parsing or TiledPropertySet construction. I am not entirely sure if anything can be done in Flixel...