Game Development Reference
In-Depth Information
7.
Assign the ButtonOrangeGlass to the Hover Background (Figure 10-11 ).
8.
Set Both Text Colors to black (Figure 10-11 ).
9.
Toggle off “Maximize on Play.”
10.
Click Play, and look at the result.
The round button textures are oddly stretched (Figure 10-12 ).
Figure 10-12. The stretched textures as button backgrounds; the right button shows the hover color
It might surprise you to know that the original default button background image was also square,
though its rounded corners were smaller. The default background is 12 x 12 pixels and is a layer
in a composite texture used internally for the default GUI Skin. In a close-up, you can see that its
rounded corner is 4 pixels (Figure 10-13 ).
 
Search WWH ::




Custom Search