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

Allow texture packs to provide fallback button styling via textures #14578

Open
mruncreative opened this issue Apr 22, 2024 · 0 comments
Open
Labels
Feature request Issues that request the addition or enhancement of a feature Formspec Textures

Comments

@mruncreative
Copy link

Problem

Many form elements like buttons can not be styled by texture packs for games that did not set textures for them in the first place like MTG.
This means texture packs can not restyle buttons for MTG and supporting more games will be harder for texture packs if everyone uses custom styling for everything meaning texture packs will support less games or less texture packs will be created in the first place with those dire prospects.

Solutions

The Minetest engine should check whether texture packs provide textures for things such as buttons and include the file names it checks for in the documentation. 9-slices are already supported. You just need to put in checks and apply them if available. This could also work for the main menu.

Alternatives

live with ugly GUI

Additional context

No response

@mruncreative mruncreative added the Feature request Issues that request the addition or enhancement of a feature label Apr 22, 2024
@sfan5 sfan5 changed the title Expand engine textures (textures/base/pack) Allow texture packs to provide fallback button styling via textures Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Issues that request the addition or enhancement of a feature Formspec Textures
Projects
None yet
Development

No branches or pull requests

2 participants