Dynamic Inventory
-
I am creating a game that involves a shop system and a dynamic inventory, all my efforts have not succeeded so I thought I would ask the community for some advice, thanks in advance! Current inventory layout:

-
@bd-studios I had a go at making an example that might hopefully help a bit. Link: http://bit.ly/2zU8D8H
So in your project you would have the game create an array with the name or ID (that you make up) of every item you want to show up in the inventory. Then I think for you instead of setting a label that just says the name of the item you might have it use the ID to get the image of that item.
-
Thanks, will have to check it out tomorrow!
-
I use the spawned object position as a key to differentiate between them. But as you'll definitely know all the type of items that'll be spawned, Aidan's idea might be better.
Hopefully we won't need to use such a hacky method once the object referencing update is out.
-
Ohhh sorry I forgot I'm still on the beta, and some of what I did (object referencing) used new beta stuff. You might not even be able to run that project.
-
I am on the beta, it works perfectly In your example
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login