Skip to content

Rectangle from Tiled are load at the wrong coordinate #1740

@vanicat

Description

@vanicat

Bug Report

When loading a .tmx file, the coordinate of rectangle are wrongly

System Info

Arcade 2.6.17

vendor: NVIDIA Corporation
renderer: NVIDIA GeForce GTX 1060/PCIe/SSE2
version: (4, 6)
python: 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)]
platform: win32

Actual behavior:

rectangle are transformed into polygon with negative y

Expected behavior:

the coordinates of the rectangles consistent with the coordinates of all the rest.

Steps to reproduce/example code:

Create a rectangle object in tiled, load the .tmx file into a scene.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions