Saving and loading objects on layouts

Get help using Construct 2

Post » Tue Aug 21, 2012 2:47 am

I have a game with a world layout and a dungeon layout. There are monster and item objects in the dungeon. If you leave the dungeon layout for the world layout, how do I save all the objects in the dungeon so when you go back they are still where you left them?
B
2
Posts: 4
Reputation: 533

Post » Sun Aug 26, 2012 9:55 pm

bump
B
2
Posts: 4
Reputation: 533

Post » Sun Aug 26, 2012 10:35 pm

You would have to save coordinates (X and Y) for every important object in your game. There few way you could approach: Global variables, Arrays...

Look here on How do I or here Tutorials and you will find your answers.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Sun Aug 26, 2012 10:39 pm

http://www.scirra.com/arcade/example/1460/save-load-engine-for-platform-games
Try this .capx example
B
96
S
25
G
20
Posts: 3,052
Reputation: 22,638


Return to How do I....?

Who is online

Users browsing this forum: Artpunk and 14 guests