How do I this collision?

Get help using Construct 2

Post » Fri Jun 02, 2017 11:24 pm

Hi, how do I check if an X / Y coordinate is colliding with another object?.

My sprite has several image points that I need to know if they collide with another object
B
29
S
12
G
21
Posts: 801
Reputation: 14,453

Post » Sat Jun 03, 2017 1:20 am

Assuming that your character is a Container and has several Sprites that make it up you can refer for example to the Sprite -> LeftArm and check if this overlaping is Enemy then you do damage
Image

Image
B
18
S
13
G
23
Posts: 19
Reputation: 13,540

Post » Sat Jun 03, 2017 2:55 am

My sprite is just a graph. I want to check if certain (X / Y) coordinates collide with another graph, I want to know if these coordinates are producing a collision with object X.
B
29
S
12
G
21
Posts: 801
Reputation: 14,453

Post » Sat Jun 03, 2017 9:17 am

Ok I have solved it by placing an object of 1 wide and 1 pixel high in the coordinates that I need to check.
B
29
S
12
G
21
Posts: 801
Reputation: 14,453


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 50 guests