flip frames and lands

This commit is contained in:
Kyle
2021-05-14 17:54:41 -07:00
parent ad0d0efa8e
commit 6c74db5a09
100 changed files with 183 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1500" height="2100" viewBox="0 0 1500 2100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<rect id="Card" x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<g id="Card1" serif:id="Card">
<g transform="matrix(1.52284,0,0,2.05479,-363.959,217.808)">
<rect x="239" y="405" width="985" height="511" style="fill:rgb(0,117,190);"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1500" height="2100" viewBox="0 0 1500 2100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<rect id="Card" x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<g id="Card1" serif:id="Card">
<g id="Pinline">
<path d="M100,1834.5C82.043,1813.39 73.471,1783.8 72.995,1764.64L73,86.449L73.105,86.063C74.962,79.218 79.304,74.923 86.053,73.103L86.437,73L1413.56,73L1413.95,73.103C1420.69,74.922 1425.04,79.217 1426.89,86.063L1427,86.449L1427,1765L1427,1765.08C1426.53,1783.85 1417.96,1813.4 1400,1834.5L1400,1948L100,1948L100,1834.5ZM1386,1934L1386,1328L114,1328L114,1934L1386,1934ZM1400,1824.81C1413.91,1805.53 1420.59,1781.05 1421,1764.95L1421,87.269C1419.73,82.99 1416.97,80.245 1412.75,79L87.251,79C83.031,80.245 80.268,82.99 79,87.268L78.994,1764.53C79.402,1780.93 86.08,1805.5 100,1824.8L100,1314L1400,1314L1400,1824.81ZM1402,178.5L98,178.5L98,1197.5L1402,1197.5L1402,178.5ZM104,184.5L104,1191.5L1396,1191.5L1396,184.5L104,184.5Z" style="fill:rgb(237,28,36);"/>
<path d="M1414.91,73.384C1414.92,73.336 1414.93,73.286 1414.94,73.235C1415,72.737 1414.69,72.268 1414.21,72.138C1421.32,74.056 1425.9,78.583 1427.86,85.801L1427.96,86.178C1428,86.299 1428.01,86.409 1428,86.498L1428,1765L1428,1765.1L1428,1765.1C1427.53,1783.96 1418.96,1813.6 1401,1834.86L1401,1948C1401,1948.55 1400.55,1949 1400,1949L100,1949C99.448,1949 99,1948.55 99,1948L99,1834.86C81.046,1813.59 72.474,1783.91 71.995,1764.66C71.995,1764.66 71.995,1764.65 71.995,1764.64L72,86.449C72,86.714 72.105,86.969 72.293,87.156C72.48,87.344 72.735,87.449 73,87.449L72.995,1764.64C73.471,1783.8 82.043,1813.39 100,1834.5L100,1948L1400,1948L1400,1834.5C1417.96,1813.4 1426.53,1783.85 1427,1765.08L1427,1765L1427,86.449L1426.89,86.063C1425.13,79.547 1421.11,75.342 1414.91,73.384ZM1386,1934L1386,1328L114,1328L114,1934L1386,1934ZM1385,1933L115,1933C115,1906.35 115,1355.65 115,1329C154.408,1329 1345.59,1329 1385,1329C1385,1329 1385,1933 1385,1933L1385,1933ZM1400,1824.81C1413.91,1805.53 1420.59,1781.05 1421,1764.95L1421,87.269C1419.73,82.99 1416.97,80.245 1412.75,79L87.251,79C83.031,80.245 80.268,82.99 79,87.268L78.994,1764.53C79.402,1780.93 86.08,1805.5 100,1824.8L100,1314L1400,1314L1400,1824.81ZM1401,1821.62L1401,1314C1401,1313.45 1400.55,1313 1400,1313L100,1313C99.448,1313 99,1313.45 99,1314L99,1821.62C86.443,1802.93 80.383,1780.04 79.994,1764.52C79.994,1764.52 80,87.416 80,87.416C81.169,83.612 83.643,81.149 87.396,80.001C87.398,80 1412.6,80 1412.6,80C1416.36,81.148 1418.83,83.611 1420,87.413C1420,87.416 1420,1759.47 1420,1764.94C1419.61,1780.18 1413.55,1802.98 1401,1821.62ZM1427.08,1766L1427.07,1766L1427,1766.08L1427.08,1766ZM1403,178.5C1403,177.948 1402.55,177.5 1402,177.5L98,177.5C97.448,177.5 97,177.948 97,178.5L97,1197.5C97,1198.05 97.448,1198.5 98,1198.5L1402,1198.5C1402.55,1198.5 1403,1198.05 1403,1197.5L1403,178.5ZM1402,178.5L98,178.5L98,1197.5L1402,1197.5L1402,178.5ZM104,184.5L104,1191.5L1396,1191.5L1396,184.5L104,184.5ZM105,185.5C144.73,185.5 1355.27,185.5 1395,185.5C1395,220.368 1395,1155.63 1395,1190.5C1395,1190.5 105,1190.5 105,1190.5C105,1154.99 105,185.5 105,185.5L105,185.5ZM73,86.928L72.137,85.812C72.137,85.812 72.037,86.178 72.037,86.178L73,87.449L73,86.928ZM85.925,73.139C79.249,74.978 74.951,79.262 73.105,86.063L73,86.449L73,86.926L72.14,85.801C74.098,78.584 78.677,74.057 85.793,72.138L85.925,73.139ZM1413.26,73C1413.14,72.43 1413.18,71.861 1413.83,72.037C1413.89,72.052 1414.15,72.122 1414.2,72.135C1414.83,72.305 1414.75,72.811 1414.52,73.267C1414.33,73.21 1414.14,73.156 1413.95,73.103L1413.56,73L1413.26,73ZM86.304,73.036L86.166,72.037C86.166,72.037 85.802,72.136 85.802,72.136L85.93,73.138L86.053,73.103L86.304,73.036ZM86.437,73C86.437,73 1412.56,73 1412.56,73C1412.56,72.448 1413.01,72 1413.56,72L86.437,72L86.437,73Z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
img/frames/m15/basics/b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
img/frames/m15/basics/c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

