Skip to content

Tiled Map Editor tilesheet animation doesn't function properly #1362

@JGneiting

Description

@JGneiting

Bug Report

System Info

Arcade 2.6.16

vendor: NVIDIA Corporation
renderer: NVIDIA GeForce GTX 1660/PCIe/SSE2
version: (4, 6)
python: 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64 bit (AMD64)]
platform: win32

Actual behavior:

When arcade loads a map created with Tiled map editor, animations created from a tilesheet based on a single image do not play, only animations based on a collection of images.

Expected behavior:

Loading a map from Tiled should play both types of animation, those based on images combined in a tilesheet and those based on separate image files.

Steps to reproduce/example code:

Example.zip

From the Example.zip file, run main.py, this will demonstrate the issue.
The arrow on the right spins as expected, while the one on the left does not.
Opening the ExampleMap.tmx in Tiled shows a map where both arrows are animated properly.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions