How do I create a custom character ?

Get help using Construct 2

Post » Tue Nov 05, 2013 7:47 pm

I want to make the main character to be customizable. It will have a custom body, custom eyes, custom mouth and an accessory (hat, glasses, ribbon, tattoo ... etc).
How do I do this ? It has something to do with image points or should I use Spriter ?
B
49
S
15
G
6
Posts: 535
Reputation: 7,197

Post » Tue Nov 05, 2013 7:51 pm

Its hard to say without seeing your capX file,You should learn how to use The Pin behaviour along with image points.
Im not a pro but i know that sooner or later you will need to learn that
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,378

Post » Tue Nov 05, 2013 8:44 pm

I don't have any ... I'm rebuilding my game from scratch. The main character is a ball (like a smiley).
B
49
S
15
G
6
Posts: 535
Reputation: 7,197

Post » Tue Nov 05, 2013 9:08 pm

there is various ways to do this, i think paperdolling is the easier for me because i use pixel art but, you need to have some art skills and patience

what you have to do is draw a character without the parts you want to change, like a naked character sprite

then on top of that sprite you start making the parts, hat, masks, shirts, pants...

all objects need to be single image files and depending of the way you handle your project you probrably need to make those objects with all the character frames.

afters this you can pin the parts on the character inside the engine with events. you can use both the orgin point or image points.

spriter is better for hand drawing sprites and this kind of customization, but it share the same concept; the difference is that you can make the image point logic inside of spriter and just need to animate the character

B
48
S
5
G
6
Posts: 210
Reputation: 6,297

Post » Tue Nov 05, 2013 9:41 pm

I know the theory:
1 sprite object - Body
1 sprite object - Mouth
1 sprite object - Eyes
1 sprite object - Accessory

The Body will be the one that checks for collisions.

My question is: How do I link the Mouth, Eyes and the Accessory to the Body ?
B
49
S
15
G
6
Posts: 535
Reputation: 7,197

Post » Tue Nov 05, 2013 9:52 pm

you can go with the pin behavior and event pin object to body

or you can do it with event every tick set objectio position to body
B
48
S
5
G
6
Posts: 210
Reputation: 6,297

Post » Wed Nov 06, 2013 7:16 pm

Thanks

Pin behavior with Position & angle is what I needed.
B
49
S
15
G
6
Posts: 535
Reputation: 7,197


Return to How do I....?

Who is online

Users browsing this forum: pmerineau and 21 guests