GuiControlProfile::constructBitmapArray() has some bug ?[Solved]
by YisionChan · in Torque 3D Professional · 07/06/2014 (11:25 pm) · 2 replies
I found some picture was normal,but another is not.When I used the picture for slider.About slider picture what I should care about? The constructBitmapArray() has a bug ?
About the author
Game developer
#2
draw the wrong color,top left pixed RGU(255,0,0) and other RGU(253.0.0)
-_-
07/07/2014 (11:03 pm)
Thank you very mush!I have found out the promblem.Because the UI editordraw the wrong color,top left pixed RGU(255,0,0) and other RGU(253.0.0)
-_-
Torque Owner Richard Ranft
Roostertail Games
The separator for parts is taken from the first pixel in the image (top left pixel). All parts must be divided using that color. Do not use that color for anything else in the image.
Different controls expect different numbers of parts, and sometimes the order they're expected is sort of arbitrary.