How can I customize characters?

Get help using Construct 2

Post » Mon Oct 01, 2012 9:20 pm

Hello Everyone,

I'm wandering of can a personalize a character?
I mean for example, when you create your character you can choose different color of hair, or different clothes.

You create the style of your character for the rest of the game.

This is very common in many games, but I can't think how to do it here on C2, any idea?

Thanks!
Image
Image
B
26
S
2
G
1
Posts: 71
Reputation: 2,662

Post » Mon Oct 01, 2012 10:33 pm

I made a game that had different hats the player needed to pick up to proceed, each hat gave a different skill. The way I did it was to place the sprite for the hat on the player sprite, then PIN it.

You could do the same here, have different sprites for different hair colour and depending on which one they choose, PIN that to the player sprite.

Either that or have the head, body and legs as separate sprite with different hair colours, tops and pants as a different frame of the animation. Then, set the frame for each part of the body and PIN the body parts together.

vandinz2012-10-01 22:33:34
B
19
S
5
G
4
Posts: 208
Reputation: 3,960

Post » Mon Oct 01, 2012 10:49 pm

Another idea would be to use the "adjust HSL" shader on each sprite and let the player pick exactly what colours.
Easier than individual sprites but it'll makes your games framerate drop if there's too many shaders.
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Tue Oct 02, 2012 2:03 pm

Hello,

The idea from vandinz make sense, is a little complicated, but definitely looks what I am searching.

keepee, for the colors your idea also looks good, but not all the browser support webgl
:/

Thanks!
Image
Image
B
26
S
2
G
1
Posts: 71
Reputation: 2,662


Return to How do I....?

Who is online

Users browsing this forum: Nifl and 26 guests