Color Wheel Customization?

Get help using Construct 2

Post » Sun Apr 07, 2013 8:38 am

Basically I want to give my players in my game the ability to customize their players hair and skin color.

I was wondering, is their a specific event/expression/plugin etc which can give me access to the color wheel (the one used to in edit animations) So that my players can use it to customize their characters?Sketchy772013-04-07 08:45:01
B
15
S
2
Posts: 29
Reputation: 887

Post » Sun Apr 07, 2013 9:29 am

There is webgl effect you can use to change color dynamically in game. Either tint or color, whatever fits your purpose better :)
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Sun Apr 07, 2013 10:12 am

I only want to change certain parts of the object (hair, skin) not the whole thing.

The object will be moving around the screen.

B
15
S
2
Posts: 29
Reputation: 887

Post » Sun Apr 07, 2013 11:46 am

Maybe a RGB Slider? (One for each)

Though I have no idea how to make sliders...
B
15
S
2
Posts: 29
Reputation: 887

Post » Sun Apr 07, 2013 12:22 pm

[QUOTE=Sketchy77] Maybe a RGB Slider? (One for each)

Though I have no idea how to make sliders...[/QUOTE]

I don't believe there is inbuilt functionality for sliders / color wheel. So you'd need to implement one yourself, and tie the functionality to the player choices.

Look into canvas plugin though, it usually solves everything graphics related. :)
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Mon Apr 08, 2013 9:29 am

Yeah I checked canvas out, not really what I'm looking for.



Basically I want to take that zombie and fill its skin in with any color the player wants.
B
15
S
2
Posts: 29
Reputation: 887

Post » Mon Apr 08, 2013 4:54 pm

I agree with Vee41 regarding the webGL effect being the simplest solution. However, this option will only work on webGL enabled devices. Also, you'll need to use a separate sprite for each body part you want colored, and layer them appropriately during runtime.

Here's an example:

Example
Capx


If it were my game, I'd probably create a few canned color options that are hard coded instead of having to worry about color layers, and webGL enabled devices.

I hope this helps.zatyka2013-04-08 16:58:59
B
44
S
13
G
7
Posts: 338
Reputation: 10,379


Return to How do I....?

Who is online

Users browsing this forum: Radulepy and 5 guests