How do I make a simple shop using another layout.

Get help using Construct 2

Post » Thu Dec 25, 2014 2:40 pm

Hello,
I decided to make a shop, which will be on another layout. All I want to know is how to save status (health, visibility or position) of every sprite on map? I know - save action, but when I go to the shop, buy some upgrades, then when i load the save, all I did is lost.

Also sorry for my poor English :3
B
3
Posts: 2
Reputation: 179

Post » Thu Dec 25, 2014 2:48 pm

Why not have the shop as a Global Layer? So you never lose any of the data because you never leave the layout. Just show/hide the layer with the Shop on it and set the game layer objects time scale to 0. So it's like pausing the game and therefore leaving the objects position and values intact.
ImageImage
Mr. Green - Platform/puzzle game out now!
B
25
S
7
G
1
Posts: 222
Reputation: 3,350

Post » Thu Dec 25, 2014 3:39 pm

T-hanks, it worked.
I would never think of this :0
B
3
Posts: 2
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: donstathemonsta and 27 guests