updated fifth/seventh frames
7
img/frames/seventh/foilStar.svg
Normal file
@@ -0,0 +1,7 @@
|
||||
<?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;">
|
||||
<g id="Foil" transform="matrix(1,0,0,1,5,10)">
|
||||
<path id="Foil-Star" serif:id="Foil Star" d="M129,1851.16L282.337,1858.03L215.967,1938.13L291.491,1869.47L298.357,1983.9L305.223,1869.47L378.459,1933.55L316.666,1858.03L497.466,1851.16L342.357,1844.75C342.357,1844.75 466.235,1798.37 575.427,1798.37C689.257,1798.37 844.443,1848.23 844.443,1848.23C844.443,1848.23 704.84,1782.14 575.427,1782.14C413.851,1782.14 332.686,1828.27 332.686,1828.27L387.613,1761.9L307.512,1830.56L298.357,1723L289.203,1830.56L193.081,1748.17L280.048,1844.29L129,1851.16Z" style="fill:white;"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.0 KiB |
BIN
img/frames/seventh/foilStarThumb.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
img/frames/seventh/regular/a.png
Normal file
After Width: | Height: | Size: 3.0 MiB |
BIN
img/frames/seventh/regular/aThumb.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/frames/seventh/regular/b.png
Normal file
After Width: | Height: | Size: 2.3 MiB |
BIN
img/frames/seventh/regular/bThumb.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
img/frames/seventh/regular/bl.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
img/frames/seventh/regular/blThumb.png
Normal file
After Width: | Height: | Size: 17 KiB |
5
img/frames/seventh/regular/border.svg
Normal 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="Border" d="M1500,0L0,0L0,2100L1500,2100L1500,0ZM1432,2019L1432,81L78,81L78,2019L1432,2019Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 562 B |
BIN
img/frames/seventh/regular/borderThumb.png
Normal file
After Width: | Height: | Size: 771 B |
5
img/frames/seventh/regular/frame.svg
Normal 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="Background" d="M1432,2019L1432,81L78,81L78,2019L1432,2019ZM1348,1253L158,1253L158,1863L1348,1863L1348,1253ZM1329,210L1329,1136L181,1136L181,210L1329,210Z" style="fill:rgb(0,123,67);"/>
|
||||
</svg>
|
After Width: | Height: | Size: 653 B |
BIN
img/frames/seventh/regular/frameThumb.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
img/frames/seventh/regular/g.png
Normal file
After Width: | Height: | Size: 2.4 MiB |
BIN
img/frames/seventh/regular/gThumb.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
img/frames/seventh/regular/gl.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
BIN
img/frames/seventh/regular/glThumb.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/frames/seventh/regular/l.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
img/frames/seventh/regular/lThumb.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
img/frames/seventh/regular/m.png
Normal file
After Width: | Height: | Size: 2.4 MiB |
BIN
img/frames/seventh/regular/mThumb.png
Normal file
After Width: | Height: | Size: 17 KiB |
5
img/frames/seventh/regular/pinline.svg
Normal 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="Pinlines" d="M1421,94C1421,92.895 1420.11,92 1419,92L91,92C89.895,92 89,92.895 89,94L89,2006C89,2007.11 89.895,2008 91,2008L1419,2008C1420.11,2008 1421,2007.11 1421,2006L1421,94ZM1413,100L1413,2000C1413,2000 97,2000 97,2000C97,1932.29 97,167.707 97,100C97,100 1413,100 1413,100L1413,100ZM1357,184C1357,182.895 1356.11,182 1355,182L155,182C153.895,182 153,182.895 153,184L153,1162C153,1163.11 153.895,1164 155,1164L1355,1164C1356.11,1164 1357,1163.11 1357,1162L1357,184ZM1349,190L1349,1156C1296.17,1156 213.833,1156 161,1156C161,1156 161,190 161,190L1349,190Z" style="fill:rgb(239,56,39);"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.0 KiB |
BIN
img/frames/seventh/regular/pinlineThumb.png
Normal file
After Width: | Height: | Size: 996 B |
BIN
img/frames/seventh/regular/r.png
Normal file
After Width: | Height: | Size: 2.6 MiB |
BIN
img/frames/seventh/regular/rThumb.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/seventh/regular/rl.png
Normal file
After Width: | Height: | Size: 1.6 MiB |
BIN
img/frames/seventh/regular/rlThumb.png
Normal file
After Width: | Height: | Size: 16 KiB |
8
img/frames/seventh/regular/rules.svg
Normal 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;">
|
||||
<g id="Trim" transform="matrix(1,0,0,1,5,10)">
|
||||
<rect x="153" y="1243" width="1190" height="610" style="fill:rgb(0,117,190);"/>
|
||||
<path d="M1345,1243C1345,1241.89 1344.11,1241 1343,1241L153,1241C151.895,1241 151,1241.89 151,1243L151,1853C151,1854.11 151.895,1855 153,1855L1343,1855C1344.11,1855 1345,1854.11 1345,1853L1345,1243ZM1343,1243L153,1243L153,1853L1343,1853L1343,1243Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 861 B |
BIN
img/frames/seventh/regular/rulesThumb.png
Normal file
After Width: | Height: | Size: 830 B |
Before Width: | Height: | Size: 733 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 679 KiB |
Before Width: | Height: | Size: 709 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 712 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 746 KiB |
Before Width: | Height: | Size: 672 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 664 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 719 KiB |
Before Width: | Height: | Size: 717 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 698 KiB |
Before Width: | Height: | Size: 681 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 717 KiB |
Before Width: | Height: | Size: 689 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 2.6 KiB |
BIN
img/frames/seventh/regular/u.png
Normal file
After Width: | Height: | Size: 2.4 MiB |
BIN
img/frames/seventh/regular/uThumb.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
img/frames/seventh/regular/ul.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
BIN
img/frames/seventh/regular/ulThumb.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/frames/seventh/regular/w.png
Normal file
After Width: | Height: | Size: 3.1 MiB |
BIN
img/frames/seventh/regular/wThumb.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/frames/seventh/regular/wl.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
BIN
img/frames/seventh/regular/wlThumb.png
Normal file
After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 5.1 KiB |
@@ -796,9 +796,9 @@ function writeText(textObject, targetContext) {
|
||||
paragraphContext.clearRect(0, 0, paragraphCanvas.width, paragraphCanvas.height);
|
||||
lineContext.clearRect(0, 0, lineCanvas.width, lineCanvas.height);
|
||||
lineCanvas.style.letterSpacing = textObject.kerning || '0px';
|
||||
if (textFont == 'goudymedieval') {
|
||||
lineCanvas.style.letterSpacing = '3.5px';
|
||||
}
|
||||
// if (textFont == 'goudymedieval') {
|
||||
// lineCanvas.style.letterSpacing = '3.5px';
|
||||
// }
|
||||
lineContext.font = textFontStyle + textSize + 'px ' + textFont + textFontExtension;
|
||||
lineContext.fillStyle = textColor;
|
||||
lineContext.shadowColor = textShadowColor;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
loadFramePacks([
|
||||
{name:'Conspiracies (Draft Matters)', value:'Conspiracy'},
|
||||
{name:'Old', value:'disabled'},
|
||||
{name:'Future Shifted', value:'FutureRegular'},
|
||||
{name:'Seventh Edition', value:'Seventh'},
|
||||
{name:'Fifth Edition', value:'SeventhButFifth'},
|
||||
|
@@ -1,23 +1,22 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [{src:'/img/frames/seventh/regular/seventhMaskPinline.png', name:'Pinline'}, {src:'/img/frames/seventh/regular/seventhMaskRules.png', name:'Rules'}, {src:'/img/frames/seventh/regular/seventhMaskFrame.png', name:'Frame'}, {src:'/img/frames/seventh/regular/seventhMaskBorder.png', name:'Border'}];
|
||||
var borderMask = [{src:'/img/frames/seventh/regular/seventhMaskBorder.png', name:'Border'}]
|
||||
var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
|
||||
var masks = [{src:'/img/frames/seventh/regular/pinline.svg', name:'Pinline'}, {src:'/img/frames/seventh/regular/rules.svg', name:'Rules'}, {src:'/img/frames/seventh/regular/frame.svg', name:'Frame'}, {src:'/img/frames/seventh/regular/border.svg', name:'Border'}];
|
||||
var borderMask = [{src:'/img/frames/seventh/regular/border.svg', name:'Border'}]
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Frame', src:'/img/frames/seventh/regular/seventhFrameW.png', masks:masks},
|
||||
{name:'Blue Frame', src:'/img/frames/seventh/regular/seventhFrameU.png', masks:masks},
|
||||
{name:'Black Frame', src:'/img/frames/seventh/regular/seventhFrameB.png', masks:masks},
|
||||
{name:'Red Frame', src:'/img/frames/seventh/regular/seventhFrameR.png', masks:masks},
|
||||
{name:'Green Frame', src:'/img/frames/seventh/regular/seventhFrameG.png', masks:masks},
|
||||
{name:'Multicolored Frame', src:'/img/frames/seventh/regular/seventhFrameM.png', masks:masks},
|
||||
{name:'Artifact Frame', src:'/img/frames/seventh/regular/seventhFrameA.png', masks:masks},
|
||||
{name:'Land Frame', src:'/img/frames/seventh/regular/seventhFrameCL.png', masks:masks},
|
||||
{name:'White Land Frame', src:'/img/frames/seventh/regular/seventhFrameWL.png', masks:masks},
|
||||
{name:'Blue Land Frame', src:'/img/frames/seventh/regular/seventhFrameUL.png', masks:masks},
|
||||
{name:'Black Land Frame', src:'/img/frames/seventh/regular/seventhFrameBL.png', masks:masks},
|
||||
{name:'Red Land Frame', src:'/img/frames/seventh/regular/seventhFrameRL.png', masks:masks},
|
||||
{name:'Green Land Frame', src:'/img/frames/seventh/regular/seventhFrameGL.png', masks:masks},
|
||||
{name:'DCI Star', src:'/img/frames/seventh/seventhFoilStamp.png', bounds:{x:0.1089, y:0.8345, width:0.4033, height:0.1107}},
|
||||
{name:'White Frame', src:'/img/frames/seventh/regular/w.png', masks:masks},
|
||||
{name:'Blue Frame', src:'/img/frames/seventh/regular/u.png', masks:masks},
|
||||
{name:'Black Frame', src:'/img/frames/seventh/regular/b.png', masks:masks},
|
||||
{name:'Red Frame', src:'/img/frames/seventh/regular/r.png', masks:masks},
|
||||
{name:'Green Frame', src:'/img/frames/seventh/regular/g.png', masks:masks},
|
||||
{name:'Multicolored Frame', src:'/img/frames/seventh/regular/m.png', masks:masks},
|
||||
{name:'Artifact Frame', src:'/img/frames/seventh/regular/a.png', masks:masks},
|
||||
{name:'Land Frame', src:'/img/frames/seventh/regular/l.png', masks:masks},
|
||||
{name:'White Land Frame', src:'/img/frames/seventh/regular/wl.png', masks:masks},
|
||||
{name:'Blue Land Frame', src:'/img/frames/seventh/regular/ul.png', masks:masks},
|
||||
{name:'Black Land Frame', src:'/img/frames/seventh/regular/bl.png', masks:masks},
|
||||
{name:'Red Land Frame', src:'/img/frames/seventh/regular/rl.png', masks:masks},
|
||||
{name:'Green Land Frame', src:'/img/frames/seventh/regular/gl.png', masks:masks},
|
||||
{name:'DCI Star', src:'/img/frames/seventh/foilStar.svg'},
|
||||
{name:'White Border', src:'/img/frames/white.png', masks:borderMask, noDefaultMask:true},
|
||||
{name:'Silver Border', src:'/img/frames/silver.png', masks:borderMask, noDefaultMask:true},
|
||||
{name:'Gold Border', src:'/img/frames/gold.png', masks:borderMask, noDefaultMask:true}
|
||||
@@ -31,27 +30,27 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
|
||||
//sets card version
|
||||
card.version = 'seventh';
|
||||
//art bounds
|
||||
card.artBounds = {x:0.117, y:0.0973, width:0.7662, height:0.4466};
|
||||
card.artBounds = {x:0.12, y:0.0991, width:0.76, height:0.4429};
|
||||
autoFitArt();
|
||||
//set symbol bounds
|
||||
card.setSymbolBounds = {x:0.8914, y:0.5748, width:0.12, height:0.0381, vertical:'center', horizontal: 'right'};
|
||||
card.setSymbolBounds = {x:0.9, y:0.5739, width:0.12, height:0.0372, vertical:'center', horizontal: 'right'};
|
||||
resetSetSymbol();
|
||||
//watermark bounds
|
||||
card.watermarkBounds = {x:0.18, y:0.64, width:0.64, height:0.24};
|
||||
resetWatermark();
|
||||
//text
|
||||
loadTextOptions({
|
||||
mana: {name:'Mana Cost', text:'', x:0.108, y:0.0505, width:0.8147, height:72/2100, oneLine:true, size:72/1638, align:'right', manaCost:true, manaSpacing:0.0014},
|
||||
title: {name:'Title', text:'', x:0.108, y:0.0448, width:0.784, height:0.0405, oneLine:true, font:'goudymedieval', size:0.0405, color:'white', shadowX:0.002, shadowY:0.0015},
|
||||
mana: {name:'Mana Cost', text:'', x:0.1067, y:0.0539, width:0.8174, height:72/2100, oneLine:true, size:72/1638, align:'right', manaCost:true},
|
||||
title: {name:'Title', text:'', x:0.1134, y:0.0481, width:0.7734, height:0.041, oneLine:true, font:'goudymedieval', size:0.041, color:'white', shadowX:0.002, shadowY:0.0015},
|
||||
type: {name:'Type', text:'', x:0.1074, y:0.5486, width:0.7852, height:0.0543, oneLine:true, size:0.032, color:'white', shadowX:0.002, shadowY:0.0015},
|
||||
rules: {name:'Rules Text', text:'', x:0.126, y:0.6074, width:0.748, height:0.2724, size:0.0362},
|
||||
pt: {name:'Power/Toughness', text:'', x:0.8, y:0.8981, width:0.1367, height:0.0453, size:0.0453, oneLine:true, align:'center', color:'white', shadowX:0.002, shadowY:0.0015}
|
||||
rules: {name:'Rules Text', text:'', x:0.128, y:0.6067, width:0.744, height:0.2724, size:0.0358},
|
||||
pt: {name:'Power/Toughness', text:'', x:0.8074, y:0.9043, width:0.1367, height:0.0429, size:0.0429, oneLine:true, align:'center', color:'white', shadowX:0.002, shadowY:0.0015}
|
||||
});
|
||||
//bottom info
|
||||
loadBottomInfo({
|
||||
top: {text:'Illus: {elemidinfo-artist}', x:0.0614, y:1883/2100, width:0.8774, height:0.0281, oneLine:true, size:0.0281, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'},
|
||||
wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.0614, y:1942/2100, width:0.8774, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'},
|
||||
bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.0614, y:1980/2100, width:0.8774, height:26/2100, oneLine:true, size:26/2100, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}
|
||||
top: {text:'Illus: {elemidinfo-artist}', x:0.1, y:1872/2100, width:0.8, height:0.0267, oneLine:true, size:0.0267, align:'center', shadowX:0.0021, shadowY:0.0015, color:'white'},
|
||||
wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1933/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'},
|
||||
bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.1, y:1973/2100, width:0.8, height:26/2100, oneLine:true, size:26/2100, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}
|
||||
});
|
||||
}
|
||||
//loads available frames
|
||||
|
@@ -1,23 +1,22 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [{src:'/img/frames/seventh/regular/seventhMaskPinline.png', name:'Pinline'}, {src:'/img/frames/seventh/regular/seventhMaskRules.png', name:'Rules'}, {src:'/img/frames/seventh/regular/seventhMaskFrame.png', name:'Frame'}, {src:'/img/frames/seventh/regular/seventhMaskBorder.png', name:'Border'}];
|
||||
var borderMask = [{src:'/img/frames/seventh/regular/seventhMaskBorder.png', name:'Border'}]
|
||||
var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
|
||||
var masks = [{src:'/img/frames/seventh/regular/pinline.svg', name:'Pinline'}, {src:'/img/frames/seventh/regular/rules.svg', name:'Rules'}, {src:'/img/frames/seventh/regular/frame.svg', name:'Frame'}, {src:'/img/frames/seventh/regular/border.svg', name:'Border'}];
|
||||
var borderMask = [{src:'/img/frames/seventh/regular/border.svg', name:'Border'}]
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Frame', src:'/img/frames/seventh/regular/seventhFrameW.png', masks:masks},
|
||||
{name:'Blue Frame', src:'/img/frames/seventh/regular/seventhFrameU.png', masks:masks},
|
||||
{name:'Black Frame', src:'/img/frames/seventh/regular/seventhFrameB.png', masks:masks},
|
||||
{name:'Red Frame', src:'/img/frames/seventh/regular/seventhFrameR.png', masks:masks},
|
||||
{name:'Green Frame', src:'/img/frames/seventh/regular/seventhFrameG.png', masks:masks},
|
||||
{name:'Multicolored Frame', src:'/img/frames/seventh/regular/seventhFrameM.png', masks:masks},
|
||||
{name:'Artifact Frame', src:'/img/frames/seventh/regular/seventhFrameA.png', masks:masks},
|
||||
{name:'Land Frame', src:'/img/frames/seventh/regular/seventhFrameCL.png', masks:masks},
|
||||
{name:'White Land Frame', src:'/img/frames/seventh/regular/seventhFrameWL.png', masks:masks},
|
||||
{name:'Blue Land Frame', src:'/img/frames/seventh/regular/seventhFrameUL.png', masks:masks},
|
||||
{name:'Black Land Frame', src:'/img/frames/seventh/regular/seventhFrameBL.png', masks:masks},
|
||||
{name:'Red Land Frame', src:'/img/frames/seventh/regular/seventhFrameRL.png', masks:masks},
|
||||
{name:'Green Land Frame', src:'/img/frames/seventh/regular/seventhFrameGL.png', masks:masks},
|
||||
{name:'DCI Star', src:'/img/frames/seventh/seventhFoilStamp.png', bounds:{x:0.1089, y:0.8345, width:0.4033, height:0.1107}},
|
||||
{name:'White Frame', src:'/img/frames/seventh/regular/w.png', masks:masks},
|
||||
{name:'Blue Frame', src:'/img/frames/seventh/regular/u.png', masks:masks},
|
||||
{name:'Black Frame', src:'/img/frames/seventh/regular/b.png', masks:masks},
|
||||
{name:'Red Frame', src:'/img/frames/seventh/regular/r.png', masks:masks},
|
||||
{name:'Green Frame', src:'/img/frames/seventh/regular/g.png', masks:masks},
|
||||
{name:'Multicolored Frame', src:'/img/frames/seventh/regular/m.png', masks:masks},
|
||||
{name:'Artifact Frame', src:'/img/frames/seventh/regular/a.png', masks:masks},
|
||||
{name:'Land Frame', src:'/img/frames/seventh/regular/l.png', masks:masks},
|
||||
{name:'White Land Frame', src:'/img/frames/seventh/regular/wl.png', masks:masks},
|
||||
{name:'Blue Land Frame', src:'/img/frames/seventh/regular/ul.png', masks:masks},
|
||||
{name:'Black Land Frame', src:'/img/frames/seventh/regular/bl.png', masks:masks},
|
||||
{name:'Red Land Frame', src:'/img/frames/seventh/regular/rl.png', masks:masks},
|
||||
{name:'Green Land Frame', src:'/img/frames/seventh/regular/gl.png', masks:masks},
|
||||
{name:'DCI Star', src:'/img/frames/seventh/foilStar.svg'},
|
||||
{name:'White Border', src:'/img/frames/white.png', masks:borderMask, noDefaultMask:true},
|
||||
{name:'Silver Border', src:'/img/frames/silver.png', masks:borderMask, noDefaultMask:true},
|
||||
{name:'Gold Border', src:'/img/frames/gold.png', masks:borderMask, noDefaultMask:true}
|
||||
@@ -29,29 +28,29 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
|
||||
//resets things so that every frame doesn't have to
|
||||
await resetCardIrregularities();
|
||||
//sets card version
|
||||
card.version = 'seventh';
|
||||
card.version = 'fifth';
|
||||
//art bounds
|
||||
card.artBounds = {x:0.117, y:0.0973, width:0.7662, height:0.4466};
|
||||
card.artBounds = {x:0.12, y:0.0991, width:0.76, height:0.4429};
|
||||
autoFitArt();
|
||||
//set symbol bounds
|
||||
card.setSymbolBounds = {x:0.8914, y:0.5748, width:0.12, height:0.0381, vertical:'center', horizontal: 'right'};
|
||||
card.setSymbolBounds = {x:0.9, y:0.5739, width:0.12, height:0.0372, vertical:'center', horizontal: 'right'};
|
||||
resetSetSymbol();
|
||||
//watermark bounds
|
||||
card.watermarkBounds = {x:0.18, y:0.64, width:0.64, height:0.24};
|
||||
resetWatermark();
|
||||
//text
|
||||
loadTextOptions({
|
||||
mana: {name:'Mana Cost', text:'', x:0.108, y:0.0505, width:0.8147, height:72/2100, oneLine:true, size:72/1638, align:'right', manaCost:true, manaSpacing:0.0014},
|
||||
title: {name:'Title', text:'', x:0.108, y:0.0448, width:0.784, height:0.0405, oneLine:true, font:'goudymedieval', size:0.0405, color:'white', shadowX:0.002, shadowY:0.0015},
|
||||
mana: {name:'Mana Cost', text:'', x:0.1067, y:0.0539, width:0.8174, height:72/2100, oneLine:true, size:72/1638, align:'right', manaCost:true},
|
||||
title: {name:'Title', text:'', x:0.1134, y:0.0481, width:0.7734, height:0.041, oneLine:true, font:'goudymedieval', size:0.041, color:'white', shadowX:0.002, shadowY:0.0015},
|
||||
type: {name:'Type', text:'', x:0.1074, y:0.5486, width:0.7852, height:0.0543, oneLine:true, size:0.032, color:'white', shadowX:0.002, shadowY:0.0015},
|
||||
rules: {name:'Rules Text', text:'', x:0.126, y:0.6074, width:0.748, height:0.2724, size:0.0362},
|
||||
pt: {name:'Power/Toughness', text:'', x:0.8, y:0.8981, width:0.1367, height:0.0453, size:0.0453, oneLine:true, align:'center', color:'white', shadowX:0.002, shadowY:0.0015}
|
||||
rules: {name:'Rules Text', text:'', x:0.128, y:0.6067, width:0.744, height:0.2724, size:0.0358},
|
||||
pt: {name:'Power/Toughness', text:'', x:0.8074, y:0.9043, width:0.1367, height:0.0429, size:0.0429, oneLine:true, align:'center', color:'white', shadowX:0.002, shadowY:0.0015}
|
||||
});
|
||||
//bottom info
|
||||
loadBottomInfo({
|
||||
top: {text:'Illus: {elemidinfo-artist}', x:0.1, y:1883/2100, width:0.8774, height:0.0281, oneLine:true, size:0.0281, shadowX:0.0014, shadowY:0.001, color:'white'},
|
||||
wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.1, y:1942/2100, width:0.8774, height:0.0172, oneLine:true, size:0.0172, shadowX:0.0014, shadowY:0.001, color:'white'},
|
||||
bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.1, y:1980/2100, width:0.8774, height:26/2100, oneLine:true, size:26/2100, shadowX:0.0014, shadowY:0.001, color:'white'}
|
||||
top: {text:'Illus: {elemidinfo-artist}', x:0.1, y:1872/2100, width:0.8, height:0.0267, oneLine:true, size:0.0267, shadowX:0.0021, shadowY:0.0015, color:'white'},
|
||||
wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1933/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, shadowX:0.0014, shadowY:0.001, color:'white'},
|
||||
bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.1, y:1973/2100, width:0.8, height:26/2100, oneLine:true, size:26/2100, shadowX:0.0014, shadowY:0.001, color:'white'}
|
||||
});
|
||||
}
|
||||
//loads available frames
|
||||
|