How do I detect the collision point between two sprites?

Get help using Construct 2

Post » Wed Sep 30, 2015 5:32 pm

My idea is to put an effect of "POWER HIT" at the point of collision of two sprites, as it should do?
Greetings and thanks
B
42
S
10
G
2
Posts: 111
Reputation: 3,773

Post » Wed Sep 30, 2015 6:20 pm

I may be misunderstanding what you are asking but you could make a "power hit" sprite and do "on collision with another object" complete action "spawn another object" and then destroy it after x seconds. However if you want to record the position of a sprite when it collides with another sprite you should have a variable for the sprites x and y and then say"on collision with another object set the variables to the player.x, player.y and then the variable will hold the position of the last time you touched a certain sprite.
Image keep updated on my new game: Still Human
B
13
S
5
G
1
Posts: 155
Reputation: 1,608


Return to How do I....?

Who is online

Users browsing this forum: rayolf and 6 guests