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

fix: add "Point" objectType to TiledObject from Tiled 1.1 update #448

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

ninjamuffin99
Copy link
Member

@ninjamuffin99 ninjamuffin99 commented Oct 6, 2024

In Tiled 1.1 there was a Point object type added.

https://doc.mapeditor.org/en/stable/manual/objects/#insert-point

The changes needed are relatively simple, we just want to set objectType so if we do something like
if (object.objectType == TiledObject.POINT) it's nice and conveniently there. It doesn't have any extra attributes that isn't already initialized

from my .tmx file

<object id="5" name="playerStart" x="1195.76" y="697.314">
   <point/>
</object>

@Geokureli Geokureli merged commit 73856c9 into HaxeFlixel:dev Oct 7, 2024
10 checks passed
@Geokureli Geokureli added this to the 3.3.0 milestone Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants