#Image Rendering Resolution on XML UI

1 messages · Page 1 of 1 (latest)

lilac yoke
#

Probably depends on your Graphics settings? What't the current settings you have?

rugged gull
#

graphics settings i have in TTS are high

#

but if i turn down the settings, the image sucks

#

i know not everybody will be playing on high graphics settings, so, i need to make sure the image looks good for lower res players

frigid flare
#

@rugged gull scale down the element and scale up the size

#
<!-- more pixellated -->
<Panel>
  <Image image="myImage" width="100" height="100"/>
</Panel>
<!-- less pixellated -->
<Panel scale="0.1 0.1 0.1">
  <Image image="myImage" width="1000" height="1000"/>
</Panel>
rugged gull
#

huh. i can certainly try that. was not aware of a scale attribute

#

what does it mean to "scale a component around its pivot"?

#

or perhaps more precisely, what is a pivot point when talking about scale?

rugged gull
#

would it still work if i scaled down the highest parent, and resized that parent?

#

yes, i'm testing...

#

oof.. that looks worse

frigid flare
rugged gull
#

oh, cool

#

ty, ill give that a whirl now too

#

nope. just doesn't work with flexible elements

frigid flare
#

I can't really answer why as I don't use flexible elements

rugged gull
#

ty though

#

most likely simply because flexible elements fill available space, and the space that is available is scaled down, so that is what it fills

#

can you remind me what font TTS uses for xml elements please? is it Arial?

frigid flare
#

I cannot

rugged gull
#

mmk