Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Pixels or Scale for ImageLabels?

So, here's what I've been wondering. I've been looking at Deathrun 3 and I really wanna use images, however, I want them to look the same on every platform, like Deathrun 3. From there, I was scared to use images, however, now I want to do it. Is there any way to solve this problem?

Help is appreciated, thanks.

1 answer

✓ Accepted answer

Personally, I use offset rather than scale. This means that I have pixel-perfect interfaces, but I have scalability issues. As such, I will need to do scaling myself in code.

Of course, it is easier to use Scale (and remember RelativeXX and RelativeYY!), but images can appear stretched (curse the inability to disable filtering) and text will not scale uniformly.

But there is no reason not to use both. A combination of Scale and Offset is probably the best approach, with code to augment the transitions (such as choosing the correct image from an atlas based on available space), but will be the most complex and take the most amount of time and resources to get right.

1 comment

0

Thanks for the explanation!

This discussion is preserved as it was. New answers, comments, and votes are closed.