Inherited Layer Problem

For questions about using Classic.

Post » Wed Aug 29, 2012 11:22 am

Hello everyone, I use Inherited layer on my game but I have a problem with events.

Here is a .cap file with just the problem.

When the layout "menu_princip" is first, clicking the orange button does nothing.
If 'layout 1' is first, clicking the orange button does something.

Why this problem and how to correct it please ?

Hope i'm clear, thanks for answer. :)
B
10
S
1
G
1
Posts: 31
Reputation: 1,006

Post » Wed Aug 29, 2012 1:15 pm

I found a solution : my Keyboard and Mouse object was in global. If it's not, it works. Someone can explain me please ?
B
10
S
1
G
1
Posts: 31
Reputation: 1,006

Post » Thu Aug 30, 2012 11:00 am

It's possible that the object was global, but only first created on the second layout (layout 1). Remove all instances of it and try putting one in the very first layout of the cap file and then tick global
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Thu Aug 30, 2012 3:38 pm

Hi Jayjay, and thanks for your answer.

What object are you talking about, Mouse & Keyboard ?
B
10
S
1
G
1
Posts: 31
Reputation: 1,006


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests