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
25
S
6
G
5
Posts: 153
Reputation: 3,859

Post » Mon May 05, 2014 1:58 pm

ImageImageImage
B
71
S
22
G
274
Posts: 3,829
Reputation: 151,301

Post » Mon May 05, 2014 2:14 pm

When i put them in containter (body is container) the game won't start
B
25
S
6
G
5
Posts: 153
Reputation: 3,859

Post » Mon May 05, 2014 2:18 pm

Put them in a family instead?
German speaking C2/3 Facebook Community

https://www.helmade.com
Check out our start-up and configure your own helmet in true 3D.
B
48
S
14
G
15
Posts: 1,175
Reputation: 12,448

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
274
Posts: 3,829
Reputation: 151,301

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
25
S
6
G
5
Posts: 153
Reputation: 3,859

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
25
S
6
G
5
Posts: 153
Reputation: 3,859

Post » Mon May 05, 2014 5:01 pm

okay. Now parts destroy 'if not pinned > destroy'. Still 1 thing left.
B
25
S
6
G
5
Posts: 153
Reputation: 3,859


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests