So i want to make an inventory that will automatically grow as the player has more items in it, but i have no idea how to do this honestly. I've tried loops and taking the size of the frame and scaling it off that. works fine on my pc but on smaller displays its too much scaling, and on bigger ones its too little. I don't really know how you'd even make something like this, all i need it to do is hold stuff and that seems like the biggest hurdle ive came to yet lol. If you have any code snippets that i could find useful i'd greatly appreciate it especially if it also scales the cells in the UiGridLayout then i'd love it. If not a code snippet then please explain me something i could do, as i'd definitely like to know how it works and i'd really look into it
COMMUNITY QUESTION
How would i make an inventory system that will scale?
1 answer
When you're resizing it, just use the left side of the brackets "{left,right},{left,right}". It goes from 0 to 1 and anywhere in between. It is the same ratio to all sizes.
Please at least show some efforts in solving this. This is not-constructive please take a look at the Community Guidelines.
If you have any questions or issues contact me. ;)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Are you scaling your GUI in Offset or Scale?