How do I check collisions for two objects simultaneously?

Get help using Construct 2

Post » Sun Jul 13, 2014 6:00 am

Hello! For my game, i need to check appearance of walls near with my flying enemies, i had created detectors for them from both sides, but they do not want to work with several walls, only with one at a time.
Here is capx, how to detect two sprites is overlapping two walls simultaneously?
https://www.dropbox.com/s/57lmlixbrhxgo ... sions.capx
B
9
S
1
Posts: 16
Reputation: 607

Post » Sun Jul 13, 2014 7:42 pm

Create multiple conditions

Sprite On Overlap > Wall_1 > Sprite > do something
Sprite On Overlap > Wall_2 >

Sprite On Overlap > Wall_1 > Sprite > do something else
Sprite On Overlap (X) > Wall_2 >

(X) being inverted
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,273

Post » Tue Jul 15, 2014 11:39 am

TheDom wrote:Create multiple conditions

Sprite On Overlap > Wall_1 > Sprite > do something
Sprite On Overlap > Wall_2 >

Sprite On Overlap > Wall_1 > Sprite > do something else
Sprite On Overlap (X) > Wall_2 >

(X) being inverted

Thank you!
B
9
S
1
Posts: 16
Reputation: 607


Return to How do I....?

Who is online

Users browsing this forum: FlyingRam, jkmalau, marcinkowski and 9 guests