BIN
img/frames/m15/basics/g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

BIN
img/frames/m15/basics/r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
img/frames/m15/basics/u.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
img/frames/m15/basics/w.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

BIN
img/frames/m15/flip/a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
img/frames/m15/flip/apt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
img/frames/m15/flip/b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
img/frames/m15/flip/bpt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
img/frames/m15/flip/c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
img/frames/m15/flip/cpt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
img/frames/m15/flip/g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
img/frames/m15/flip/gpt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
img/frames/m15/flip/l.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
img/frames/m15/flip/lpt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
img/frames/m15/flip/m.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
img/frames/m15/flip/mpt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1500" height="2100" viewBox="0 0 1500 2100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<rect id="Card" x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<g id="Card1" serif:id="Card">
<path id="bottom" d="M100,198.213C88.364,184.833 78.412,160.278 78,132C78.481,98.948 91.996,70.984 106,60L1394,60C1408,70.984 1421.52,98.948 1422,132C1421.59,160.276 1411.64,184.828 1400,198.213L1400,480.787C1411.64,494.167 1421.59,518.722 1422,547C1421.59,575.276 1411.64,599.828 1400,613.213L1400,1326.79C1411.64,1340.17 1421.59,1364.72 1422,1393C1421.59,1421.28 1411.64,1445.83 1400,1459.21L1400,1741.79C1411.64,1755.17 1421.59,1779.72 1422,1808C1421.59,1836.28 1411.64,1860.83 1400,1874.21L1400,1948L100,1948L100,1874.21C88.362,1860.83 78.412,1836.28 78,1808C78.412,1779.72 88.362,1755.17 100,1741.79L100,1459.21C88.364,1445.83 78.412,1421.28 78,1393C78.412,1364.72 88.362,1340.17 100,1326.79L100,613.213C88.362,599.828 78.412,575.276 78,547C78.412,518.724 88.362,494.172 100,480.787L100,198.213ZM1389,1880L1389,1937L111,1937L111,1880L1389,1880ZM1388,1869L112,1869C110.706,1869 109.492,1868.37 108.741,1867.32C94.667,1847.55 89.714,1827.77 89.714,1808C89.714,1788.23 94.667,1768.45 108.741,1748.68C109.492,1747.63 110.706,1747 112,1747L1388,1747C1389.29,1747 1390.51,1747.63 1391.26,1748.68C1405.33,1768.45 1410.29,1788.23 1410.29,1808C1410.29,1827.77 1405.33,1847.55 1391.26,1867.32C1390.51,1868.37 1389.29,1869 1388,1869ZM111,1465L111,1736L1389,1736L1389,1465L111,1465ZM111.758,1453.99C110.556,1453.92 109.445,1453.31 108.741,1452.32C94.667,1432.55 89.714,1412.77 89.714,1393C89.714,1373.23 94.667,1353.45 108.741,1333.68C109.492,1332.63 110.706,1332 112,1332L1388,1332C1389.29,1332 1390.51,1332.63 1391.26,1333.68C1405.33,1353.45 1410.29,1373.23 1410.29,1393C1410.29,1412.77 1405.33,1432.55 1391.26,1452.32C1390.51,1453.37 1389.29,1454 1388,1454L112,1454L111.758,1453.99ZM111,619L111,1321L1389,1321L1389,619L111,619ZM1388.24,486.007C1389.44,486.08 1390.56,486.692 1391.26,487.68C1405.33,507.453 1410.29,527.227 1410.29,547C1410.29,566.773 1405.33,586.547 1391.26,606.32C1390.51,607.374 1389.29,608 1388,608L112,608C110.706,608 109.492,607.374 108.741,606.32C94.667,586.547 89.714,566.773 89.714,547C89.714,527.227 94.667,507.453 108.741,487.68C109.492,486.626 110.706,486 112,486L1388,486L1388.24,486.007ZM111,204L111,475L1389,475L1389,204L111,204ZM112,71L1388,71C1389.29,71 1390.51,71.626 1391.26,72.68C1405.33,92.453 1410.29,112.227 1410.29,132C1410.29,151.773 1405.33,171.547 1391.26,191.32C1390.51,192.374 1389.29,193 1388,193L112,193C110.706,193 109.492,192.374 108.741,191.32C94.667,171.547 89.714,151.773 89.714,132C89.714,112.227 94.667,92.453 108.741,72.68C109.492,71.626 110.706,71 112,71Z" style="fill:rgb(239,56,39);"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
img/frames/m15/flip/r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
img/frames/m15/flip/rpt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1500" height="2100" viewBox="0 0 1500 2100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<rect id="Card" x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<g id="Card1" serif:id="Card">
<path id="Textbox" d="M1389,1736L1389,1465L111,1465L111,1736L1389,1736ZM111,204L111,475L1389,475L1389,204L111,204Z" style="fill:rgb(0,123,67);"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 732 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 B

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1500" height="2100" viewBox="0 0 1500 2100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<rect id="Card" x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<g id="Card1" serif:id="Card">
<path id="Twins" d="M112,1865C98.476,1846 93.714,1827 93.714,1808C93.714,1789 98.476,1770 112,1751L1388,1751C1401.52,1770 1406.29,1789 1406.29,1808C1406.29,1827 1401.52,1846 1388,1865L112,1865ZM111.685,1449.81C98.402,1430.96 93.714,1412.11 93.714,1393.26C93.714,1374.26 98.476,1355.26 112,1336.26L1388,1336.26C1401.52,1355.26 1406.29,1374.26 1406.29,1393.26C1406.29,1412.26 1401.52,1431.26 1388,1450.26L112,1450.26L111.685,1449.81ZM1388.32,490.445C1401.6,509.296 1406.29,528.148 1406.29,547C1406.29,566 1401.52,585 1388,604L112,604C98.476,585 93.714,566 93.714,547C93.714,528 98.476,509 112,490L1388,490L1388.32,490.445ZM1388,75.258C1401.52,94.258 1406.29,113.258 1406.29,132.258C1406.29,151.258 1401.52,170.258 1388,189.258L112,189.258C98.476,170.258 93.714,151.258 93.714,132.258C93.714,113.258 98.476,94.258 112,75.258L1388,75.258Z" style="fill:rgb(0,117,190);"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
img/frames/m15/flip/u.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
img/frames/m15/flip/upt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
img/frames/m15/flip/v.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
img/frames/m15/flip/vpt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
img/frames/m15/flip/w.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
img/frames/m15/flip/wpt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1500" height="2100" viewBox="0 0 1500 2100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<rect id="Card" x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<g id="Card1" serif:id="Card">
<g transform="matrix(1.52284,0,0,2.05479,-363.959,-832.192)">
<rect x="239" y="405" width="985" height="511" style="fill:rgb(0,123,67);"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -923,6 +923,9 @@ function writeText(textObject, targetContext) {
targetContext.save(); targetContext.save();
targetContext targetContext
const shapeX = textX + ptShift[0] + permaShift[0]; const shapeX = textX + ptShift[0] + permaShift[0];
if (!textOneLine) {
verticalAdjust *= (textRotation / 180 * -1);
}
const shapeY = textY + verticalAdjust + ptShift[1] + permaShift[1]; const shapeY = textY + verticalAdjust + ptShift[1] + permaShift[1];
targetContext.translate(shapeX, shapeY); targetContext.translate(shapeX, shapeY);
targetContext.rotate(Math.PI * textRotation / 180); targetContext.rotate(Math.PI * textRotation / 180);

View File

@@ -3,6 +3,7 @@ loadFramePacks([
{name:'Classic-Shifted', value:'Classicshifted'}, {name:'Classic-Shifted', value:'Classicshifted'},
{name:'Ixalan - @feuer_ameise', value:'FeuerAmeiseIxalan'}, {name:'Ixalan - @feuer_ameise', value:'FeuerAmeiseIxalan'},
{name:'Tapped (Horizontal M15)', value:'Tapped'}, {name:'Tapped (Horizontal M15)', value:'Tapped'},
{name:'Simple Inventions', value:'SimpleInventions'},
{name:'Custom Addons', value:'disabled'}, {name:'Custom Addons', value:'disabled'},
{name:'Brawl Legend Crowns', value:'Brawl'} {name:'Brawl Legend Crowns', value:'Brawl'}
]) ])

