Skip to content

Conversation

@bjorn
Copy link

@bjorn bjorn commented Nov 12, 2024

The TMX format uses 1/0 instead of true/false.

Tile layers and image layers were already using 1/0.

The TMX format uses 1/0 instead of true/false.

Tile layers and image layers were already using 1/0.
@bjorn
Copy link
Author

bjorn commented Nov 12, 2024

I made this change by editing the file on GitHub so it hasn't been tested in any way. Also, I guess this change might cause compatibility issues with existing exported maps?

Currently behavior for "true"/"false" is that Tiled will silently fail to parse the integer and use the default state (visible, unlocked) for all object groups. This issue was found when somebody tried to load an exported map using rs-tiled, since it is more strict (see mapeditor/rs-tiled#317).

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

Successfully merging this pull request may close these issues.

1 participant