Inventory, layer or layout?

Get help using Construct 2

Post » Mon Jan 30, 2017 4:08 pm

If you want enemies to stay destroyed then you can use the Persist behaviour. If you want the character to spawn somewhere else you need to store the co-ordinates somewhere and use them when returning to the layout. This isn't really related to an inventory system though.
B
47
S
17
G
81
Posts: 2,224
Reputation: 48,095

Post » Mon Jan 30, 2017 4:29 pm

I'd say it's far easier to have the inventory menu in a layer instead of a separate layout, only because you don't have to worry about saving the current game state to load it back when you close the inventory.
B
74
S
31
G
26
Posts: 994
Reputation: 20,198

Post » Mon Jan 30, 2017 4:46 pm

@GPProd look into the persist behavior as well as setting global properties. Then think about how you would set up a GUI to work across multiple layouts and go from there.
B
61
S
20
G
56
Posts: 1,077
Reputation: 35,991

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests