various fixes

This commit is contained in:
Kyle
2021-06-01 09:20:53 -07:00
parent 27c3f75e2c
commit c7a708e1b7
22 changed files with 35 additions and 27 deletions

View File

@@ -3,6 +3,6 @@
<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;"> <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;"/> <rect id="Card" x="0" y="0" width="1500" height="2100" style="fill:none;"/>
<g id="Card1" serif:id="Card"> <g id="Card1" serif:id="Card">
<path d="M491.073,218C493.522,232.341 495.432,247.616 496.991,263.808C497.051,264.431 496.816,265.046 496.356,265.47C495.896,265.894 495.264,266.079 494.648,265.969C401.544,249.331 306.959,241.21 210.998,241L60,241C58.997,241 58.149,240.257 58.017,239.262L51.017,186.262C50.873,185.173 51.634,184.172 52.722,184.019C52.722,184.019 87.081,179.197 87.081,179.197L52.93,177.999C51.957,177.965 51.15,177.235 51.018,176.27L45.018,132.27C44.946,131.742 45.088,131.206 45.413,130.783C45.738,130.359 46.218,130.083 46.747,130.016C46.747,130.016 79.776,125.812 79.776,125.812L45.893,123.997C44.91,123.944 44.112,123.185 44.011,122.206C44.011,122.206 41.072,93.802 41.072,93.802L14.452,61.266C13.963,60.668 13.862,59.842 14.193,59.144C14.524,58.445 15.227,58 16,58L288,58C288.012,58 288.023,58 288.035,58C361.377,59.286 408.608,74.947 439.533,104L112,104C98.476,123 93.714,142 93.714,161C93.714,180 98.476,199 112,218L491.073,218ZM1060.47,104C1091.39,74.947 1138.62,59.286 1211.96,58C1211.98,58 1211.99,58 1212,58L1484,58C1484.77,58 1485.48,58.445 1485.81,59.144C1486.14,59.842 1486.04,60.668 1485.55,61.266C1485.55,61.266 1458.93,93.802 1458.93,93.802L1455.99,122.206C1455.89,123.185 1455.09,123.944 1454.11,123.997C1454.11,123.997 1420.22,125.812 1420.22,125.812L1453.25,130.016C1453.78,130.083 1454.26,130.359 1454.59,130.783C1454.91,131.206 1455.05,131.742 1454.98,132.27L1448.98,176.27C1448.85,177.235 1448.04,177.965 1447.07,177.999C1447.07,177.999 1412.92,179.197 1412.92,179.197L1447.28,184.019C1448.37,184.172 1449.13,185.173 1448.98,186.262L1441.98,239.262C1441.85,240.257 1441,241 1440,241C1440,241 1289,241 1289,241C1193.04,241.21 1098.46,249.331 1005.35,265.969C1004.74,266.079 1004.1,265.894 1003.64,265.47C1003.18,265.046 1002.95,264.431 1003.01,263.808C1004.57,247.616 1006.48,232.341 1008.93,218L1388,218C1401.52,199 1406.29,180 1406.29,161C1406.29,142 1401.52,123 1388,104L1060.47,104Z" style="fill:rgb(0,123,67);"/> <path d="M491.073,218C493.522,232.341 495.432,247.616 496.991,263.808C497.051,264.431 496.816,265.046 496.356,265.47C495.896,265.894 495.264,266.079 494.648,265.969C401.544,249.331 306.959,241.21 210.998,241L60,241C58.997,241 58.149,240.257 58.017,239.262L51.017,186.262C50.873,185.173 51.634,184.172 52.722,184.019L87.081,179.197L52.93,177.999C51.957,177.965 51.15,177.235 51.018,176.27L45.018,132.27C44.946,131.742 45.088,131.206 45.413,130.783C45.738,130.359 46.218,130.083 46.747,130.016L79.776,125.812L45.893,123.997C44.91,123.944 44.112,123.185 44.011,122.206L41.072,93.802L14.452,61.266C13.963,60.668 13.862,59.842 14.193,59.144C14.524,58.445 15.227,58 16,58L288.035,58C361.377,59.286 408.608,74.947 439.533,104L396.869,104L406.835,218L491.073,218ZM1060.47,104C1091.39,74.947 1138.62,59.286 1211.96,58L1484,58C1484.77,58 1485.48,58.445 1485.81,59.144C1486.14,59.842 1486.04,60.668 1485.55,61.266L1458.93,93.802L1455.99,122.206C1455.89,123.185 1455.09,123.944 1454.11,123.997L1420.22,125.812L1453.25,130.016C1453.78,130.083 1454.26,130.359 1454.59,130.783C1454.91,131.206 1455.05,131.742 1454.98,132.27L1448.98,176.27C1448.85,177.235 1448.04,177.965 1447.07,177.999L1412.92,179.197L1447.28,184.019C1448.37,184.172 1449.13,185.173 1448.98,186.262L1441.98,239.262C1441.85,240.257 1441,241 1440,241L1289,241C1193.04,241.21 1098.46,249.331 1005.35,265.969C1004.74,266.079 1004.1,265.894 1003.64,265.47C1003.18,265.046 1002.95,264.431 1003.01,263.808C1004.57,247.616 1006.48,232.341 1008.93,218L1388,218C1401.52,199 1406.29,180 1406.29,161C1406.29,142 1401.52,123 1388,104L1060.47,104Z" style="fill:rgb(0,123,67);"/>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 KiB

