Pin a sprite to each family member

Get help using Construct 2

Post » Thu Oct 04, 2012 2:59 pm

THE PinPointImagePoint (PPIP) and BodyPointImagePoint (BPIP) are there so that you can reuse the same code, instead of having to have multiple copies of it, as you're just adding a Pin Point to the different Image points, which increment by 1 each time.

As for your QWOP clone, you would be able to achieve this by having it so when the head intersects body parts, it is replace with a new character. And just have it that you have to get an arm, leg, arm, leg, so you only have to have a few different cases.
Using R248 for all examples
Posts: 382
Reputation: 9,812

Post » Thu Oct 04, 2012 11:06 pm

Thank you emoaeden, for all your help. I didn't really want it to be a QWOP clone, I just wanted to use that as a reference for how I wanted my character to walk.

But I want the game, where you can mix and match body parts. I want you to be able to eventually use animal parts also.

I kinda wanted it to be like a puzzle where you have to use the body parts given on the map to complete it. A couple of ideas of this would be putting a lot of legs together to make a snake that goes through a tunnel, or multiple arms that can reach far places. So there would be many choices and hard to make separate sprites for all choices. I hope this makes sense.

BTW all the sprites now, probably won't be in the finished game. I'll keep working on trying to get the them to pin to each other. I just noticed that there is a joint option in the physics behavior. I think I'll try and use that instead of of the pin behavior.
Posts: 47
Reputation: 2,572


Return to How do I....?

Who is online

Users browsing this forum: Zav and 16 guests