You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tile groups get names 0, 1, 2, ... based on their appearance in a level file. When you copypaste by hand the tile group "0" into a different level by hand, chances are that there is already a "0" in the target level. You must rename one of the "0".
Give names that stand higher chances to be globally unique, e.g., based on system time or included tiles.
The text was updated successfully, but these errors were encountered:
The main reason is that I don't want unnecessary diffs when you re-save a level. If we use
a random string, or
the datetime of the most recent level editing (regardless of second or millisecond resolution),
...we would run into the issue that all groups get new names during saving. Even if you merely move a single unrelated tile, the new group names would generate big multi-line diffs throughout the level text file.
For now, I've merely documented in doc/formats/level.txt how to move groups manually: Their names, in all 0.9.x, are free-form text strings, not numbers. You can manually change the group names in one level from 0, 1, ..., to a0, a1, ..., and then copy these manually renamed groups into a second level without fear of clashes.
Lix 0.9.35
Tile groups get names 0, 1, 2, ... based on their appearance in a level file. When you copypaste by hand the tile group "0" into a different level by hand, chances are that there is already a "0" in the target level. You must rename one of the "0".
Give names that stand higher chances to be globally unique, e.g., based on system time or included tiles.
The text was updated successfully, but these errors were encountered: