Game Development Community

Color Customization

by Tyler Slabinski · in Game Design and Creative Issues · 10/06/2007 (4:52 pm) · 7 replies

So I am trying to make something like this for a GUI:

img402.imageshack.us/img402/2456/colorge7.png
I want each to adjust a color on a png file that will edit the skin on a character. What would the scripting be for each? I think it has something to do with the "setBlend(%red, %green, %blue,)" scripting in TGB. Any help would be greatly appreciated.

EDIT: I am using TGE not TGB.

#1
10/06/2007 (5:39 pm)
You know, TGE comes with a comparatively fancy color picker control,
you might thing about reusing that.

canvas.push(ColorPickerDlg);
#2
10/06/2007 (8:31 pm)
Hmm? Never heard of it. I guess I'll look it up.


EDIT: Sorry I didn't find anything on google or yahoo for that. Right now I have a GuiSliderCtrl. Do I use that piece of code for that command or a different thing?
#3
11/21/2007 (3:15 pm)
More then a month and no posts? I still need a bit of help.
#4
11/21/2007 (3:34 pm)
Not sure what to tell you.
in a stock TGE 1.4 install,
it's right there as example\common\ui\ColorPickerDlg.gui
#5
11/21/2007 (3:53 pm)
ColorPickerCtrl is there but how do I make it edit a character texture?
#6
11/21/2007 (3:56 pm)
Oh i see. you'll need to implement a resource like
this one
or
this one
#7
11/21/2007 (7:00 pm)
So I'm guessing I can't do it without changing the source? It's not that I can't because I have the license, but I'd rather not since I don't know how to recompile.