[Solved]Does The Overlap suppose to work on scaled Layers?

Discussion and feedback on Construct 2

Post » Sat Sep 30, 2017 5:37 am

Hi

I'm having trouble with the overlapping doesn't work properly on scaled layers I'm just checking if this is normal or I'm doing something wrong I tried all the possible ways but is not working, the objects are in the same Layer.

you will notice that once the game starts the overlap event is running the actions without overlapping


https://www.dropbox.com/s/j2kqvjqut25dptm/OberlapTest.capx?dl=0
Last edited by tarek2 on Sat Sep 30, 2017 8:24 pm, edited 1 time in total.
B
47
S
29
G
91
Posts: 342
Reputation: 50,712

Post » Sat Sep 30, 2017 2:45 pm

Note sure if something got lost in your sample CAPX. Overlap is based on the collision polygon, which is a square at the moment, Sprites 0 & 2 (by UID) do overlap. Deleting the layout scale doesn't make a difference in this case.
You can select all of the sprites in the editor to see the overlap.
ImageImageImage
B
71
S
22
G
273
Posts: 3,822
Reputation: 150,787

Post » Sat Sep 30, 2017 4:12 pm

Good Morning.
You are working with a single Sprite, so the system is not working properly, try working with two Sprites.

Or you can try to duplicate the overlapping condition and invert it by indicating the action of the Sprite set to frame (0);
Huemerson
B
27
S
18
G
22
Posts: 116
Reputation: 19,616

Post » Sat Sep 30, 2017 8:09 pm

UuuuuPs!!!

I feel so stupid haha I deleted the wrong frames with right collision box and I completely overlooked even the most basic and obvious possibility Yaaaaaoooo I definitely need a break, one of those long tiring days that nothing was working for me left me totally blind and brain blackout :D :D :D

@blackhornet bravo you spotted on, other ways I would have gone crazy

Thanks a lot, man :D
B
47
S
29
G
91
Posts: 342
Reputation: 50,712

Post » Sat Sep 30, 2017 8:12 pm

@Huemerson

I sorted out was a Human Mistake thanks for trying
B
47
S
29
G
91
Posts: 342
Reputation: 50,712


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests