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

Scrollable Inventory System #59

Open
Jacki3 opened this issue Aug 5, 2024 · 1 comment
Open

Scrollable Inventory System #59

Jacki3 opened this issue Aug 5, 2024 · 1 comment
Labels
accessibility enhancement New feature or request

Comments

@Jacki3
Copy link
Contributor

Jacki3 commented Aug 5, 2024

Is your feature request related to a problem? Please describe.
We can increase the inventory size by using the inventory display script (this will increase the number of slots the inventory has) but if we have lots of items this display can fill the screen and make pressing on slots difficult!

Describe the solution you'd like
Why not implement a scrollable pane of the set amount of slots that fit into the same space as the default inventory?

Additional context
An easy imlpementation - just need to add scroll rects to the areas that require it! The tricky aspect will be to setup the logic behind it in code (but this should be feasible).

@Jacki3 Jacki3 added enhancement New feature or request accessibility labels Aug 5, 2024
@Jacki3
Copy link
Contributor Author

Jacki3 commented Aug 5, 2024

Adding scroll rect and mask will work but 2 things:

  1. the inventory display script seems to alter changes made when entering play mode
  2. using the keyboard to go up/down will not scroll (can be modified in code and not too pertainable as we are mostly mobile based)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant