Add char scaling to template rebootlyon2020
parent
3a5d7a5f2b
commit
83c62d45aa
|
@ -75,7 +75,7 @@
|
|||
"snake": { "default": (0, -3) },
|
||||
"sonic": { "default": (20, -6) },
|
||||
"squirtle": { "default": (33, -2) },
|
||||
"terry": { "default": (-22, -22) },
|
||||
"terry": { "default": (20, 50, 0.66) },
|
||||
"toon link": { "default": (24, -23) },
|
||||
"villager": { "default": (28, -18) },
|
||||
"wario": { "default": (22, -5) },
|
||||
|
|
|
@ -815,13 +815,22 @@
|
|||
xlink:href="{{dir_res_ssbu}}/{{p.get_mains()[0][0]|e}}/chara_3_{{p.get_mains()[0][0]|e}}_{{p.get_mains()[0][1]}}.png"
|
||||
x="{{ (1/(0.07 if loop.index == 1 else 0.0615)) * ( 51.0 + charcorr.charcorr[ p.get_mains()[0][0] ].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[0] ) }}"
|
||||
y="{{ (1/(0.07 if loop.index == 1 else 0.0615)) * ( (114 if loop.index==1 else 124) + charcorr.charcorr[p.get_mains()[0][0]].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[1] ) }}"
|
||||
{% if charcorr.charcorr[ p.get_mains()[0][0] ].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[2] %}
|
||||
transform="scale({{ (0.07 if loop.index == 1 else 0.0615) * ( charcorr.charcorr[ p.get_mains()[0][0] ].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[2] )}})"
|
||||
{% else %}
|
||||
transform="scale({{0.07 if loop.index == 1 else 0.0615}})"
|
||||
{% endif %}
|
||||
style="display:inline;image-rendering:optimizeQuality"
|
||||
id="player{{loop.index}}_img"
|
||||
inkscape:svg-dpi="1" />
|
||||
{% if "covid" in options %}
|
||||
<g
|
||||
transform="scale({{0.07 if loop.index == 1 else 0.0615}})
|
||||
transform="
|
||||
{% if charcorr.charcorr[ p.get_mains()[0][0] ].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[2] %}
|
||||
scale({{ (0.07 if loop.index == 1 else 0.0615) * ( charcorr.charcorr[ p.get_mains()[0][0] ].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[2] )}})
|
||||
{% else %}
|
||||
scale({{0.07 if loop.index == 1 else 0.0615}})
|
||||
{% endif %}
|
||||
translate(
|
||||
{{ "{:.5f}".format((1/(0.07 if loop.index == 1 else 0.0615))*( 51 + charcorr.charcorr[p.get_mains()[0][0]].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[0] )) }},
|
||||
{{ "{:.5f}".format((1/(0.07 if loop.index == 1 else 0.0615))*( (114 if loop.index==1 else 124) + charcorr.charcorr[p.get_mains()[0][0]].get( p.get_mains()[0][1], charcorr.charcorr[ p.get_mains()[0][0] ]["default"] )[1] )) }}
|
||||
|
|
Loading…
Reference in New Issue