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
141
S
58
G
37
Posts: 2,549
Reputation: 31,736

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
104
S
29
G
23
Posts: 3,070
Reputation: 24,781


Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], SparklingAir and 12 guests