mapeditor / mapeditor/tiled

Copying multiple Objects from multiple ObjectLayers to other parts of the same Map (does not work).

Open
#3,144 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

Goal

  • Copying multiple Objects from multiple ObjectLayers to other parts of the same Map within the same ObjectLayers would be a handy method.

AsIs

  1. Select multiple ObjectLayers and select via rectangle several Objects on different ObjectLayers.
  2. Copy them.
  3. Paste somewhere else on the same Map without changing the selection of ObjectLayers.
  4. Outcome: Objects are pasted on one single ObjectLayer.

ToBe

  1. Same as above.
  2. Outcome: Objects are pasted correctly on the same multiple ObjectLayers.

Info / Discussion / Open Questions

  1. As discussed in Discord with @bjorn and @eishiya on Sep 29-30, 2021. Looking forward to your feedback :-)
  2. The same method already works fine with copying multiple Tiles from multiple TileLayers within the same Map.
  3. This should also work between different Map files, as long as they have the same names for ObjectLayers / TileLayers - is that the case?
  4. Just out of curiosity: How hard would it be to implement a function which selects all Objects and Tiles across multiple different LayerTypes to cut / copy / paste them within one work step?
  5. My use case, check screenshot: I have a straight topdown RPG with lots of Object and TileLayers for different floor heights. When I have a house with several Floors (TileLayers) and lots of Objects in different rooms on different Floors, I have quite a pain the butt to move this house within the Map. When designing a RPG world with towns and cities that's quite often a use case when houses need to be moved somewhere else. EDIT: Having the described ToBe implemented would already be a huge help as I only need to copy-paste the Tiles / Objects in TileLayers / ObjectLayers with in total 2 work steps.

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing copy/paste handling for multiple Objects selected across ObjectLayers, then compare it with the multi-TileLayer behavior described as working. Done means pasted Objects remain on their corresponding ObjectLayers when copied within the same Map, with the cross-Map and cross-layer questions resolved or explicitly scoped.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, tooling
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.