How do I destroy an especific instance on the game?

Just started using Construct 2? Post your questions here

Post » Sat Dec 10, 2016 2:17 am

i am creating a tank with 2 parts:
>the first one is the body, who moves in the layout;
>the second one is the cannon head, who aim and shoot;

i'm creating the death process, when the enemy life turns 0, the tank is destroyed (body and head).
but when i destroy the head, all the heads in the game are destroyed together.

summing up: i want to destroy a tank's body with it's especific head, without destroying all the other heads in the process.
B
4
Posts: 2
Reputation: 204

Post » Sat Dec 10, 2016 2:18 am

Read up on Containers.
ImageImageImage
B
72
S
22
G
288
Posts: 3,862
Reputation: 158,460

Post » Sat Dec 10, 2016 2:36 am

thanks!
B
4
Posts: 2
Reputation: 204


Return to Beginner's Questions

Who is online

Users browsing this forum: Stenky and 1 guest