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

Implement Alpha Tolerance slider #1956

Open
MichaelHinrichs opened this issue Oct 24, 2024 · 1 comment
Open

Implement Alpha Tolerance slider #1956

MichaelHinrichs opened this issue Oct 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@MichaelHinrichs
Copy link

Which component should be improved?

UI/UX

Describe your feature suggestion in more detail

Slider
This slider goes from 0 to 255. It's used for sprite masks, and it effects the "coltolerance" variable in GMX files of sprites. There is no control for this in UndertaleModTool.

@MichaelHinrichs MichaelHinrichs added the enhancement New feature or request label Oct 24, 2024
@luizzeroxis
Copy link
Contributor

I believe this information isn't actually stored in the data file, it just stores the actual bits of the mask, already calculated from the alpha tolerance. Maybe this could be added when importing a mask or in ImportGraphics.csx, but not as a control in the sprite itself. It looks like when importing, it just checks if a pixel is white or not, and ImportGraphics.csx looks if the alpha is more than 0.

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