Originally Posted by ApatiaMax
is there some way to "global scale" the textures ?
i mean, i've 4 block of 512x256 pixels, now, my container is 2048px but it's too much.
now if i say with = "100%" to the container, there are any chanse to have automatically scaled the texture too ?
|
You can do that. Give the container 100% width and put it where you want. For four inner panels, you can give each one of them 25% width, and each panel can be given a 25(n-1)% x_off. For instance, panel one would be "0%" x_off, panel two would be "25%" and so on. Textures should then scale uniformly with the container.
Code:
{name="container", width="100%", height=256, x_off=0, y_off=0},
{parent="container", width="25%", height="100%", x_off="0%"},
{parent="container", width="25%", height="100%", x_off="25%"},
{parent="container", width="25%", height="100%", x_off="50%"},
{parent="container", width="25%", height="100%", x_off="75%"},
Does that answer your question?