View File

@@ -1,6 +1,6 @@
loadFramePacks([ loadFramePacks([
{name:'Standard 1/8 Inch Margin', value:'Margin-1'}, {name:'Generic Margins', value:'Margin-1'},
{name:'Mystical Archive 1/8 Inch Margin', value:'MarginMysticalArchive'} {name:'Mystical Archive Margin', value:'MarginMysticalArchive'}
]) ])
//For multiple Margin packs //For multiple Margin packs

View File

@@ -1,4 +1,5 @@
loadFramePacks([ loadFramePacks([
{name:'Flip (Kamigawa)', value:'Flip'},
{name:'Future Shifted', value:'FutureRegular'}, {name:'Future Shifted', value:'FutureRegular'},
{name:'Seventh Edition', value:'Seventh'}, {name:'Seventh Edition', value:'Seventh'},
{name:'Fifth Edition', value:'SeventhButFifth'}, {name:'Fifth Edition', value:'SeventhButFifth'},

View File

@@ -1,5 +1,5 @@
//Create objects for common properties across available frames //Create objects for common properties across available frames
var masks = [{src:'/img/frames/custom/classicshifted/maskFrame.png', name:'Frame'}, {src:'/img/frames/custom/classicshifted/maskText.png', name:'Textbox'}]; var masks = [{src:'/img/frames/custom/classicshifted/maskFrame.png', name:'Frame'}, {src:'/img/frames/custom/classicshifted/maskText.png', name:'Textbox'}, {src:'/img/frames/custom/classicshifted/pinline.svg', name:'Pinline'}];
var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733}; var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
var bounds2 = {x:0.026, y:0.0129, width:0.948, height:0.1015}; var bounds2 = {x:0.026, y:0.0129, width:0.948, height:0.1015};
//defines available frames //defines available frames
@@ -12,6 +12,11 @@ availableFrames = [
{name:'Multicolored Frame', src:'/img/frames/custom/classicshifted/m.png', masks:masks}, {name:'Multicolored Frame', src:'/img/frames/custom/classicshifted/m.png', masks:masks},
{name:'Artifact Frame', src:'/img/frames/custom/classicshifted/a.png', masks:masks}, {name:'Artifact Frame', src:'/img/frames/custom/classicshifted/a.png', masks:masks},
{name:'Land Frame', src:'/img/frames/custom/classicshifted/l.png', masks:masks}, {name:'Land Frame', src:'/img/frames/custom/classicshifted/l.png', masks:masks},
{name:'White Land Frame', src:'/img/frames/custom/classicshifted/wl.png', masks:masks},
{name:'Blue Land Frame', src:'/img/frames/custom/classicshifted/ul.png', masks:masks},
{name:'Black Land Frame', src:'/img/frames/custom/classicshifted/bl.png', masks:masks},
{name:'Red Land Frame', src:'/img/frames/custom/classicshifted/rl.png', masks:masks},
{name:'Green Land Frame', src:'/img/frames/custom/classicshifted/gl.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/custom/classicshifted/ptW.png', bounds:bounds}, {name:'White Power/Toughness', src:'/img/frames/custom/classicshifted/ptW.png', bounds:bounds},
{name:'Blue Power/Toughness', src:'/img/frames/custom/classicshifted/ptU.png', bounds:bounds}, {name:'Blue Power/Toughness', src:'/img/frames/custom/classicshifted/ptU.png', bounds:bounds},
{name:'Black Power/Toughness', src:'/img/frames/custom/classicshifted/ptB.png', bounds:bounds}, {name:'Black Power/Toughness', src:'/img/frames/custom/classicshifted/ptB.png', bounds:bounds},

59
js/frames/packFlip.js Normal file
View File

@@ -0,0 +1,59 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/m15/flip/pinline.svg', name:'Pinline'}, {src:'/img/frames/m15/flip/twins.svg', name:'Twins'}, {src:'/img/frames/m15/flip/rules.svg', name:'Rules'}];
var masks2 = [{src:'/img/frames/topHalfSharp.svg', name:'Top PT'}, {src:'/img/frames/bottomHalfSharp.svg', name:'Bottom PT'}]
var bounds = {x:0.0374, y:0.2277, width:0.9067, height:0.4762};
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/m15/flip/w.png', masks:masks},
{name:'Blue Frame', src:'/img/frames/m15/flip/u.png', masks:masks},
{name:'Black Frame', src:'/img/frames/m15/flip/b.png', masks:masks},
{name:'Red Frame', src:'/img/frames/m15/flip/r.png', masks:masks},
{name:'Green Frame', src:'/img/frames/m15/flip/g.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/m15/flip/m.png', masks:masks},
{name:'Artifact Frame', src:'/img/frames/m15/flip/a.png', masks:masks},
{name:'Land Frame', src:'/img/frames/m15/flip/l.png', masks:masks},
{name:'Colorless Frame', src:'/img/frames/m15/flip/c.png', masks:masks},
{name:'Vehicle Frame', src:'/img/frames/m15/flip/v.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/m15/flip/wpt.png', bounds:bounds, masks:masks2},
{name:'Blue Power/Toughness', src:'/img/frames/m15/flip/upt.png', bounds:bounds, masks:masks2},
{name:'Black Power/Toughness', src:'/img/frames/m15/flip/bpt.png', bounds:bounds, masks:masks2},
{name:'Red Power/Toughness', src:'/img/frames/m15/flip/rpt.png', bounds:bounds, masks:masks2},
{name:'Green Power/Toughness', src:'/img/frames/m15/flip/gpt.png', bounds:bounds, masks:masks2},
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/flip/mpt.png', bounds:bounds, masks:masks2},
{name:'Artifact Power/Toughness', src:'/img/frames/m15/flip/apt.png', bounds:bounds, masks:masks2},
{name:'Land Power/Toughness', src:'/img/frames/m15/flip/lpt.png', bounds:bounds, masks:masks2},
{name:'Colorless Power/Toughness', src:'/img/frames/m15/flip/cpt.png', bounds:bounds, masks:masks2},
{name:'Vehicle Power/Toughness', src:'/img/frames/m15/flip/vpt.png', bounds:bounds, masks:masks2}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = async function() {
//resets things so that every frame doesn't have to
await resetCardIrregularities();
//sets card version
card.version = 'flip';
//art bounds
card.artBounds = {x:0.0754, y:0.2962, width:0.8494, height:0.3315};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.784, y:0.26, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305};
resetWatermark();
//text
loadTextOptions({
mana: {name:'Mana Cost', text:'', y:0.0477, width:0.9292, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0},
title: {name:'Title 1', text:'', x:0.0854, y:0.0386, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381},
type: {name:'Type 1', text:'', x:0.0854, y:0.2353, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324},
rules: {name:'Rules Text 1', text:'', x:0.086, y:0.102, width:0.828, height:0.12, size:0.0362},
pt: {name:'Power/Toughness 1', text:'', x:0.8267, y:0.2448, width:0.0967, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center'},
title2: {name:'Title 2', text:'', x:0.9147, y:0.8643, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381, rotation:180},
type2: {name:'Type 2', text:'', x:0.9147, y:0.662, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, rotation:180},
rules2: {name:'Rules Text 2', text:'', x:0.914, y:0.82, width:0.828, height:0.12, size:0.0362, rotation:180},
pt2: {name:'Power/Toughness 2', text:'', x:0.1734, y:0.6739, width:0.0967, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', rotation:180}
});
}
//loads available frames
loadFramePack();

View File

@@ -1,5 +1,6 @@
//Create objects for common properties across available frames //Create objects for common properties across available frames
var masks = [{src:'/img/frames/m15/regular/m15MaskPinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/m15/regular/m15MaskType.png', name:'Type'}, {src:'/img/frames/m15/regular/m15MaskRules.png', name:'Rules'}, {src:'/img/frames/m15/regular/m15MaskFrame.png', name:'Frame'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Border'}]; var masks = [{src:'/img/frames/m15/regular/m15MaskPinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/m15/regular/m15MaskType.png', name:'Type'}, {src:'/img/frames/m15/regular/m15MaskRules.png', name:'Rules'}, {src:'/img/frames/m15/regular/m15MaskFrame.png', name:'Frame'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Border'}];
var bounds = {x:0.3267, y:0.6491, width:0.3474, height:0.2496}
//defines available frames //defines available frames
availableFrames = [ availableFrames = [
{name:'White Frame', src:'/img/frames/m15/regular/lw.png', masks:masks}, {name:'White Frame', src:'/img/frames/m15/regular/lw.png', masks:masks},
@@ -8,7 +9,13 @@ availableFrames = [
{name:'Red Frame', src:'/img/frames/m15/regular/lr.png', masks:masks}, {name:'Red Frame', src:'/img/frames/m15/regular/lr.png', masks:masks},
{name:'Green Frame', src:'/img/frames/m15/regular/lg.png', masks:masks}, {name:'Green Frame', src:'/img/frames/m15/regular/lg.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/m15/regular/lm.png', masks:masks}, {name:'Multicolored Frame', src:'/img/frames/m15/regular/lm.png', masks:masks},
{name:'Colorless Frame', src:'/img/frames/m15/regular/ll.png', masks:masks} {name:'Colorless Frame', src:'/img/frames/m15/regular/ll.png', masks:masks},
{name:'Plains Watermark', src:'/img/frames/m15/basics/w.png', bounds:bounds},
{name:'Island Watermark', src:'/img/frames/m15/basics/u.png', bounds:bounds},
{name:'Swamp Watermark', src:'/img/frames/m15/basics/b.png', bounds:bounds},
{name:'Mountain Watermark', src:'/img/frames/m15/basics/r.png', bounds:bounds},
{name:'Forest Watermark', src:'/img/frames/m15/basics/g.png', bounds:bounds},
{name:'Wastes Watermark', src:'/img/frames/m15/basics/c.png', bounds:bounds}
]; ];
//disables/enables the "Load Frame Version" button //disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = true; document.querySelector('#loadFrameVersion').disabled = true;

View File

@@ -0,0 +1,48 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/m15/regular/m15MaskPinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/m15/regular/m15MaskType.png', name:'Type'}, {src:'/img/frames/m15/regular/m15MaskRules.png', name:'Rules'}, {src:'/img/frames/m15/regular/m15MaskFrame.png', name:'Frame'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Border'}];
var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/custom/simpleInvention/w.png', masks:masks},
{name:'Blue Frame', src:'/img/frames/custom/simpleInvention/u.png', masks:masks},
{name:'Black Frame', src:'/img/frames/custom/simpleInvention/b.png', masks:masks},
{name:'Red Frame', src:'/img/frames/custom/simpleInvention/r.png', masks:masks},
{name:'Green Frame', src:'/img/frames/custom/simpleInvention/g.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/custom/simpleInvention/m.png', masks:masks},
{name:'Artifact Frame', src:'/img/frames/custom/simpleInvention/a.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/m15/regular/m15PTW.png', bounds:bounds},
{name:'Blue Power/Toughness', src:'/img/frames/m15/regular/m15PTU.png', bounds:bounds},
{name:'Black Power/Toughness', src:'/img/frames/m15/regular/m15PTB.png', bounds:bounds},
{name:'Red Power/Toughness', src:'/img/frames/m15/regular/m15PTR.png', bounds:bounds},
{name:'Green Power/Toughness', src:'/img/frames/m15/regular/m15PTG.png', bounds:bounds},
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/regular/m15PTM.png', bounds:bounds},
{name:'Artifact Power/Toughness', src:'/img/frames/m15/regular/m15PTA.png', bounds:bounds}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = async function() {
//resets things so that every frame doesn't have to
await resetCardIrregularities();
//sets card version
card.version = 'simpleInventions';
//art bounds
card.artBounds = {x:0.0767, y:0.1129, width:0.8476, height:0.4429};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9213, y:0.5910, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305};
resetWatermark();
//text
loadTextOptions({
mana: {name:'Mana Cost', text:'', y:0.0613, width:0.9292, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0},
title: {name:'Title', text:'', x:0.0854, y:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381},
type: {name:'Type', text:'', x:0.0854, y:0.5664, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324},
rules: {name:'Rules Text', text:'', x:0.086, y:0.6303, width:0.828, height:0.2875, size:0.0362},
pt: {name:'Power/Toughness', text:'', x:0.7928, y:0.902, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center'}
});
}
//loads available frames
loadFramePack();