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

[Feature Request] Option to use Polygon for Entity's shape #1126

Open
hyperkvlt opened this issue Jul 3, 2024 · 0 comments
Open

[Feature Request] Option to use Polygon for Entity's shape #1126

hyperkvlt opened this issue Jul 3, 2024 · 0 comments

Comments

@hyperkvlt
Copy link

hyperkvlt commented Jul 3, 2024

Only being able to use rectangle shape for entity can be quite restrictive, so I think it would be nice for LDTK to be able to use Polygon shape as well using the diagonal points of the grid. It would be pretty useful for area trigger, collider, character confiner, and camera confiner.

ldtk polygon v3

The polygon would have somre restriction to prevent it from having empty space within the polygon to avoid complexity.

points

And it would remove unused points

no point v2

At first I thought of suggesting to create freeform rect using grid points since I feel it would be more fitting with LDTK, but it feels less flexible compared to simple polygon. On good side, it would be able to fit with the grid

ldtk green v2

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