Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importer not importing the templates for collision shapes #125

Open
Flavien opened this issue May 10, 2020 · 0 comments
Open

Importer not importing the templates for collision shapes #125

Flavien opened this issue May 10, 2020 · 0 comments

Comments

@Flavien
Copy link

Flavien commented May 10, 2020

Plugin version: 2.3, downloaded from GitHub

Issue description
When using templates for collision shapes in Tiled, the shape gets imported as empty into the tileset.

Steps to reproduce
Using tiles like this:

 <tile id="717" terrain="16,21,16,16">
  <objectgroup draworder="index" id="2">
   <object id="1" template="Top-Right.tx" x="8" y="0"/>
  </objectgroup>
 </tile>

With Rop-Right.tx containing:

<?xml version="1.0" encoding="UTF-8"?>
<template>
 <object name="Top-Right" type="area">
  <polygon points="0,0 24,0 24,24"/>
 </object>
</template>

What gets imported is a RectangleShape2D with an empty extent:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant