mapeditor / mapeditor/tiled

Option to restrict layer to a single tileset

Open
#153 14 comments 10 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

Cocos2d only allows one tileset per tile layer. It is very easy to accidentally click the tile stamp tool on the wrong layer and it can be difficult to undo the problem if it is not noticed immediately. What is worse, Cocos2d can not recover from this problem and completely fails to load the tileset.

I would like to request a checkbox option in preferences to enforce "one tileset per layer". After a given tileset has been used in a layer, then an error dialog will appear if the end user tries to use a different tileset with that layer.

Contributor guide

Open the contributing guide

Research direction

No files or tests are mentioned. Start by locating the preferences UI and the tile stamp tool handling, then trace how a layer records its tileset and how errors are shown. Done means an optional preference prevents applying a different tileset to a layer and displays an error dialog without breaking tileset loading.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.