mapeditor / mapeditor/tiled

Tiles may be displayed out-of-order if animations are not defined in numerical order

Open
#3,535 0 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

**Describe the bug**
If the tiles for animation in a tiles XML are in numerical order, the tiles in the tileset preview may render out of order. However, they behave correctly in maps. (This came about because we had an external tool producing XML for complex animations, and copied two separate animations into the same file.)

**To Reproduce**
1. Swap the order of two .... sequences in a tsx file.

**Expected behavior**
Tiles display in normal, ascending order.

**Media**

**Specifications:**
OS: MacOS 12
Tiled Version: 1.9.2

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 the tileset preview using a TSX file with two swapped tile-animation sequences, then trace how the preview orders animated tiles. The change is done when the preview displays tiles in ascending numerical order while map behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.