split cards
BIN
img/frames/m15/split/a.png
Normal file
After Width: | Height: | Size: 1.6 MiB |
BIN
img/frames/m15/split/aThumb.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/frames/m15/split/b.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
img/frames/m15/split/bThumb.png
Normal file
After Width: | Height: | Size: 18 KiB |
7
img/frames/m15/split/bottom.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="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 transform="matrix(-1,-1.18272e-16,1.46983e-16,-1.15911,1500,3434.14)">
|
||||
<rect x="0" y="1151" width="1500" height="949" style="fill:rgb(0,123,67);"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 626 B |
BIN
img/frames/m15/split/bottomThumb.png
Normal file
After Width: | Height: | Size: 720 B |
BIN
img/frames/m15/split/g.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
img/frames/m15/split/gThumb.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
img/frames/m15/split/l.png
Normal file
After Width: | Height: | Size: 1.2 MiB |
BIN
img/frames/m15/split/lThumb.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/frames/m15/split/m.png
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
img/frames/m15/split/mThumb.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/frames/m15/split/r.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
img/frames/m15/split/rThumb.png
Normal file
After Width: | Height: | Size: 18 KiB |
7
img/frames/m15/split/top.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="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 transform="matrix(-1,1.0752e-16,1.46983e-16,1.05374,1500,-1212.85)">
|
||||
<rect x="0" y="1151" width="1500" height="949" style="fill:rgb(0,117,190);"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 625 B |
BIN
img/frames/m15/split/topThumb.png
Normal file
After Width: | Height: | Size: 718 B |
BIN
img/frames/m15/split/u.png
Normal file
After Width: | Height: | Size: 891 KiB |
BIN
img/frames/m15/split/uThumb.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
img/frames/m15/split/v.png
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
img/frames/m15/split/vThumb.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/frames/m15/split/w.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
img/frames/m15/split/wThumb.png
Normal file
After Width: | Height: | Size: 15 KiB |
@@ -21,6 +21,7 @@ loadFramePacks([
|
||||
{name:'Aftermath (Amonkhet)', value:'Aftermath'},
|
||||
{name:'Flip (Kamigawa)', value:'Flip'},
|
||||
{name:'Levelers (Zendikar)', value:'Levelers'},
|
||||
{name:'Split Cards', value:'Split'},
|
||||
{name:'Conspiracies (Draft Matters)', value:'Conspiracy'},
|
||||
{name:'Colorshifted (Planar Chaos)', value:'Colorshifted'},
|
||||
{name:'Custom Addons', value:'disabled'},
|
||||
|
46
js/frames/packSplit.js
Normal file
@@ -0,0 +1,46 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [{src:'/img/frames/m15/split/top.svg', name:'Top Half'}, {src:'/img/frames/m15/split/bottom.svg', name:'Bottom Half'}];
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Frame', src:'/img/frames/m15/split/w.png', masks:masks},
|
||||
{name:'Blue Frame', src:'/img/frames/m15/split/u.png', masks:masks},
|
||||
{name:'Black Frame', src:'/img/frames/m15/split/b.png', masks:masks},
|
||||
{name:'Red Frame', src:'/img/frames/m15/split/r.png', masks:masks},
|
||||
{name:'Green Frame', src:'/img/frames/m15/split/g.png', masks:masks},
|
||||
{name:'Multicolored Frame', src:'/img/frames/m15/split/m.png', masks:masks},
|
||||
{name:'Artifact Frame', src:'/img/frames/m15/split/a.png', masks:masks},
|
||||
{name:'Land Frame', src:'/img/frames/m15/split/l.png', masks:masks}
|
||||
];
|
||||
//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() {
|
||||
// Notification
|
||||
notify('At this time, rotated set symbols and second pieces of art is not an option, unless added manually with external software. Apologies for the inconvenience!', 10);
|
||||
//resets things so that every frame doesn't have to
|
||||
await resetCardIrregularities();
|
||||
//sets card version
|
||||
card.version = 'split';
|
||||
//art bounds
|
||||
card.artBounds = {x:0.158, y:0.0534, width:0.3734, height:0.3886};
|
||||
autoFitArt();
|
||||
//set symbol bounds
|
||||
card.setSymbolBounds = {x:2, y:2, 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 (Right)', text:'', x:0.0847, y:0.4381, width:0.5367, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0, rotation:-90},
|
||||
title: {name:'Title (Right)', text:'', x:0.072, y:0.4381, width:0.5367, height:0.0543, oneLine:true, font:'belerenb', size:0.0381, rotation:-90},
|
||||
type: {name:'Type (Right)', text:'', x:0.55, y:0.4381, width:0.5367, height:0.0286, oneLine:true, font:'belerenb', size:0.0286, rotation:-90},
|
||||
rules: {name:'Rules Text (Right)', text:'', x:0.6087, y:0.4334, width:0.5174, height:0.2443, size:0.0362, rotation:-90},
|
||||
mana2: {name:'Mana Cost (Left)', text:'', x:0.0847, y:0.8943, width:0.5367, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0, rotation:-90},
|
||||
title2: {name:'Title (Left)', text:'', x:0.072, y:0.8943, width:0.5367, height:0.0543, oneLine:true, font:'belerenb', size:0.0381, rotation:-90},
|
||||
type2: {name:'Type (Left)', text:'', x:0.55, y:0.8943, width:0.5367, height:0.0286, oneLine:true, font:'belerenb', size:0.0286, rotation:-90},
|
||||
rules2: {name:'Rules Text (Left)', text:'', x:0.6087, y:0.8896, width:0.5174, height:0.2443, size:0.0362, rotation:-90},
|
||||
});
|
||||
}
|
||||
//loads available frames
|
||||
loadFramePack();
|