Need help with overlaps!
Hi guys i've a problem with overlapped actors. i've this game:
http://cl.ly/043N1x3i2a2s1q1d280q
and i want that if i click at the moles in the second row the one in the first don't have to be destroyed. I tried to create a boolen and play with true and false but it don't work well and then i don't know how to exclude my animation cause it break it. here a scree of the rules
http://cl.ly/2V2Q0Z1k123g140y3o1R
http://cl.ly/0v2M0e1i2m3J433S2e1C
the attribute priorità is the attribute that should check if the actor that i click and destroy it without destroy the other one
http://cl.ly/043N1x3i2a2s1q1d280q
and i want that if i click at the moles in the second row the one in the first don't have to be destroyed. I tried to create a boolen and play with true and false but it don't work well and then i don't know how to exclude my animation cause it break it. here a scree of the rules
http://cl.ly/2V2Q0Z1k123g140y3o1R
http://cl.ly/0v2M0e1i2m3J433S2e1C
the attribute priorità is the attribute that should check if the actor that i click and destroy it without destroy the other one
Comments
how u can see there is one there
http://cl.ly/2N3N2K1y0M3q272E290F
that i'm using as layer for the spawn cause otherwise the actors will spawn up to the actor in the second row.
sry if i'm stressing you but I'm trying to fix this since 2 weeks ago
Lump Apps and My Assets
the collision shape of your actors is a box, not the shape of the image. so the mole in the first row almost overlaps the one in the second row - even in the parts that are visible because of the translucence of the image.
the best way to solve this would be to change your game layout so that they don´t overlaps.
or
you could put invisible boxes over the visible areas of a mole and make them collide instead of the actor itself.