praetors and classicshifted improvements

This commit is contained in:
Kyle
2021-09-06 16:52:38 -07:00
parent 89ce0a127e
commit d11b54e5c1
28 changed files with 59 additions and 1 deletions

View File

@@ -589,6 +589,7 @@ include('../globalHTML/header-1.php');
<h4>Joel T.</h4> <h4>Joel T.</h4>
<h4>Michael J.</h4> <h4>Michael J.</h4>
<h4>Benjamin D.</h4> <h4>Benjamin D.</h4>
<h4>Brent O.</h4>
</div> </div>
<h4 class='margin-bottom'>And of course, thank you to all of those who have made donations in the past.</h4> <h4 class='margin-bottom'>And of course, thank you to all of those who have made donations in the past.</h4>
<div class='supporters margin-bottom'> <div class='supporters margin-bottom'>

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 d="M104,1839.3L100,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.5L1396,1839.3L1396,1944L104,1944L104,1839.3ZM1390,1324L110,1324L110,1938L1390,1938L1390,1324ZM1385,1329L115,1329L115,1933L1385,1933L1385,1329ZM1346,1363L154,1363L154,1899L1346,1899L1346,1363ZM1305,1400L195,1400L195,1862L1305,1862L1305,1400ZM1396,1829.61L1400,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.8L104,1829.6L104,1318L1396,1318L1396,1829.61ZM1264,1437L236,1437L236,1825L1264,1825L1264,1437ZM1223,1474L277,1474L277,1788L1223,1788L1223,1474ZM1182,1511L318,1511L318,1751L1182,1751L1182,1511ZM1141,1548L359,1548L359,1714L1141,1714L1141,1548ZM1100,1585L400,1585L400,1677L1100,1677L1100,1585Z" style="fill:rgb(0,117,190);"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 927 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 KiB

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: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1017 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 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="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="frame-mask" serif:id="frame mask" d="M60,280.845C90.068,344.826 106.031,452.605 115,561.392L115,648C98.336,1066.68 97.779,1105.75 70.118,1150.63C69.429,1151.75 70.373,1153.43 71.505,1153.23C98.289,1148.55 104.903,1175.34 78,1191C75.05,1192.72 70.321,1199.14 70.323,1201.71C70.325,1204.53 72.898,1204.7 75,1206C84.426,1211.81 90.713,1222.47 93.954,1234.74C93.791,1237.16 93.714,1239.58 93.714,1242C93.714,1249.38 94.432,1256.76 96.102,1264.13C94.027,1283.92 84.867,1301.61 68.971,1305.24C66.735,1305.75 65.802,1308.25 67,1309C79.317,1316.75 103.239,1361.88 97,1363L97,1575C97.264,1591.55 102.169,1604.62 108,1617C100.834,1631.21 95.918,1646.05 95,1662L95.975,1849.25C72.022,1825.52 60.58,1788.34 60,1765L60,280.845ZM1440,280.845L1440,1765C1439.42,1788.34 1427.98,1825.52 1404.03,1849.25L1405,1662C1404.08,1646.05 1399.17,1631.21 1392,1617C1397.83,1604.62 1402.74,1591.55 1403,1575L1403,1363C1396.76,1361.88 1420.68,1316.75 1433,1309C1434.2,1308.25 1433.27,1305.75 1431.03,1305.24C1415.13,1301.61 1405.97,1283.92 1403.9,1264.13C1405.57,1256.76 1406.29,1249.38 1406.29,1242C1406.29,1239.58 1406.21,1237.16 1406.05,1234.74C1409.29,1222.47 1415.57,1211.81 1425,1206C1427.1,1204.7 1429.67,1204.53 1429.68,1201.71C1429.68,1199.14 1424.95,1192.72 1422,1191C1395.1,1175.34 1401.71,1148.55 1428.5,1153.23C1429.63,1153.43 1430.57,1151.75 1429.88,1150.63C1402.22,1105.75 1401.66,1066.68 1385,648L1385,561.392C1393.97,452.605 1409.93,344.826 1440,280.845Z" style="fill:rgb(0,123,67);"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,47 @@
//Create objects for common properties across available frames
// var masks = [{src:'/img/frames/planeswalker/regular/planeswalkerMaskPinline.png', name:'Pinline'}, {src:'/img/frames/planeswalker/regular/planeswalkerMaskTitle.png', name:'Title'}, {src:'/img/frames/planeswalker/regular/planeswalkerMaskType.png', name:'Type'}, {src:'/img/frames/planeswalker/regular/planeswalkerMaskFrame.png', name:'Frame'}, {src:'/img/frames/planeswalker/regular/planeswalkerMaskBorder.png', name:'Border'}, {src:'/img/frames/planeswalker/maskLoyalty.png', name:'Loyalty'}];
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/custom/classicshifted/planeswalker/w.png'},
{name:'Blue Frame', src:'/img/frames/custom/classicshifted/planeswalker/u.png'},
{name:'Black Frame', src:'/img/frames/custom/classicshifted/planeswalker/b.png'},
{name:'Red Frame', src:'/img/frames/custom/classicshifted/planeswalker/r.png'},
{name:'Green Frame', src:'/img/frames/custom/classicshifted/planeswalker/g.png'},
{name:'Multicolored Frame', src:'/img/frames/custom/classicshifted/planeswalker/m.png'},
{name:'Artifact Frame', src:'/img/frames/custom/classicshifted/planeswalker/a.png'},
{name:'Land Frame', src:'/img/frames/custom/classicshifted/planeswalker/l.png'},
{name:'Colorless Frame', src:'/img/frames/custom/classicshifted/planeswalker/c.png'}
];
//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 = 'planeswalkerClassicshifted';
card.onload = '/js/frames/versionPlaneswalker.js';
loadScript('/js/frames/versionPlaneswalker.js');
//art bounds
card.artBounds = {x:0.068, y:0.101, width:0.864, height:0.8143};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9227, y:0.5891, width:0.12, height:0.0381, 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.0481, 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.0867, y:0.0372, width:0.8267, height:0.0548, oneLine:true, font:'belerenb', size:0.0381, color:'white', shadowX:0.002, shadowY:0.0015},
type: {name:'Type', text:'', x:0.0867, y:0.5625, width:0.8267, height:0.0548, oneLine:true, font:'belerenb', size:0.0324, color:'white', shadowX:0.002, shadowY:0.0015},
ability0: {name:'Ability 1', text:'', x:0.18, y:0.6239, width:0.7467, height:0.0972, size:0.0353},
ability1: {name:'Ability 2', text:'', x:0.18, y:0, width:0.7467, height:0.0972, size:0.0353},
ability2: {name:'Ability 3', text:'', x:0.18, y:0, width:0.7467, height:0.0972, size:0.0353},
ability3: {name:'Ability 4', text:'', x:0.18, y:0, width:0.7467, height:0, size:0.0353},
loyalty: {name:'Loyalty', text:'', x:0.806, y:0.902, width:0.14, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', color:'white'}
});
}
//loads available frames
loadFramePack();

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/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/m15/regular/m15MaskType.png', name:'Type'}]; var masks = [{src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/m15/regular/m15MaskType.png', name:'Type'}, {src:'/img/frames/m15/praetors/frame.svg', name:'Frame'}];
var bounds = {x:0.746, y:0.8858, width:0.212, height:0.0772}; var bounds = {x:0.746, y:0.8858, width:0.212, height:0.0772};
//defines available frames //defines available frames
availableFrames = [ availableFrames = [