After

Width:  |  Height:  |  Size: 255 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 KiB

After

Width:  |  Height:  |  Size: 237 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 KiB

After

Width:  |  Height:  |  Size: 249 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@@ -0,0 +1,5 @@
<?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;">
<path id="Cutout" d="M30,59L1470,59L1470,226L30,226L30,59ZM54.101,160.835C56.185,157.467 91.329,103.433 139,100.008C139.332,99.984 139.666,100 140,100C173.667,100 201,127.333 201,161L200.999,161.394C200.787,194.88 173.536,222 140,222C139.666,222 139.332,222.016 139,221.992C89.794,218.457 54,161 54,161L54.101,160.835ZM178.43,100.117C198.599,112.885 212,135.395 212,161.017C212,161.017 211.999,161.429 211.999,161.464C211.837,186.961 198.394,209.332 178.244,222L1388,222C1389.29,222 1390.51,221.374 1391.26,220.32C1405.33,200.547 1410.29,180.773 1410.29,161C1410.29,141.227 1405.33,121.453 1391.26,101.68C1390.51,100.626 1389.29,100 1388,100L178.243,100L178.43,100.117Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -1,15 +1,16 @@
//Create objects for common properties across available frames //Create objects for common properties across available frames
var bounds = {x:-0.044, y:-1/35, width:1.088, height:37/35}; var bounds = {x:-0.044, y:-1/35, width:1.088, height:37/35};
var ogBounds = {x:0, y:0, width:1, height:1};
//defines available frames //defines available frames
availableFrames = [ availableFrames = [
{name:'White Extension', src:'/img/frames/mysticalArchive/margin/w.png', bounds:bounds}, {name:'White Extension', src:'/img/frames/mysticalArchive/margin/w.png', bounds:bounds, ogBounds:ogBounds},
{name:'Blue Extension', src:'/img/frames/mysticalArchive/margin/u.png', bounds:bounds}, {name:'Blue Extension', src:'/img/frames/mysticalArchive/margin/u.png', bounds:bounds, ogBounds:ogBounds},
{name:'Black Extension', src:'/img/frames/mysticalArchive/margin/b.png', bounds:bounds}, {name:'Black Extension', src:'/img/frames/mysticalArchive/margin/b.png', bounds:bounds, ogBounds:ogBounds},
{name:'Red Extension', src:'/img/frames/mysticalArchive/margin/r.png', bounds:bounds}, {name:'Red Extension', src:'/img/frames/mysticalArchive/margin/r.png', bounds:bounds, ogBounds:ogBounds},
{name:'Green Extension', src:'/img/frames/mysticalArchive/margin/g.png', bounds:bounds}, {name:'Green Extension', src:'/img/frames/mysticalArchive/margin/g.png', bounds:bounds, ogBounds:ogBounds},
{name:'Multicolored Extension', src:'/img/frames/mysticalArchive/margin/m.png', bounds:bounds}, {name:'Multicolored Extension', src:'/img/frames/mysticalArchive/margin/m.png', bounds:bounds, ogBounds:ogBounds},
{name:'Artifact Extension', src:'/img/frames/mysticalArchive/margin/a.png', bounds:bounds}, {name:'Artifact Extension', src:'/img/frames/mysticalArchive/margin/a.png', bounds:bounds, ogBounds:ogBounds},
{name:'Land Extension', src:'/img/frames/mysticalArchive/margin/l.png', bounds:bounds} {name:'Land Extension', src:'/img/frames/mysticalArchive/margin/l.png', bounds:bounds, ogBounds:ogBounds}
]; ];
//disables/enables the "Load Frame Version" button //disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false; document.querySelector('#loadFrameVersion').disabled = false;

View File

