How do I make a colour slider/palette?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
kuzai
Regular
Posts: 85
Joined: Sat May 12, 2012 8:15 pm
Projects: Custom Lover, PuppyShipping DWH, Yu-Gi-Oh!: Chat
Location: Canada
Contact:

How do I make a colour slider/palette?

#1 Post by kuzai »

Like the title says, y'see I am working on making a game with a character maker but I can't find anything code wise on adding a colour palette.

I wish to add one for the purpose of using colour sliders and such to change eye and hair colours to the customized character.

Like something similar to Custom Reido 4
Image
Image
I appreciate any help that you may have to offer, thank you very much in advance
I forgive and forget. Because I have a good heart and terrible memory

User avatar
Evildumdum
Regular
Posts: 191
Joined: Sun Jan 18, 2015 8:49 am
Projects: ApoclypseZ
Contact:

Re: How do I make a colour slider/palette?

#2 Post by Evildumdum »

I can't help you unfortunately, though i'll be interested in the answer myself. Just had to say though that is some fantastic art.
"If at first you don't succeed, try hitting it with a shoe."

User avatar
Kia
Eileen-Class Veteran
Posts: 1050
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: How do I make a colour slider/palette?

#3 Post by Kia »

computer's colors are made of Red+Green+Blue each from 0 to 255 I think it's easy to have a bar for each.

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: How do I make a colour slider/palette?

#4 Post by xela »

Color bars (sliders)/Solids are easy, there are examples for those in this forum section. Your palette will require slightly more complicated coding and I don't remember and examples for that so you'll have to code it from scratch or find someone to code one.

Here is a very old example for bars/solids.
Like what we're doing? Support us at:
Image

User avatar
kuzai
Regular
Posts: 85
Joined: Sat May 12, 2012 8:15 pm
Projects: Custom Lover, PuppyShipping DWH, Yu-Gi-Oh!: Chat
Location: Canada
Contact:

Re: How do I make a colour slider/palette?

#5 Post by kuzai »

xela wrote:Color bars (sliders)/Solids are easy, there are examples for those in this forum section. Your palette will require slightly more complicated coding and I don't remember and examples for that so you'll have to code it from scratch or find someone to code one.

Here is a very old example for bars/solids.
Ah thank you very much, I will try to work off of this!
I forgive and forget. Because I have a good heart and terrible memory

Post Reply

Who is online

Users browsing this forum: Bing [Bot]