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
155
S
62
G
41
Posts: 2,587
Reputation: 34,414

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
33
G
29
Posts: 3,137
Reputation: 28,132


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests