mapeditor / mapeditor/tiled

Tiled 0.15.0 - Bug with automapping using collection of images

Open
#1,202 5 comments 0 reactions 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

Hi,

I use automap feature but instead of using a tileset I use a collection of images. I create 3 tile layers (regions, output_object, input_object) and 1 object layer (output_object_collision).

Then in my object layer (output_object_collision) I add some shapes and lines.

After that, in my level.tmx I use the automap. At that point, only some objects from the object layer appear. It looks like it depends on the size of the shapes (a rect using less than half the object area don't show and using lines don't appear either.
Here are some screenshots:

![automap_rule](https://cloud.githubusercontent.com/assets/17203179/13015270/297e3bec-d186-11e5-9ad4-dd4c18d10e72.png)
![level1](https://cloud.githubusercontent.com/assets/17203179/13015272/29839e0c-d186-11e5-8231-caf82005d3c2.png)

Thanks

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

Reproduce the issue in Tiled using a collection of images, the three tile layers, and the output_object_collision object layer with rectangles and lines described in the report. Start by tracing automapping of object layers and verify that all shapes and lines appear in the resulting level rather than only larger rectangles.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, game-dev, tooling
Issue type
Bug
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.