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 ability to select icon style #11

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

Add ability to select icon style #11

wants to merge 19 commits into from

Conversation

Pennycook
Copy link
Owner

With this change, there are now three different icon styles that can be selected in the ProjectSettings:

  • Default: High-resolution 64x64 icons
  • Pixel: Low-resolution 16x16 icons
  • 1-bit: 1-bit equivalents of the 16x16 icons

There were some cases where Kenney's high resolution input prompts did not have an icon that was present in the original pixel prompts. In those cases, I've attempted to provide an icon in the same style.


@betalars, could you please take a look at this and let me know if the default behavior is closer to what you expected?

Initial step towards supporting multiple icon styles via different
directories.
Simplifies directory structure and allows for different controllers to
use different stick icons.
Necessary to support different resources for different styles.
Kenney's latest high-resolution input prompts asset doesn't require the
icons to be completed in an editor before use. Completing the pixel
icons in this commit ensures that the pixel and high-resolution icons
will provide the same out-of-box experience.
- Ensure that get_setting() uses a path that exists after refactoring.
- Set ProjectSetting entry to "" because it should now only be set for
  custom resources, and will otherwise conflict with icon styles.
Includes some placeholders for prompt icons that are included in
Kenney's pixel prompts but missing from the high-resolution version.
In order for the "Reset" button in the ProjectSettings to work
correctly, the metadata for each project setting has to be set
unconditionally. Only the value itself should be guarded by a
has_setting() check.
Sometimes, the PromptManager node seems to be removed from the tree
before the InputPrompt nodes. When this happens, the editor exits with
an error.
@Pennycook Pennycook added the enhancement New feature or request label May 14, 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

Successfully merging this pull request may close these issues.

1 participant