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

Template instances's width and height "reset" itself after relaunch #2889

Closed
Pordrack opened this issue Aug 21, 2020 · 1 comment
Closed
Labels
bug Broken behavior.

Comments

@Pordrack
Copy link

Hello, I use templates in a project to create NPC's and platforms elements, and then changes their tiles to my liking. When I do that, the resulting object has a sprite, and a perfectly normal width and height, however after a relaunch, the object is "deformed" to have the width and height of the original template's sprite. Sure, I can detach every instances I create, or manually changes their width and height, but it's a little tedious and annyoing over time. I don't know if it's really an issue, but still think it would be nice to have templates with "dynamic dimensions".

@bjorn bjorn added the bug Broken behavior. label Nov 6, 2020
@bjorn
Copy link
Member

bjorn commented Nov 6, 2020

Hmm, this seems to be because the template's size is based on the original tile, and when you change the tile of an instance it only remembers that the tile has been overridden, but then it still inherits the size from the template.

@bjorn bjorn closed this as completed in e96d6f7 Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior.
Projects
None yet
Development

No branches or pull requests

2 participants