Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlxTiledmap cannot load .tmx when properties contain newlines #336

Open
stetso opened this issue Oct 1, 2019 · 0 comments
Open

FlxTiledmap cannot load .tmx when properties contain newlines #336

stetso opened this issue Oct 1, 2019 · 0 comments

Comments

@stetso
Copy link

stetso commented Oct 1, 2019

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant