Page 1 of 1
SBARINFO Image Too Large
Posted: Sat Dec 27, 2014 3:16 pm
by false_chicken
I am trying to use DrawSwitchableImage in SBARINFO to conditionally draw a .png on the screen but the image looks about six times larger than the actual size of the image. I was looking at the ZDoom wiki and it appears that there is no option to scale an image when using DrawSwitchableImage only DrawImage. Is there any solution to this?
RE: SBARINFO Image Too Large
Posted: Sat Dec 27, 2014 9:38 pm
by Ænima
Make a copy of the image. Then scale it down until it's appropriate size and make your SBARINFO use that one. Then remap the original image to it via TEXTURES, HIRESTEX, or the "HiRes" folder in your PK3.
RE: SBARINFO Image Too Large
Posted: Sat Dec 27, 2014 9:42 pm
by false_chicken
I seem to have fixed it. I had to scale the image to a really small quite crappy looking size at first to make it fit. Afterwords I found that I needed to add the higher res version into HIRESTEX.
Ænima wrote:
Make a copy of the image. Then scale it down until it's appropriate size and make your SBARINFO use that one. Then remap the original image to it via TEXTURES, HIRESTEX, or the "HiRes" folder in your PK3.
Thanks! That's basically what I seem to have independently figured out lol.
RE: SBARINFO Image Too Large
Posted: Sat Dec 27, 2014 10:04 pm
by Ænima
Ah well. You're welcome anyways. :p
RE: SBARINFO Image Too Large
Posted: Sat Dec 27, 2014 10:33 pm
by false_chicken
The help is definitely greatly appreciated. :)