Detach character parts

Get help using Construct 2

Post » Fri Sep 27, 2013 8:53 pm

Hello everyone!
I'm currently working on my 1st game in construct.I imported scml file in construct and animation is working well.
Now I would like to make character with destroyable limbs and joint,
but I have no idea how to do that, and if is it even possible ...

Please help.
B
10
S
2
G
1
Posts: 8
Reputation: 1,098

Post » Sat Sep 28, 2013 1:09 am

It's probably doable. You will need to explain the game more as I can't imagine a playable character with limbs and joins that can be destroyed. What is the idea of the game?
B
47
S
17
G
82
Posts: 2,231
Reputation: 48,609

Post » Sat Sep 28, 2013 2:43 pm

@plinkie
Have you ever played happy wheels? :) It has crazy physics but it shows how limbs can be destroyed.
http://www.totaljerkface.com/happy_wheels.php

I'm currently making side scroll shooter, and I'm stuck with making 1st boss. It is a giant robot (something like this http://images5.fanpop.com/image/photos/30700000/Megas-XLR-giant-robots-30727734-1280-768.png). When player hits his shoulder several times, robot arm should destroy/fall off.

That is basically what am I trying to do...
B
10
S
2
G
1
Posts: 8
Reputation: 1,098

Post » Sat Sep 28, 2013 2:56 pm

If the limbs on the boss always fall off in the same order then I would use animations and just update the sprite on each stage of the boss. If you can target separate areas of the boss perhaps you can pin the various parts to the main boss body. If you apply Physics behaviour to attached objects they should flail about like limbs too.plinkie2013-09-28 14:56:18
B
47
S
17
G
82
Posts: 2,231
Reputation: 48,609

Post » Sat Sep 28, 2013 5:08 pm

They wouldn't fall in same order every time.
So basically I should create every destroyable part as separate sprite/animation and then pin it to the main body...
I was also thinking about that, but I hoped there is some event (command) that can be used to unpin some part of Spriter animation.

Thank you! :)
B
10
S
2
G
1
Posts: 8
Reputation: 1,098

Post » Sat Sep 28, 2013 6:20 pm

Nah the sprite is just one image. You could in theory do something like make visible a sprite that is pinned to the robot and covering the limbs you have detatched but I'm not entirely sure if this will interfere with the anims and possibly with other environment assets. If you want to detatch limbs I would attach them as separate sprite objects pinned to the main body.
B
47
S
17
G
82
Posts: 2,231
Reputation: 48,609

Post » Sun Sep 29, 2013 1:32 pm

That is what I thought...
Thank you!
B
10
S
2
G
1
Posts: 8
Reputation: 1,098


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests