Skip to content

feat: Add hasAttribute and getAttribute methods for SpriteFusionTileData#3751

Merged
spydon merged 2 commits intomainfrom
devkage/sprite-fusion-attributes-support
Oct 22, 2025
Merged

feat: Add hasAttribute and getAttribute methods for SpriteFusionTileData#3751
spydon merged 2 commits intomainfrom
devkage/sprite-fusion-attributes-support

Conversation

@ufrshubham
Copy link
Copy Markdown
Member

Description

Sprite Fusion now allows adding custom attributes to each tile (See this Discord post). This PR adds code to parse these custom attributes along with some helper method to get the data from these attributes.

Checklist

  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

Related Issues

Copy link
Copy Markdown
Member

@spydon spydon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@spydon spydon merged commit 17aeb93 into main Oct 22, 2025
9 checks passed
@spydon spydon deleted the devkage/sprite-fusion-attributes-support branch October 22, 2025 16:26
nickf2k pushed a commit to nickf2k/flame that referenced this pull request Nov 16, 2025
…TileData` (flame-engine#3751)

[Sprite Fusion](https://www.spritefusion.com) now allows adding custom
attributes to each tile (See [this Discord
post](https://discord.com/channels/509714518008528896/1430116462454116424/1430116462454116424)).
This PR adds code to parse these custom attributes along with some
helper method to get the data from these attributes.
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

Successfully merging this pull request may close these issues.

2 participants