viewtopic.php?f=7&t=67210
And maybe a regression back to these days:
viewtopic.php?f=11&t=54373&p=319783&hil ... on#p319783
Having great issues using 64x64 layered icons where the layers have different scales. To get them looking right, the base layer[1] has to have scale 1 - that has been the case for some time. But I don't know if this is a change with 0.17 or something older, but such icons will not look right when they are rendered as alt-info icons on assembling machines etc.:
Layered icons which only use 32x32 are not affected (e.g. barrelling). Single layer (icon, not icons[]) icons are also fine at 64x64. It's only when there are layers and when any of the layers have scale < 1.
The code within the recipe prototype that produces this kind of result:
Code: Select all
icon_size = 64,
icons = {
{
icon = "__DeadlockIndustry__/graphics/icons/misc/blank-64.png",
icon_size = 64,
scale = 1
},
{
icon = "__DeadlockIndustry__/graphics/icons/rendered/gold-gravel-64.png",
icon_size = 64,
scale = 0.5,
shift = {
8,
8
}
},
{
icon = "__DeadlockIndustry__/graphics/icons/rendered/dirty-water-64.png",
icon_size = 64,
scale = 0.5,
shift = {
-8,
-8
}
},
{
icon = "__DeadlockIndustry__/graphics/icons/rendered/copper-chunk-64.png",
icon_size = 64,
scale = 1,
shift = {
0,
0
}
}
},