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.
B
23
S
5
G
4
Posts: 141
Reputation: 3,260

Post » Mon May 05, 2014 1:58 pm

ImageImageImage
B
71
S
21
G
220
Posts: 3,648
Reputation: 123,725

Post » Mon May 05, 2014 2:14 pm

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

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
43
S
11
G
11
Posts: 1,154
Reputation: 9,948

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
21
G
220
Posts: 3,648
Reputation: 123,725

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
B
23
S
5
G
4
Posts: 141
Reputation: 3,260

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
B
23
S
5
G
4
Posts: 141
Reputation: 3,260

Post » Mon May 05, 2014 5:01 pm

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


Return to How do I....?

Who is online

Users browsing this forum: Apollo14, ivanski1983, KTML5 and 5 guests