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
61
G
41
Posts: 2,577
Reputation: 34,314

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
91
S
31
G
29
Posts: 3,129
Reputation: 27,789


Return to How do I....?

Who is online

Users browsing this forum: Lanhoj and 10 guests