Customize the player with new parts

Get help using Construct 2

Post » Wed Feb 20, 2013 3:29 pm

What would be the best way to do this?

Lets say your player is a car, plane or spaceship and you want to add new parts to it. Bigger wings or a different engine. You could make a sprite for all the different combinations but that would be a lot of work. You could pin the parts to a body or use set position. I'm still new but that is what i figured could work.

I can see a potential problem with collision boxes. It needs to acted as a single object. When a bullet hits the new part the player still needs to take damage.

Not asking to spell it all out for me but a little push in the right direction would be appreciated.
B
12
S
2
G
3
Posts: 59
Reputation: 2,628

Post » Wed Feb 20, 2013 3:52 pm

For the new parts you can make one sprite with different part on each frame or animation.

Then like you say. Pin to player and set position. If you want to change new part for other part you would only have to change frame/animation of that new part object.

You could pin many onbjects like that to your player main object.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170


Return to How do I....?

Who is online

Users browsing this forum: Matthew de and 20 guests