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

Changing the texture of the normal/practice mode bar anywhere prevents it from cropping #17

Open
JordanTRS opened this issue Sep 10, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@JordanTRS
Copy link

Easiest way to explain this is to show a comparison. This is what it normally looks like:
image
And this is what it looks like when I try to replace the sprite using HT:
image

@Alphalaneous
Copy link
Owner

This isn’t exactly a bug but rather a quirk of how those sprites work in the first place. They work by having a full width sprite and then cropping it. Currently replacing a sprite doesn’t inherit the cropped rect of the sprite and it can be hard to make it exactly the same. This is something that should be done directly by replacing the full texture rather than changing the sprite in the json

@JordanTRS
Copy link
Author

so there's no way to have separate sprites for each size of the progress bars? that's disappointing :/

@Alphalaneous
Copy link
Owner

As with the scroll thing, I can add a util for this in the future, as this would be cool for stylized packs

@JordanTRS
Copy link
Author

Yeah, it would be especially helpful for packs that use pixel art since the progress bars in-game aren’t all the same size. There’s a lot that could be added but with time this could be one of the best GD mods out there

@Alphalaneous Alphalaneous added the enhancement New feature or request label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants