How do I create and destroy an enemy made out of many sprite

Get help using Construct 2

Post » Mon May 05, 2014 1:56 pm

Like in the title, i have 4 sprites:
- body
- head
- arm 1
- arm 2
Everything on creation is pinned to body.

There are some problems:
1. how do i make the body with parts to fade when not in line of sight
2. how do i destroy all the parts at once?

It's important to use less than 3 events. Please help.
Image
B
23
S
5
G
5
Posts: 144
Reputation: 3,769

Post » Mon May 05, 2014 1:58 pm

ImageImageImage
B
71
S
22
G
257
Posts: 3,788
Reputation: 142,692

Post » Mon May 05, 2014 2:14 pm

When i put them in containter (body is container) the game won't start
Image
B
23
S
5
G
5
Posts: 144
Reputation: 3,769

Post » Mon May 05, 2014 2:18 pm

Put them in a family instead?
Image
Check out our start-up and configure your own helmet in true 3D.
B
44
S
12
G
11
Posts: 1,154
Reputation: 10,063

Post » Mon May 05, 2014 2:28 pm

Maybe post what you've got so far so someone can have a look.
ImageImageImage
B
71
S
22
G
257
Posts: 3,788
Reputation: 142,692

Post » Mon May 05, 2014 2:37 pm

I'm a free user, can't use families. Blackhornet, i can't give .capx :/, i'm working on this game pretty long
Image
B
23
S
5
G
5
Posts: 144
Reputation: 3,769

Post » Mon May 05, 2014 2:47 pm

Screenshot your work and show us.
B
10
S
2
Posts: 22
Reputation: 654

Post » Mon May 05, 2014 4:01 pm

I can give the error when i do a container

Code: Select all
Javascript error!Uncaught RangeError: Maximum call stack size exceededhttp://localhost:50000/common_prelude.js, line 1250 (col 14)This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer!


Image
Image
B
23
S
5
G
5
Posts: 144
Reputation: 3,769

Post » Mon May 05, 2014 5:01 pm

okay. Now parts destroy 'if not pinned > destroy'. Still 1 thing left.
Image
B
23
S
5
G
5
Posts: 144
Reputation: 3,769


Return to How do I....?

Who is online

Users browsing this forum: boulerzzz and 6 guests