How to prevent touch when go to other layout

Bugs will be moved here once resolved.

Post » Fri Feb 14, 2014 4:59 pm

Hi.

I can't prevent touch event on object when change layout

Steps to reproduce:
1. Add sprite A on Layout L_A
2. Add sprite B which has the same position of sprite A on Layout L_B
3. Add event Touching an object A to go to Layout L_B
4. Add event Touching an object B to do any thing.
5. When you click on sprite A, my game will be call event Touching an object B because B's position is the same as A.

How to fix it if I don't want change position of B?

All Browsers affected:
All Operating system & service pack:
All Construct 2 version:

Thanks
    
B
4
S
1
Posts: 4
Reputation: 611

Post » Sat Feb 15, 2014 2:29 am

Have you checked if global is set to no in both sprites?
B
39
S
8
G
3
Posts: 440
Reputation: 6,903

Post » Sat Feb 15, 2014 8:32 am

Yes. Both sprites's Global properties are set to No.
B
4
S
1
Posts: 4
Reputation: 611

Post » Sat Feb 15, 2014 1:21 pm

Closing, please follow the bug report guidelines.
Scirra Founder
B
402
S
238
G
89
Posts: 24,644
Reputation: 196,095


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests