mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Report similar class/type for tileset #4159

ManPython posted onGitHub

Is your feature request related to a problem? Please describe. Want suggest a option to Report similar class/type for tileset

Describe the solution you'd like Pop'up maybe as "Exist similar class/type for tilest" and log about.

Describe alternatives you've considered Resolve problem when importing .tmx and .tsx ? Eg. ask what to do if exist?

Not sure about good practice around this type case. Some times this same type name have other id. Also is possible to have this same name for tilesets when importing or something what is not good solution.


I'm sorry but I have no idea what you are talking about in this issue. Could you describe the steps you're doing in Tiled that lead to the problem you're trying to solve? And maybe show a screenshot of the issue?

posted by bjorn about 1 month ago

Ad to tile gid1 name class "name1" ad to gid2 name class "name2", maybe user want this but it's be good to resolve problem if accidentally is this same name for other gids. To prevent this type case in option can be turn on to alerting similar names.

posted by ManPython about 1 month ago

Rather than alerts about similar names, might it not be more useful to have previously used names show up as suggestions like Custom Types are? Perhaps they could be listed in the class list dropdown, but after the defined classes, and/or styled differently.

Another possibility is an Project-level option to disable "custom" class names, requiring the name to be one of the defined custom types (typing the name should still be possible since that can be quicker than picking from the dropdown, just not committing the change if it's invalid).

Edit: Also, please don't say "gid" if you mean "tile id" or "tile". "gid" has a different meaning, and GIDs don't really exist in Tiled at runtime, they're a detail specific to certain file formats Tiled can use. When you add a class to a tile, you're modifying that tile.

posted by eishiya about 1 month ago

Maybe list of id in log about similar as alerts can be ok, as other type log, eg: error, alert, info.

posted by ManPython about 1 month ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests