Open ghost opened 2 years ago
Related to https://github.com/godotengine/godot-proposals/issues/955.
Please check if this is already implemented in the new TileMap editor in 4.0alpha6 :slightly_smiling_face:
It's not. Already discussed it in discord
Related to #955.
Please check if this is already implemented in the new TileMap editor in 4.0alpha6 🙂
In the new tile editor, you could put each variation as a separate atlas source. Then this could be easily achieved if the editor had an option to duplicate a source; you'd just duplicate it with all data and swap the texture. Would that resolve the proposal?
Godot 4 seems to be missing this utility as well. My use case that sorely needs the facility to duplicate all tile properties for a given atlas so these can be easily applied to different tilesets. i.e. most terrains use the same tileset template to show the correct tile for each bitmask. the colliders and occluders tend to be the same across all tilesets that use the same template.
Having the ability to duplicate this data for new atlases would be extremely useful. Currently the only way is manually manipulate the raw tres file to copy this data across
Describe the project you are working on
A 2D Platformer that takes inspiration from turrican. WIth large ammounts of tiles with minor variations.
Describe the problem or limitation you are having in your project
Basically take the following case where you have several tiles only in different colors.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Have a Copy and Paste mode button in the Tileset editor.
It would allow the user to create tiles for one variation and then copy and paste them to the other variations...
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
New Tileset Editor Button lets call it Copy and Paste
Clicking it deselects the current tile.
Shift+Click+Dragging will allow you to select multiple tiles.
Ctrl+C to copy - tile regions and extra data Ctrl+P to paste - tile regions and extra data
If this enhancement will not be used often, can it be worked around with a few lines of script?
As tilesets are a base type. It would be possible to do it with a script. But you would have to write your own tile editor from scratch... And i doubt anyone would ever want to do such a thing
Is there a reason why this should be core and not an add-on in the asset library?
The current tileset editor in 3.4 is awful. It cand use lots of improvements.