[0.18.35] Shift on sprites for guis are inconsistant
Posted: Tue Jul 07, 2020 8:11 am
For some reason I needed a tree_view and for that I recreated my own version of the tree_view_tileset
To make it working, I've added each variation where the line in the center can't be cut and for all other I used some crop technics using size position and shift
But it seems that shift is not considered when scaling
At 75% scale:
At 100% scale:
At 200% scale:
Files to recreate the tree_view : Treeview Demo :
To make it working, I've added each variation where the line in the center can't be cut and for all other I used some crop technics using size position and shift
But it seems that shift is not considered when scaling
At 75% scale:
At 100% scale:
At 200% scale:
Files to recreate the tree_view : Treeview Demo :
Code: Select all
[img=tree_white_d]\
[img=tree_tdr][img=tree_white_ld]group\
[img=tree_td][img=tree_tdr][img=tree_white_ld]1\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]group: \"group\"\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]type: \"add\"\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]name: \"Power\"\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]icon: \"electric-energy-distribution-1\"\
[img=tree_td][img=tree_td][img=tree_tr][img=tree_fade_l]order: \"az\"\
[img=tree_td][img=tree_tdr][img=tree_white_ld]2\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]group: \"group\"\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]type: \"add\"\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]name: \"Train\"\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]icon: \"railway\"\
[img=tree_td][img=tree_td][img=tree_tr][img=tree_fade_l]order: \"ax\"\
[img=tree_td][img=tree_tdr][img=tree_white_ld]3\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]group: \"group\"\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]type: \"add\"\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]name: \"Research\"\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]icon: \"logistic-science-pack\"\
[img=tree_td][img=tree_td][img=tree_tr][img=tree_fade_l]order: \"bz\"\
[img=tree_td][img=tree_tdr][img=tree_white_ld]4\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]group: \"group\"\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]type: \"change\"\
[img=tree_td][img=tree_td][img=tree_tdr][img=tree_fade_l]on: \"signals\"\
[img=tree_td][img=tree_td][img=tree_tr][img=tree_fade_l]icon: \"electronics\"\
[img=tree_td][img=tree_tr][img=tree_white_ld]5\
[img=tree_td][img=tree_none][img=tree_tdr][img=tree_fade_l]group: \"group\"\
[img=tree_td][img=tree_none][img=tree_tdr][img=tree_fade_l]type: \"remove\"\
[img=tree_td][img=tree_none][img=tree_tdr][img=tree_fade_l]on: \"enemies\"\
[img=tree_td][img=tree_none][img=tree_tr][img=tree_fade_l]to: \"environment\"\
[img=tree_tdr][img=tree_white_l]subgroup\
[img=tree_tr][img=tree_white_l]slot