in-game screen for tutorial disappears

Get help using Construct 2

Post » Sat Nov 09, 2013 7:44 pm

Hi,

I have a layer 1 that I want to be visible when the player has not seen the tutorial at least 1 time. I'm able to show it, but I also want it to disappear whenever you click anything.

My problem is that from my previous layout (Main Menu) to the game layout(Level), the system counts any click as part of the "On any click" statement and then the tutorial is being showed for a millisecond.

Is there any way to tell the system to start considering the "Any click" or "Any key pressed" associated to a particular layout, like Level, and not anywhere else?

The condition was placed on the Level layout as
Layer 1 is visible ->
On any key released:
Set layer 1 to Invisible -- Tutorial layer is 1
Set TutorialViewed to 1 -- So I know that the tutorial was viewed once

in-game capx

Any help would be great!!! Thanks!!!
B
8
S
3
G
1
Posts: 135
Reputation: 2,209

Post » Sat Nov 09, 2013 8:09 pm

You could hide the layer "on key pressed" / "on touch start" instead of "on key released" / "on touch end" etc.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,680

Post » Sat Nov 09, 2013 9:52 pm

@ramones That's awesome! I just changed it to Key pressed, On Mouse Click, On Touch Start... and it worked! Thanks for your help!!!!
B
8
S
3
G
1
Posts: 135
Reputation: 2,209


Return to How do I....?

Who is online

Users browsing this forum: max2612 and 27 guests