feuer ameise's kaldheim template (fullart)
BIN
img/frames/custom/feuerAmeise/kaldheim/a.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/aThumb.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/b.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/bThumb.png
Normal file
After Width: | Height: | Size: 16 KiB |
13
img/frames/custom/feuerAmeise/kaldheim/background.svg
Normal file
After Width: | Height: | Size: 155 KiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/backgroundThumb.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/g.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/gThumb.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/l.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/lThumb.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/m.png
Normal file
After Width: | Height: | Size: 1.6 MiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/mThumb.png
Normal file
After Width: | Height: | Size: 20 KiB |
7
img/frames/custom/feuerAmeise/kaldheim/pinline.svg
Normal file
After Width: | Height: | Size: 28 KiB |
8
img/frames/custom/feuerAmeise/kaldheim/pinline2.svg
Normal file
After Width: | Height: | Size: 186 KiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/pinline2Thumb.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/pinlineThumb.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/r.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/rThumb.png
Normal file
After Width: | Height: | Size: 20 KiB |
8
img/frames/custom/feuerAmeise/kaldheim/textbox.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;">
|
||||
<path id="Textbox" d="M1341.36,1121.32L158.604,1121.32L158.516,1170.32L166.733,1183.56L166.229,1311.77L156.604,1315.63C156.604,1315.63 154.584,1514.88 371.181,1707.59C442.368,1770.92 510.978,1804.82 584.45,1825.27C595.624,1828.38 612.322,1810.12 612.322,1810.12C612.322,1810.12 649.388,1824.42 670.601,1827.42C693.435,1830.65 749.326,1829.49 749.326,1829.49L749.96,1829.53L750.633,1829.49C750.633,1829.49 806.524,1830.64 829.358,1827.42C850.571,1824.42 887.637,1810.12 887.637,1810.12C887.637,1810.12 904.335,1828.38 915.509,1825.27C988.981,1804.82 1057.59,1770.92 1128.78,1707.58C1345.38,1514.88 1343.36,1315.63 1343.36,1315.63L1333.73,1311.77L1333.23,1183.56L1341.44,1170.32L1341.36,1121.32Z" style="fill:url(#_Linear1);"/>
|
||||
<defs>
|
||||
<linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(4.34137e-14,709,-495.308,3.03289e-14,750,1121)"><stop offset="0" style="stop-color:black;stop-opacity:0"/><stop offset="0.18" style="stop-color:black;stop-opacity:0.16"/><stop offset="0.38" style="stop-color:black;stop-opacity:0.31"/><stop offset="1" style="stop-color:black;stop-opacity:0.38"/></linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.6 KiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/textboxThumb.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/u.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/uThumb.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/w.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
img/frames/custom/feuerAmeise/kaldheim/wThumb.png
Normal file
After Width: | Height: | Size: 20 KiB |
@@ -966,7 +966,7 @@ function writeText(textObject, targetContext) {
|
||||
currentX = savedTextXPosition;
|
||||
}
|
||||
} else if (possibleCode.includes('ptshift')) {
|
||||
if (card.frames.findIndex(element => element.name.toLowerCase().includes('power/toughness')) >= 0 || card.version.includes('planeswalker') || ['commanderLegends', 'm21', 'mysticalArchive', 'customDualLands'].includes(card.version)) {
|
||||
if (card.frames.findIndex(element => element.name.toLowerCase().includes('power/toughness')) >= 0 || card.version.includes('planeswalker') || ['commanderLegends', 'm21', 'mysticalArchive', 'customDualLands', 'feuerAmeiseKaldheim'].includes(card.version)) {
|
||||
ptShift[0] = scaleWidth(parseFloat(possibleCode.replace('ptshift', '').split(',')[0]));
|
||||
ptShift[1] = scaleHeight(parseFloat(possibleCode.split(',')[1]));
|
||||
}
|
||||
|
@@ -15,5 +15,6 @@ loadFramePacks([
|
||||
{name:'Custom Community Frames', value:'disabled'},
|
||||
{name:'Cartoony - Sheepwave', value:'Cartoony'},
|
||||
{name:'Neon - Elry', value:'CustomNeon'},
|
||||
{name:'Ixalan - @feuer_ameise', value:'FeuerAmeiseIxalan'}
|
||||
{name:'Ixalan - @feuer_ameise', value:'FeuerAmeiseIxalan'},
|
||||
{name:'Kaldheim, Fullart - @feuer_ameise', value:'FeuerAmeiseKaldheim'}
|
||||
])
|
41
js/frames/packFeuerAmeiseKaldheim.js
Normal file
@@ -0,0 +1,41 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [{src:'/img/frames/custom/feuerAmeise/kaldheim/pinline.svg', name:'Pinline'}, {src:'/img/frames/custom/feuerAmeise/kaldheim/pinline2.svg', name:'Pinline (Light)'}, {src:'/img/frames/custom/feuerAmeise/kaldheim/background.svg', name:'Background'}];
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Frame', src:'/img/frames/custom/feuerAmeise/kaldheim/w.png', masks:masks},
|
||||
{name:'Blue Frame', src:'/img/frames/custom/feuerAmeise/kaldheim/u.png', masks:masks},
|
||||
{name:'Black Frame', src:'/img/frames/custom/feuerAmeise/kaldheim/b.png', masks:masks},
|
||||
{name:'Red Frame', src:'/img/frames/custom/feuerAmeise/kaldheim/r.png', masks:masks},
|
||||
{name:'Green Frame', src:'/img/frames/custom/feuerAmeise/kaldheim/g.png', masks:masks},
|
||||
{name:'Multicolored Frame', src:'/img/frames/custom/feuerAmeise/kaldheim/m.png', masks:masks},
|
||||
{name:'Artifact Frame', src:'/img/frames/custom/feuerAmeise/kaldheim/a.png', masks:masks},
|
||||
{name:'Land Frame', src:'/img/frames/custom/feuerAmeise/kaldheim/l.png', masks:masks},
|
||||
{name:'Textbox', src:'/img/frames/custom/feuerAmeise/kaldheim/textbox.svg'}
|
||||
];
|
||||
//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 = 'feuerAmeiseKaldheim';
|
||||
//art bounds
|
||||
card.artBounds = {x:0.104, y:0.1043, width:0.792, height:0.7677};
|
||||
autoFitArt();
|
||||
//set symbol bounds
|
||||
card.setSymbolBounds = {x:0.9213, y:0.9, width:0.12, height:0.04, vertical:'center', horizontal: 'right'};
|
||||
resetSetSymbol();
|
||||
//watermark bounds
|
||||
card.watermarkBounds = {x:-2, y:-2, width:0.75, height:0.2305};
|
||||
resetWatermark();
|
||||
//text
|
||||
loadTextOptions({
|
||||
mana: {name:'Mana Cost', text:'', y:0.0591, 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.0667, y:0.0491, width:0.8667, height:0.0543, oneLine:true, font:'belerenb', color:'white', size:0.0381, shadowX:0.0027, shadowY:0.002},
|
||||
type: {name:'Type', text:'', x:0.0734, y:0.8762, width:0.8534, height:0.0543, oneLine:true, font:'belerenb', color:'white', size:0.0324, shadowX:0.0027, shadowY:0.002},
|
||||
rules: {name:'Rules Text', text:'', x:0.12, y:0.6158, width:0.76, height:0.24, size:0.0362, color:'white', align:'center', shadowX:0.002, shadowY:0.0015}
|
||||
});
|
||||
}
|
||||
//loads available frames
|
||||
loadFramePack();
|