@@ -1,14 +1,15 @@
//Create objects for common properties across available frames //Create objects for common properties across available frames
var bounds = {x:-0.044, y:-1/35, width:1.088, height:37/35}; var bounds = {x:-0.044, y:-1/35, width:1.088, height:37/35};
var ogBounds = {x:0, y:0, width:1, height:1};
//defines available frames //defines available frames
availableFrames = [ availableFrames = [
{name:'White Extension', src:'/img/frames/unstable/margins/w.png', bounds:bounds}, {name:'White Extension', src:'/img/frames/unstable/margins/w.png', bounds:bounds, ogBounds:ogBounds},
{name:'Blue Extension', src:'/img/frames/unstable/margins/u.png', bounds:bounds}, {name:'Blue Extension', src:'/img/frames/unstable/margins/u.png', bounds:bounds, ogBounds:ogBounds},
{name:'Black Extension', src:'/img/frames/unstable/margins/b.png', bounds:bounds}, {name:'Black Extension', src:'/img/frames/unstable/margins/b.png', bounds:bounds, ogBounds:ogBounds},
{name:'Red Extension', src:'/img/frames/unstable/margins/r.png', bounds:bounds}, {name:'Red Extension', src:'/img/frames/unstable/margins/r.png', bounds:bounds, ogBounds:ogBounds},
{name:'Green Extension', src:'/img/frames/unstable/margins/g.png', bounds:bounds}, {name:'Green Extension', src:'/img/frames/unstable/margins/g.png', bounds:bounds, ogBounds:ogBounds},
{name:'Multicolored Extension', src:'/img/frames/unstable/margins/m.png', bounds:bounds}, {name:'Multicolored Extension', src:'/img/frames/unstable/margins/m.png', bounds:bounds, ogBounds:ogBounds},
{name:'Land Extension', src:'/img/frames/unstable/margins/c.png', bounds:bounds} {name:'Land Extension', src:'/img/frames/unstable/margins/c.png', bounds:bounds, ogBounds:ogBounds}
]; ];
//disables/enables the "Load Frame Version" button //disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false; document.querySelector('#loadFrameVersion').disabled = false;

View File

@@ -1,17 +1,18 @@
//Create objects for common properties across available frames //Create objects for common properties across available frames
var masks = [{src:'/img/frames/custom/brawl/center.svg', name:'Center'}, {src:'/img/frames/custom/brawl/second.svg', name:'Second'}, {src:'/img/frames/custom/brawl/third.svg', name:'Third'}, {src:'/img/frames/custom/brawl/wings.svg', name:'Wings'}]; var masks = [{src:'/img/frames/custom/brawl/floating.svg', name:'Crown Without Pinlines'}, {src:'/img/frames/custom/brawl/center.svg', name:'Center'}, {src:'/img/frames/custom/brawl/second.svg', name:'Second'}, {src:'/img/frames/custom/brawl/third.svg', name:'Third'}, {src:'/img/frames/custom/brawl/wings.svg', name:'Wings'}];
var bounds = {x:0.0094, y:0.0005, width:0.9814, height:0.1262}; var bounds = {x:0.0087, y:0.0005, width:0.9827, height:0.1853};
//defines available frames //defines available frames
availableFrames = [ availableFrames = [
{name:'White Crown', src:'/img/frames/modal/crowns/brawl/w.png', masks:masks, bounds:bounds, complementary:8}, {name:'White Crown', src:'/img/frames/modal/crowns/brawl/w.png', masks:masks, bounds:bounds, complementary:9},
{name:'Blue Crown', src:'/img/frames/modal/crowns/brawl/u.png', masks:masks, bounds:bounds, complementary:8}, {name:'Blue Crown', src:'/img/frames/modal/crowns/brawl/u.png', masks:masks, bounds:bounds, complementary:9},
{name:'Black Crown', src:'/img/frames/modal/crowns/brawl/b.png', masks:masks, bounds:bounds, complementary:8}, {name:'Black Crown', src:'/img/frames/modal/crowns/brawl/b.png', masks:masks, bounds:bounds, complementary:9},
{name:'Red Crown', src:'/img/frames/modal/crowns/brawl/r.png', masks:masks, bounds:bounds, complementary:8}, {name:'Red Crown', src:'/img/frames/modal/crowns/brawl/r.png', masks:masks, bounds:bounds, complementary:9},
{name:'Green Crown', src:'/img/frames/modal/crowns/brawl/g.png', masks:masks, bounds:bounds, complementary:8}, {name:'Green Crown', src:'/img/frames/modal/crowns/brawl/g.png', masks:masks, bounds:bounds, complementary:9},
{name:'Multicolored Crown', src:'/img/frames/modal/crowns/brawl/m.png', masks:masks, bounds:bounds, complementary:8}, {name:'Multicolored Crown', src:'/img/frames/modal/crowns/brawl/m.png', masks:masks, bounds:bounds, complementary:9},
{name:'Artifact Crown', src:'/img/frames/modal/crowns/brawl/a.png', masks:masks, bounds:bounds, complementary:8}, {name:'Artifact Crown', src:'/img/frames/modal/crowns/brawl/a.png', masks:masks, bounds:bounds, complementary:9},
{name:'Land Crown', src:'/img/frames/modal/crowns/brawl/l.png', masks:masks, bounds:bounds, complementary:8}, {name:'Land Crown', src:'/img/frames/modal/crowns/brawl/l.png', masks:masks, bounds:bounds, complementary:9},
{name:'Legend Crown Cutout', src:'/img/frames/modal/crowns/cutout.svg', erase:true} {name:'Legend Crown Cutout', src:'/img/frames/modal/crowns/cutout.svg', erase:true},
{name:'Legend Crown Border Cover', src:'/img/frames/modal/crowns/cover.svg'}
]; ];
//disables/enables the "Load Frame Version" button //disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = true; document.querySelector('#loadFrameVersion').disabled = true;