mdfc extended art
BIN
img/frames/modal/extended/ab.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
img/frames/modal/extended/abThumb.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
img/frames/modal/extended/af.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
img/frames/modal/extended/afThumb.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
img/frames/modal/extended/bb.png
Normal file
After Width: | Height: | Size: 607 KiB |
BIN
img/frames/modal/extended/bbThumb.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
img/frames/modal/extended/bf.png
Normal file
After Width: | Height: | Size: 944 KiB |
BIN
img/frames/modal/extended/bfThumb.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
img/frames/modal/extended/gb.png
Normal file
After Width: | Height: | Size: 957 KiB |
BIN
img/frames/modal/extended/gbThumb.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
img/frames/modal/extended/gf.png
Normal file
After Width: | Height: | Size: 929 KiB |
BIN
img/frames/modal/extended/gfThumb.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
img/frames/modal/extended/lb.png
Normal file
After Width: | Height: | Size: 768 KiB |
BIN
img/frames/modal/extended/lbThumb.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
img/frames/modal/extended/lf.png
Normal file
After Width: | Height: | Size: 845 KiB |
BIN
img/frames/modal/extended/lfThumb.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
img/frames/modal/extended/mb.png
Normal file
After Width: | Height: | Size: 735 KiB |
BIN
img/frames/modal/extended/mbThumb.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
img/frames/modal/extended/mf.png
Normal file
After Width: | Height: | Size: 804 KiB |
BIN
img/frames/modal/extended/mfThumb.png
Normal file
After Width: | Height: | Size: 12 KiB |
5
img/frames/modal/extended/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 d="M100,1870L100,1308.21C88.362,1294.83 78.412,1270.28 78,1242C78.481,1208.95 91.996,1180.98 106,1170L1394,1170L1394.33,1170.26C1408.21,1181.42 1421.52,1209.21 1422,1242C1421.59,1270.28 1411.64,1294.83 1400,1308.21L1400,1948L654.25,1948C656.586,1944.06 659.121,1940.39 661.852,1937L1389,1937L1389,1314L111,1314L111,1870L100,1870ZM1388.24,1181.01C1389.44,1181.08 1390.56,1181.69 1391.26,1182.68C1405.33,1202.45 1410.29,1222.23 1410.29,1242C1410.29,1261.77 1405.33,1281.55 1391.26,1301.32C1390.51,1302.37 1389.29,1303 1388,1303L112,1303C110.706,1303 109.492,1302.37 108.741,1301.32C94.667,1281.55 89.714,1261.77 89.714,1242C89.714,1222.23 94.667,1202.45 108.741,1182.68C109.492,1181.63 110.706,1181 112,1181L1388,1181L1388.24,1181.01ZM1394,233L140,233C139.403,233 138.805,233.006 138.212,232.964C116.18,231.381 96.438,220.392 80.813,207.473C58.421,188.959 44.663,166.816 44.663,166.816L41.065,161.041L44.747,155.047C46.086,152.884 60.141,131.166 82.217,113.366C97.62,100.946 116.844,90.571 138.212,89.036C138.805,88.994 139.403,89 140,89L1394,89C1408,99.984 1421.52,127.948 1422,161C1421.52,194.052 1408,222.016 1394,233ZM54.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" style="fill:rgb(0,123,67);"/>
|
||||
</svg>
|
After Width: | Height: | Size: 2.2 KiB |
BIN
img/frames/modal/extended/pinlineThumb.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
img/frames/modal/extended/rb.png
Normal file
After Width: | Height: | Size: 1012 KiB |
BIN
img/frames/modal/extended/rbThumb.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
img/frames/modal/extended/rf.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
img/frames/modal/extended/rfThumb.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
img/frames/modal/extended/ub.png
Normal file
After Width: | Height: | Size: 796 KiB |
BIN
img/frames/modal/extended/ubThumb.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
img/frames/modal/extended/uf.png
Normal file
After Width: | Height: | Size: 520 KiB |
BIN
img/frames/modal/extended/ufThumb.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
img/frames/modal/extended/wb.png
Normal file
After Width: | Height: | Size: 651 KiB |
BIN
img/frames/modal/extended/wbThumb.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
img/frames/modal/extended/wf.png
Normal file
After Width: | Height: | Size: 638 KiB |
BIN
img/frames/modal/extended/wfThumb.png
Normal file
After Width: | Height: | Size: 10 KiB |
@@ -1,6 +1,7 @@
|
||||
loadFramePacks([
|
||||
{name:'Regular', value:'ModalRegular'},
|
||||
{name:'Borderless', value:'ModalBorderless'},
|
||||
{name:'Extended Art', value:'ModalExtended'},
|
||||
{name:'Nickname', value:'ModalNickname'},
|
||||
{name:'Short', value:'ModalShort'},
|
||||
{name:'Short-Nickname', value:'ModalShortNickname'},
|
||||
|
60
js/frames/packModalExtended.js
Normal file
@@ -0,0 +1,60 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [{src:'/img/frames/modal/regular/reminder.svg', name:'Flipside'}, {src:'/img/frames/modal/extended/pinline.svg', name:'Pinline'}, {src:'/img/frames/modal/regular/title.svg', name:'Title'}, {src:'/img/frames/m15/regular/m15MaskType.png', name:'Type'}, {src:'/img/frames/modal/regular/textbox.svg', name:'Rules'}, {src:'/img/frames/modal/regular/frame.svg', name:'Frame'}, {src:'/img/frames/modal/regular/border.svg', name:'Border'}];
|
||||
var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Frame (Front)', src:'/img/frames/modal/extended/wf.png', masks:masks},
|
||||
{name:'Blue Frame (Front)', src:'/img/frames/modal/extended/uf.png', masks:masks},
|
||||
{name:'Black Frame (Front)', src:'/img/frames/modal/extended/bf.png', masks:masks},
|
||||
{name:'Red Frame (Front)', src:'/img/frames/modal/extended/rf.png', masks:masks},
|
||||
{name:'Green Frame (Front)', src:'/img/frames/modal/extended/gf.png', masks:masks},
|
||||
{name:'Multicolored Frame (Front)', src:'/img/frames/modal/extended/mf.png', masks:masks},
|
||||
{name:'Artifact Frame (Front)', src:'/img/frames/modal/extended/af.png', masks:masks},
|
||||
{name:'Land Frame (Front)', src:'/img/frames/modal/extended/lf.png', masks:masks},
|
||||
{name:'White Frame (Back)', src:'/img/frames/modal/extended/wb.png', masks:masks},
|
||||
{name:'Blue Frame (Back)', src:'/img/frames/modal/extended/ub.png', masks:masks},
|
||||
{name:'Black Frame (Back)', src:'/img/frames/modal/extended/bb.png', masks:masks},
|
||||
{name:'Red Frame (Back)', src:'/img/frames/modal/extended/rb.png', masks:masks},
|
||||
{name:'Green Frame (Back)', src:'/img/frames/modal/extended/gb.png', masks:masks},
|
||||
{name:'Multicolored Frame (Back)', src:'/img/frames/modal/extended/mb.png', masks:masks},
|
||||
{name:'Artifact Frame (Back)', src:'/img/frames/modal/extended/ab.png', masks:masks},
|
||||
{name:'Land Frame (Back)', src:'/img/frames/modal/extended/lb.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},
|
||||
{name:'Colorless Power/Toughness', src:'/img/frames/m15/regular/m15PTC.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 = 'modalExtended';
|
||||
//art bounds
|
||||
card.artBounds = {x:0, y:0.081, width:1, height:0.531};
|
||||
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.1614, y:0.0522, width:0.7534, 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, color:'white', shadowX:0.0014, shadowY:0.001},
|
||||
rules: {name:'Rules Text', text:'', x:0.086, y:0.6303, width:0.828, height:0.2875, size:0.0362},
|
||||
flipsideType: {name:'Flipside Type', text:'', x:0.068, y:0.892, width:0.364, height:0.0391, size:0.0234, color:'white', oneLine:true, font:'belerenb'},
|
||||
flipSideReminder: {name:'Flipside Text', text:'', x:0.068, y:0.892, width:0.364, height:0.0391, size:0.0258, color:'white', oneLine:true, align:'right'},
|
||||
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();
|