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: [#443] Fix Tiled tilesets with margin/spacing defined #444

Merged
merged 2 commits into from
Jun 29, 2023

Conversation

eonarheim
Copy link
Member

@eonarheim eonarheim commented Jun 28, 2023

Closes #443

TODO:

  • Tests

Tiled and Excalibur use the same words for different things 🤦

  • Tiled tileset margin is the same as Excalibur's SpriteSheet.originOffset
  • Tiled tileset spacing is the same as Excalibur's SpriteSheet.margin

Uploaded a Tiled example that demonstrates this in the plugin

image image

@eonarheim eonarheim merged commit 0fe3031 into main Jun 29, 2023
1 check passed
@eonarheim eonarheim deleted the bugfix/margin branch June 29, 2023 13:46
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.

margin seems to be ignored
1 participant