I hope you plan to update this. I use it all the time and love it (with content packs). I'm making a mod using it. Thank you so much for all the great mods you create and maintain.
[SMAPI] Custom Wallpaper Framework uses deprecated code (IAssetLoader) and will break in the next major SMAPI update.
So I was making a content pack and when figuring out scale I saw you use (3 * 64 / 4) = 48
I thought (2*64)/ image height = scale
but when (2*64)/496 = 0.258 I rounded up to 0.3 but the wallpaper was too small. I ended up using 0.4 and that was ok. Was my math wrong or is it just a... weird quirk?
It should be 3 x 64 / image height = scale - the image is displayed three tiles high (3 x 64), so if it is e.g. half that height it needs to be scaled 2x:
8 comments
1, do the wallpapers added by this mod ever show up in Pierre's for sale?
2, if they don't automatically, is there a way to add them in?
Thank you so much for all the great mods you create and maintain.
[SMAPI] Custom Wallpaper Framework uses deprecated code (IAssetLoader) and will break in the next major SMAPI update.
(3 * 64 / 4) = 48
I thought
(2*64)/ image height = scale
but when
(2*64)/496 = 0.258
I rounded up to 0.3 but the wallpaper was too small. I ended up using 0.4 and that was ok. Was my math wrong or is it just a... weird quirk?
3 x 64 / 96 = 2