Game Development Community

Color Customizable

by Tyler Slabinski · in Technical Issues · 10/05/2007 (1:50 pm) · 9 replies

I have almost completed my dragon. Another thing stands in my way. I want my dragon to be fully color customizable. Is there any way to insert a tool that is something like this into it?

img104.imageshack.us/img104/3702/picture3nn7.pngPhotoshop

I do not care if it looks exactly like that. I just want to be able to be something like that.

EDIT: Yes I do have access to the source code incase I need to

#1
10/06/2007 (10:14 am)
Creating (or swiping from elsewhere) the graphics for the GUI should be a cinch. As for implementation, there may be a command inside TGE that works similar to TGB's setBlend( %red, %green, %blue, %alpha ). Depending on how you skin your dragon, this may not work perfectly, but it should look pretty good.
#2
10/06/2007 (10:24 am)
For GUIs you could use the Real Time Menu Color Tweaker resource. But for shapes there is not TGE resource to my knowledge. In TGEA you could use a shader to modify the color like above mentioned (with a bit of work of course).
#3
10/06/2007 (1:43 pm)
Wow... I thought it would be extremely difficult, hmm. I think I'm going to try that out.
#4
10/06/2007 (1:53 pm)
Ohh wait I think I understand, I need to do something like:
img402.imageshack.us/img402/2456/colorge7.pngand set each to a setBlend(); function for the texture... right?
#5
10/06/2007 (2:38 pm)
Yeah, something like that. Of course, this assumes that TGE has setBlend() or something similar.
#6
10/06/2007 (4:43 pm)
Well they BOTH run on TS so it must have it.
#7
10/06/2007 (8:53 pm)
Uhh, ohh. I have no idea on how to use GUIs... Well I guess I better do some research =)
#8
10/08/2007 (11:26 am)
Quote:Well they BOTH run on TS so it must have it.
That doesn't mean that everything is implemented in both engines, even though the scripting language is the same. If it were, then you would have full 3D in TGB...
#9
10/08/2007 (3:46 pm)
Quote:[quote]Well they BOTH run on TS so it must have it.
That doesn't mean that everything is implemented in both engines, even though the scripting language is the same. If it were, then you would have full 3D in TGB...[/quote]

Well the skin is a 2d shape rendered on a 3d mesh, so wouldn't it have the same editing for the skins in TGE as normal shapes in TGB? If this is not the case, would you happen to know another way to do this? I was thinking of a "canvas.push(ColorPickerDialog);" for the GuiSliderDlg, but I do not know how to do that. Anyone know what it is?