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

Add customisable in-game controls #24

Merged
merged 4 commits into from
Nov 30, 2024
Merged

Add customisable in-game controls #24

merged 4 commits into from
Nov 30, 2024

Conversation

SuperLlama88888
Copy link
Owner

@SuperLlama88888 SuperLlama88888 commented Nov 30, 2024

  • Add a pure-CSS expandable <fieldset> for changing controls. The texture options have also been changed to be expandable.
  • Each control can be changed to match any number of items or item tags. Inputs are distinguishable by colour. When tested with Firefox accessibility tools, they seem to still be distinguishable even with colourblindness.
    • Inputs are using custom form elements, and have <datalist>s to show all item names and tages. Item tags are grabbed from pmmp/BedrockData.
  • Add a generalised CachingFetcher class to make caching resource easier.
  • Using a fake material list to translate item names, a list of in-game controls are added to the pack description if they are different to the default.

- Add a pure-CSS expandable <fieldset> for changing controls. The texture options have also been changed to be expandable.
- Each control can be changed to match any number of items or item tags. Inputs are distinguishable by colour. When tested with Firefox accessibility tools, they seem to still be distinguishable even with colourblindness.
  - Inputs are using custom form elements, and have <datalist>s to show all item names and tages. Item tags are grabbed from pmmp/BedrockData.
- Add a generalised CachingFetcher class to make caching resource easier.
- Using a fake material list to translate item names, a list of in-game controls are now added to the pack description if they are different to the default.
- Make the player controls HTML UI be dynamically generated.
Some things weren't being updated...
@SuperLlama88888 SuperLlama88888 merged commit 1f0e022 into main Nov 30, 2024
3 checks passed
@SuperLlama88888 SuperLlama88888 deleted the dev branch November 30, 2024 03:01
@SuperLlama88888
Copy link
Owner Author

Closes #16

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

Successfully merging this pull request may close these issues.

1 participant