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

feat(tileEngine,Animation)!: support margin and spacing properties #405

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

straker
Copy link
Owner

@straker straker commented Jul 12, 2024

BREAKING CHANGE: frameMargin was renamed to margin. margin use to be treated like spacing (whitespace between tiles). Now margin means whitespace around the entire tilesheet and spacing means whitespace between tiles. I can't figure out if an older version of Tiled only supported margin as spacing, but current version is treating it this way.

Closes #375

@straker straker merged commit 7312c0e into main Jul 12, 2024
9 checks passed
@straker straker deleted the spacing-margin branch July 12, 2024 21:48
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.

Support padding for SpriteSheet
1 participant