mdfc crowns

This commit is contained in:
Kyle
2021-04-12 15:32:15 -07:00
parent d6df2fbda8
commit 5eb0d36bb5
43 changed files with 44 additions and 24 deletions

View File

@@ -1,8 +0,0 @@
<?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="100%" height="100%" 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="Godzilla" d="M201.736,301.353C198.451,284.4 190.99,271.774 180.3,260.251L100.58,260.251C97.417,260.117 95.597,258.417 95.396,254.828C88.594,226.227 74.182,207.899 47.634,205.955C43.138,205.49 41.15,203.074 41.097,199.153C38.678,109.127 45.257,99.39 83,57C113.651,81.473 163.964,92.965 238,91C244.426,75.013 253.338,62.242 274,51C361.777,104.035 474.652,102.948 604,54L618,71C685.159,37.634 741.759,40.268 750,40L750.422,40.011C760.01,40.194 815.888,38.154 882,71L896,54C1025.35,102.948 1138.22,104.035 1226,51C1246.66,62.242 1255.57,75.013 1262,91C1336.04,92.965 1386.35,81.473 1417,57C1454.74,99.39 1461.32,109.127 1458.9,199.153C1458.85,203.074 1456.86,205.49 1452.37,205.955C1425.82,207.899 1411.41,226.227 1404.6,254.828C1404.4,258.417 1402.58,260.117 1399.42,260.251L1319.7,260.251C1309.01,271.774 1301.55,284.4 1298.26,301.353L201.736,301.353ZM1290.15,291.512C1296.36,270.848 1308.58,250.61 1330,233L170,233C191.591,250.749 203.835,271.166 210,292L1290,292L1290.15,291.512ZM140,104C139.762,104 139.523,103.981 139.287,103.998C121.054,105.308 104.776,114.445 91.633,125.042C74.497,138.859 62.648,155.246 58.779,160.988C62.564,166.577 73.921,182.311 90.372,195.913C103.724,206.953 120.458,216.65 139.287,218.002C139.523,218.019 139.762,218 140,218L1388,218C1401.52,199 1406.29,180 1406.29,161C1406.29,142 1401.52,123 1388,104C1388.75,105.054 1386.71,104 1388,104L140,104Z" style="fill:rgb(239,56,39);"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -1,8 +0,0 @@
<?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="100%" height="100%" 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="Classic" d="M750,40C741.759,40.268 685.159,37.634 618,71L604,54C474.652,102.948 361.777,104.035 274,51C253.338,62.242 244.426,75.013 238,91C163.964,92.965 113.651,81.473 83,57C38.331,107.671 37.26,138.835 52,158.47C59.699,168.727 51.949,183.298 41,183C40.598,208.211 48.743,229.856 68,251C77.57,231.833 90.94,232.897 111,233L1389,233C1409.06,232.897 1422.43,231.833 1432,251C1451.26,229.856 1459.4,208.211 1459,183C1448.05,183.298 1440.3,168.727 1448,158.47C1462.74,138.835 1461.67,107.671 1417,57C1386.35,81.473 1336.04,92.965 1262,91C1255.57,75.013 1246.66,62.242 1226,51C1138.22,104.035 1025.35,102.948 896,54L882,71C814.841,37.634 758.241,40.268 750,40ZM140,104C139.762,104 139.523,103.981 139.287,103.998C121.054,105.308 104.776,114.445 91.633,125.042C74.497,138.859 62.648,155.246 58.779,160.988C62.564,166.577 73.921,182.311 90.372,195.913C103.724,206.953 120.458,216.65 139.287,218.002C139.523,218.019 139.762,218 140,218L1388,218C1401.52,199 1406.29,180 1406.29,161C1406.29,142 1401.52,123 1388,104C1388.75,105.054 1386.71,104 1388,104L140,104Z" style="fill:rgb(0,255,26);"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -1,5 +0,0 @@
<?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="100%" height="100%" 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 d="M1504,0C1504,-2.209 1502.21,-4 1500,-4L0,-4C-2.209,-4 -4,-2.209 -4,0L-4,2100C-4,2102.21 -2.209,2104 -0,2104L1500,2104C1502.21,2104 1504,2102.21 1504,2100L1504,0ZM140,104C139.762,104 139.523,103.981 139.287,103.998C121.054,105.308 104.776,114.445 91.633,125.042C74.497,138.859 62.648,155.246 58.779,160.988C62.564,166.577 73.921,182.311 90.372,195.913C103.724,206.953 120.458,216.65 139.287,218.002C139.523,218.019 139.762,218 140,218L1388,218C1401.52,199 1406.29,180 1406.29,161C1406.29,142 1401.52,123 1388,104C1388.75,105.054 1386.71,104 1388,104L140,104Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?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"> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" 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="100%" height="100%" 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,77L1470,77L1470,245L30,245L30,77ZM1443,99.995L57,99.995L57,222.005L1443,222.005L1443,99.995Z"/> <path id="Cutout" d="M30,77L1470,77L1470,245L30,245L30,77ZM54.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"/>
<rect id="Card" x="0" y="0" width="1500" height="2100" style="fill:none;"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 659 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 762 B

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@@ -2,8 +2,9 @@ loadFramePacks([
{name:'Regular', value:'ModalShort'}, {name:'Regular', value:'ModalShort'},
{name:'Nickname', value:'ModalShortNickname'}, {name:'Nickname', value:'ModalShortNickname'},
{name:'Addons', value:'disabled'}, {name:'Addons', value:'disabled'},
{name:'Legend Crowns', value:'M15LegendCrowns'},
{name:'Floating Legend Crowns', value:'ModalLegendCrownsFloating'}, {name:'Floating Legend Crowns', value:'ModalLegendCrownsFloating'},
{name:'Nickname Legend Crowns', value:'ModalLegendCrownsNickname'},
{name:'Brawl Legend Crowns', value:'ModalLegendCrownsBrawl'},
{name:'Inner Crowns', value:'M15InnerCrowns'}, {name:'Inner Crowns', value:'M15InnerCrowns'},
{name:'Holo Stamps', value:'M15HoloStamps'}, {name:'Holo Stamps', value:'M15HoloStamps'},
{name:'Dark Power/Toughness', value:'M15DarkPT'}, {name:'Dark Power/Toughness', value:'M15DarkPT'},

View File

@@ -0,0 +1,21 @@
//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 bounds = {x:0.0087, y:0, width:0.9814, height:0.1262};
//defines available frames
availableFrames = [
{name:'Legend Crown Cutout', src:'/img/frames/modal/crowns/cutout.svg', erase:true},
{name:'White Crown', src:'/img/frames/modal/crowns/brawl/w.png', masks:masks, bounds:bounds},
{name:'Blue Crown', src:'/img/frames/modal/crowns/brawl/u.png', masks:masks, bounds:bounds},
{name:'Black Crown', src:'/img/frames/modal/crowns/brawl/b.png', masks:masks, bounds:bounds},
{name:'Red Crown', src:'/img/frames/modal/crowns/brawl/r.png', masks:masks, bounds:bounds},
{name:'Green Crown', src:'/img/frames/modal/crowns/brawl/g.png', masks:masks, bounds:bounds},
{name:'Multicolored Crown', src:'/img/frames/modal/crowns/brawl/m.png', masks:masks, bounds:bounds},
{name:'Artifact Crown', src:'/img/frames/modal/crowns/brawl/a.png', masks:masks, bounds:bounds},
{name:'Land Crown', src:'/img/frames/modal/crowns/brawl/l.png', masks:masks, bounds:bounds}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = true;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = null;
//loads available frames
loadFramePack();

View File

@@ -0,0 +1,20 @@
//Create objects for common properties across available frames
var bounds = {x:0.0234, y:0.0167, width:0.952, height:0.1286};
//defines available frames
availableFrames = [
{name:'Legend Crown Cutout', src:'/img/frames/modal/crowns/cutout.svg', erase:true},
{name:'White Legend Crown', src:'/img/frames/modal/crowns/nickname/w.png', bounds:bounds},
{name:'Blue Legend Crown', src:'/img/frames/modal/crowns/nickname/u.png', bounds:bounds},
{name:'Black Legend Crown', src:'/img/frames/modal/crowns/nickname/b.png', bounds:bounds},
{name:'Red Legend Crown', src:'/img/frames/modal/crowns/nickname/r.png', bounds:bounds},
{name:'Green Legend Crown', src:'/img/frames/modal/crowns/nickname/g.png', bounds:bounds},
{name:'Multicolored Legend Crown', src:'/img/frames/modal/crowns/nickname/m.png', bounds:bounds},
{name:'Artifact Legend Crown', src:'/img/frames/modal/crowns/nickname/a.png', bounds:bounds},
{name:'Land Legend Crown', src:'/img/frames/modal/crowns/nickname/l.png', bounds:bounds}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = true;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = null;
//loads available frames
loadFramePack();