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
20
Posts: 756
Reputation: 13,855

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
16
S
11
G
21
Posts: 16
Reputation: 12,258

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
20
Posts: 756
Reputation: 13,855

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
20
Posts: 756
Reputation: 13,855


Return to How do I....?

Who is online

Users browsing this forum: varr and 5 guests