Page 1 of 1

parameter for Sprite to load graphics at lower resolution

Posted: Fri Sep 18, 2020 5:13 pm
by sparr
I would like to be able to set a scaling factor for a Sprite (or RotatedSprite) that is applied when the file is loaded rather than at render time.

My use case here is to write a small mod that applies to a larger mod and causes that larger mod to load all its graphics at half (or less) resolution, by adjusting the width and height and scale of those graphics. Currently I also have to ship scaled down copies of the graphics with my mod, which is problematic in multiple ways.

Re: parameter for Sprite to load graphics at lower resolution

Posted: Sat Sep 19, 2020 2:40 am
by Rseding91
What you describe is "normal" resolution vs "high" resolution and that's just how it works; you ship 2 versions of sprites.

Re: parameter for Sprite to load graphics at lower resolution

Posted: Sat Sep 19, 2020 5:37 am
by sparr
Licensing restrictions prevent me from shipping a scaled down version of the sprites in question.