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

Some generated sprites are not centered #1

Open
rigoparis opened this issue Jan 25, 2024 · 1 comment
Open

Some generated sprites are not centered #1

rigoparis opened this issue Jan 25, 2024 · 1 comment

Comments

@rigoparis
Copy link

Hey!

I want to start off by giving props for such an awesome addon!

I've been messing with it and have noticed sometimes sprites are not centered or are bigger or smaller than expected. Even if Sprite Bit Size is set to 16, it sometimes generates sprites wider. Also since offset is an int, it can't offset by 8.5 to catch these cases.

I'm adding screenshots about some sprites that I've randomly generated.

Maybe I'm doing something wrong?

Thanks for any help!

Screenshot 2024-01-25 010757
Screenshot 2024-01-25 010823
Screenshot 2024-01-25 011323

@CactiChameleon9
Copy link
Owner

Thanks for the bug report!
To answer your first question on the bigger sprite sizes I am guessing that the outline could be causing a larger sprite? I'd love an example of this. If this is a bug I don't think that's something I'd want to fix. I wanted to remain as compatible with the original web-based version as possible (because its useful)
As for the centred issue, I can push an update to allow for non-integer offsets if you'd find that helpful? Probably some sort of auto-centring feature would be useful.... Feel free to make a separate issue for that if you'd like.

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

No branches or pull requests

2 participants