mapeditor / mapeditor/tiled

Copy and paste to object types editor from tileset props/objects

Open
#3,676 1 comment 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

```
// objecttypes.json
{
"name": "Liquid",
"type": "class",
"members": [
{
"name": "test",
"type": "string",
"value": "foo"
}
],
}

// tileset.tsj props
tiles [{
"id":2,
"properties":[
{
"name":"test",
"type":"string",
"value":"foo"
}, ]
}]
```
So `objecttypes.json` has a member field that is pretty much compatible with tile.properties and or custom objects but you cant copy and paste to the object types editor in the ui. You also can't copy members from objecttypes class to another objecttypes class. I'm currently copying via text editor for now.

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 comparing the member structure in objecttypes.json with the properties structure in tileset.tsj, then inspect the object types editor and its copy/paste entry points. Done means properties or members can be copied between tileset objects, custom objects, and object types classes through the UI without using a text editor.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.