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
46
S
16
G
73
Posts: 2,086
Reputation: 43,681

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
69
S
28
G
24
Posts: 977
Reputation: 18,739

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,986

Previous

Return to How do I....?

Who is online

Users browsing this forum: plinkie and 33 guests