Layout return

For questions about using Classic.

Post » Tue Jun 23, 2009 5:48 pm

Hello :) Sorry my eng, but i have one question :o
How do that? in change Layout 1 to Layout 2 and, return to Layout 1 the objects remember their positions and e,t,c ?
B
1
G
3
Posts: 4
Reputation: 833

Post » Tue Jun 23, 2009 5:56 pm

Try enabling 'global' for some objects, or use the 'save/load' or 'quicksave/quickload' actions before leaving the layout to save its state.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Tue Jun 23, 2009 6:08 pm

[quote="Ashley":29z0rlps]Try enabling 'global' for some objects, or use the 'save/load' or 'quicksave/quickload' actions before leaving the layout to save its state.[/quote:29z0rlps]
Thanks for answer, but that ways not optimal for me :|
B
1
G
3
Posts: 4
Reputation: 833

Post » Tue Jun 23, 2009 6:11 pm

You could use an array, ini, or some other persistent format otherwise.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Tue Jun 23, 2009 6:23 pm

Ashley Global make the object visible in all layouts :(
[quote="Rich":3cd5vvqd]You could use an array, ini, or some other persistent format otherwise.[/quote:3cd5vvqd]
its Superfluous code for game (
I found one way, make obj is Global, and write event for end & start layouts take param for obj visibility. But in this way object stay in memory, its no good :?
B
1
G
3
Posts: 4
Reputation: 833

Post » Tue Jun 23, 2009 6:37 pm

You can't expect to write no events. If data needs saving then there's multiple objects to do it with :P.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Tue Jun 23, 2009 8:01 pm

[quote:233ybvmz]Superfluous[/quote:233ybvmz]

It's not superfluous if it's necessary.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest