Object, different layout

Discussion and feedback on Construct 2

Post » Fri Jan 11, 2013 4:02 am

Can I have the main player in my game be on multiple layouts? Rather then creating an exact new one for each layout.
B
6
S
1
Posts: 28
Reputation: 856

Post » Fri Jan 11, 2013 10:49 am

Make the object 'global', you'll find the option at the objects settings.
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Fri Jan 11, 2013 1:07 pm

Or just drag it from the project bar in to another layout.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Sat Jan 12, 2013 3:57 am

No that doesn't work. So that works perfectly for the platforms in my game. But when it comes to the player, the player will not function in different layouts. If you start the game on Level 2 it works. But go onto level 3 and it doesn't. Start on level 1 it works. But go onto level 2 and it doesn't. See my problem?
B
6
S
1
Posts: 28
Reputation: 856

Post » Sat Jan 12, 2013 7:54 am

Difficult to tell exactly what the problem is without you providing a capx, but it's mostly likely because you've only set up the player's control events in the event sheet for the first layout.

If that is the case, I'd suggest that you place all of the events you need to be portable in their own event sheet, and include that event sheet in the sheet for each layout.
B
56
S
15
G
10
Posts: 910
Reputation: 11,942


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests