Collision between same kind of object

Get help using Construct 2

Post » Thu Apr 04, 2013 9:17 pm

Hello guys,

I'm having trouble with something: I made one bullet object that is shared between player and enemies, and proper collision is based on instance variables.
Everything is working fine, but I'm planning another enemy bullet that is destroyable by player bullets, but since it's the same object I can't figure what to do.
The best I could get was destroyable bullets that destroyed themselves while colliding with the same type.
Any ways to solve this?

Thanks in advance!
B
15
S
1
G
4
Posts: 39
Reputation: 2,606

Post » Thu Apr 04, 2013 9:48 pm

Hello Bruno,

I was looking for a similar thing and found this topic which includes some instructions that were just a little bit beyond my grasp but maybe it will help you:

http://www.scirra.com/forum/collision-detection-for-instances-of-same-object_topic61262.html

Regards;
B
16
S
4
G
1
Posts: 332
Reputation: 3,016


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests