Create inventory contents dynamically

Get help using Construct 2

Post » Sun Jul 28, 2013 6:24 am

I've got stucked with my project. I want to create inventory, where player would be able to pick items, and their graphic representations will be shown in inventory.
I created placeholders for items, they are all the same sprite (inventory_slot) but with different names (slot1, slot2 etc.). I've got fucntion that selects slot to put item and then puts it into that slot. Problem shows when I try to load image from given url - it loads image to all instances of inventory_slot. Here's a screen how it looks:



Can I load image to one instance of sprite only? If not, maybe there is another way to create items in inventory dynamically?
B
5
Posts: 24
Reputation: 348

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 37 guests