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
35
S
14
G
22
Posts: 916
Reputation: 15,100

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
25
S
15
G
23
Posts: 21
Reputation: 13,947

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
35
S
14
G
22
Posts: 916
Reputation: 15,100

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
35
S
14
G
22
Posts: 916
Reputation: 15,100


Return to How do I....?

Who is online

Users browsing this forum: Eren, fbarraza28, Jayextee, R0J0hound, repkino, RogerBarber and 4 guests