mapeditor / mapeditor/tiled

Automap and output as object layer

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

Description

Hi,

I tried to create some automap rules wich would create an object layer as output.
The problem occur during the creation of Tiled Object where their positions match perfectly the grid.
Indeed, in this case, the object layer is created but not the Tiled Objects.
If they do not perfectly match the grid, they are normally created.

Here is a reproducer: [automap_issue_reproducer.zip](https://github.com/bjorn/tiled/files/1418047/automap_issue_reproducer.zip)

Best regards,
Birmania

P.S : Sorry for my potential bad english.

Contributor guide

Open the contributing guide

Research direction

Open the linked automap_issue_reproducer.zip and reproduce the case where object positions align exactly with the grid. Trace the automap path that creates the object layer and compare it with the path for off-grid objects; done means aligned Tiled Objects are created as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.