How do I save my inventory across layouts?

Get help using Construct 2

Post » Tue Mar 13, 2018 10:05 pm

I have a global layout for the GUI but when I modify it in-game and switch to another layout it resets back to default and the items you gained are removed.
Is there any way I can save the position, quantity and animations of the items?
Image
Update: I just came across a plugin from rex called InstanceBank that does the job :D
yes.
__
|:D|
Gamjolt account:http://gamejolt.com/profile/masgame/409321/
B
37
S
15
G
3
Posts: 40
Reputation: 5,002

Post » Sun Mar 18, 2018 5:15 pm

You'll need to make all your inventory ui items/texts and whatnot global too, but it is better to just store the inventory data in an array or dictionary and draw it again on start of layout.
Image
B
87
S
32
G
12
Posts: 525
Reputation: 13,109


Return to How do I....?

Who is online

Users browsing this forum: Cassianno, dioking and 6 guests