kaldheim showcase MDFC
BIN
img/frames/kaldheim/modal/abb.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
img/frames/kaldheim/modal/abbThumb.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
img/frames/kaldheim/modal/abt.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
img/frames/kaldheim/modal/abtThumb.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
img/frames/kaldheim/modal/afb.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
img/frames/kaldheim/modal/afbThumb.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
img/frames/kaldheim/modal/aft.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
img/frames/kaldheim/modal/aftThumb.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
img/frames/kaldheim/modal/bbb.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
img/frames/kaldheim/modal/bbbThumb.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
img/frames/kaldheim/modal/bbt.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
img/frames/kaldheim/modal/bbtThumb.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
img/frames/kaldheim/modal/bfb.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
img/frames/kaldheim/modal/bfbThumb.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
img/frames/kaldheim/modal/bft.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
img/frames/kaldheim/modal/bftThumb.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
img/frames/kaldheim/modal/gbb.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
img/frames/kaldheim/modal/gbbThumb.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
img/frames/kaldheim/modal/gbt.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
img/frames/kaldheim/modal/gbtThumb.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
img/frames/kaldheim/modal/gfb.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
img/frames/kaldheim/modal/gfbThumb.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
img/frames/kaldheim/modal/gft.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
img/frames/kaldheim/modal/gftThumb.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
img/frames/kaldheim/modal/mbb.png
Normal file
After Width: | Height: | Size: 62 KiB |
BIN
img/frames/kaldheim/modal/mbbThumb.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
img/frames/kaldheim/modal/mbt.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
img/frames/kaldheim/modal/mbtThumb.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
img/frames/kaldheim/modal/mfb.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
img/frames/kaldheim/modal/mfbThumb.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
img/frames/kaldheim/modal/mft.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
img/frames/kaldheim/modal/mftThumb.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
img/frames/kaldheim/modal/rbb.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
img/frames/kaldheim/modal/rbbThumb.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
img/frames/kaldheim/modal/rbt.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
img/frames/kaldheim/modal/rbtThumb.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
img/frames/kaldheim/modal/rfb.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
img/frames/kaldheim/modal/rfbThumb.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
img/frames/kaldheim/modal/rft.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
img/frames/kaldheim/modal/rftThumb.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
img/frames/kaldheim/modal/ubb.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
img/frames/kaldheim/modal/ubbThumb.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
img/frames/kaldheim/modal/ubt.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
img/frames/kaldheim/modal/ubtThumb.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
img/frames/kaldheim/modal/ufb.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
img/frames/kaldheim/modal/ufbThumb.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
img/frames/kaldheim/modal/uft.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
img/frames/kaldheim/modal/uftThumb.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
img/frames/kaldheim/modal/wbb.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
img/frames/kaldheim/modal/wbbThumb.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
img/frames/kaldheim/modal/wbt.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
img/frames/kaldheim/modal/wbtThumb.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
img/frames/kaldheim/modal/wfb.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
img/frames/kaldheim/modal/wfbThumb.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
img/frames/kaldheim/modal/wft.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
img/frames/kaldheim/modal/wftThumb.png
Normal file
After Width: | Height: | Size: 27 KiB |
@@ -2,6 +2,8 @@
|
||||
var masks = [{src:'/img/frames/kaldheim/maskDetails.png', name:'Details'}, {src:'/img/frames/kaldheim/maskPinline.png', name:'Pinline'}, {src:'/img/frames/kaldheim/maskTitle.png', name:'Title'}, {src:'/img/frames/kaldheim/maskType.png', name:'Type'}, {src:'/img/frames/kaldheim/maskTextbox.png', name:'Rules'}, {src:'/img/frames/kaldheim/maskBorder.png', name:'Border'}, {src:'/img/frames/kaldheim/maskFrame.png', name:'Frame'}];
|
||||
var masks2 = [{src:'/img/frames/kaldheim/maskPTCorners.png', name:'Corners'}, {src:'/img/frames/kaldheim/maskPTCornersRight.png', name:'Corners (right)'}];
|
||||
var bounds = {x:0.7627, y:0.8853, width:0.188, height:0.0724};
|
||||
var bounds2 = {x:0.02, y:0.0529, width:0.098, height:0.0591};
|
||||
var bounds3 = {x:0.03, y:0.8886, width:0.438, height:0.0429};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Frame', src:'/img/frames/kaldheim/frameW.png', masks:masks},
|
||||
@@ -17,12 +19,41 @@ availableFrames = [
|
||||
{name:'Red Power/Toughness', src:'/img/frames/kaldheim/ptR.png', bounds:bounds, masks:masks2},
|
||||
{name:'Green Power/Toughness', src:'/img/frames/kaldheim/ptG.png', bounds:bounds, masks:masks2},
|
||||
{name:'Multicolored Power/Toughness', src:'/img/frames/kaldheim/ptM.png', bounds:bounds, masks:masks2},
|
||||
{name:'Artifact Power/Toughness', src:'/img/frames/kaldheim/ptA.png', bounds:bounds, masks:masks2}
|
||||
{name:'Artifact Power/Toughness', src:'/img/frames/kaldheim/ptA.png', bounds:bounds, masks:masks2},
|
||||
{name:'White Icon (Front)', src:'/img/frames/kaldheim/modal/wft.png', bounds:bounds2},
|
||||
{name:'Blue Icon (Front)', src:'/img/frames/kaldheim/modal/uft.png', bounds:bounds2},
|
||||
{name:'Black Icon (Front)', src:'/img/frames/kaldheim/modal/bft.png', bounds:bounds2},
|
||||
{name:'Red Icon (Front)', src:'/img/frames/kaldheim/modal/rft.png', bounds:bounds2},
|
||||
{name:'Green Icon (Front)', src:'/img/frames/kaldheim/modal/gft.png', bounds:bounds2},
|
||||
{name:'Multicolored Icon (Front)', src:'/img/frames/kaldheim/modal/mft.png', bounds:bounds2},
|
||||
{name:'Artifact Reminder (Front)', src:'/img/frames/kaldheim/modal/afb.png', bounds:bounds3},
|
||||
{name:'White Reminder (Front)', src:'/img/frames/kaldheim/modal/wfb.png', bounds:bounds3},
|
||||
{name:'Blue Reminder (Front)', src:'/img/frames/kaldheim/modal/ufb.png', bounds:bounds3},
|
||||
{name:'Black Reminder (Front)', src:'/img/frames/kaldheim/modal/bfb.png', bounds:bounds3},
|
||||
{name:'Red Reminder (Front)', src:'/img/frames/kaldheim/modal/rfb.png', bounds:bounds3},
|
||||
{name:'Green Reminder (Front)', src:'/img/frames/kaldheim/modal/gfb.png', bounds:bounds3},
|
||||
{name:'Multicolored Reminder (Front)', src:'/img/frames/kaldheim/modal/mfb.png', bounds:bounds3},
|
||||
{name:'Artifact Reminder (Front)', src:'/img/frames/kaldheim/modal/afb.png', bounds:bounds3},
|
||||
{name:'White Icon (Back)', src:'/img/frames/kaldheim/modal/wbt.png', bounds:bounds2},
|
||||
{name:'Blue Icon (Back)', src:'/img/frames/kaldheim/modal/ubt.png', bounds:bounds2},
|
||||
{name:'Black Icon (Back)', src:'/img/frames/kaldheim/modal/bbt.png', bounds:bounds2},
|
||||
{name:'Red Icon (Back)', src:'/img/frames/kaldheim/modal/rbt.png', bounds:bounds2},
|
||||
{name:'Green Icon (Back)', src:'/img/frames/kaldheim/modal/gbt.png', bounds:bounds2},
|
||||
{name:'Multicolored Icon (Back)', src:'/img/frames/kaldheim/modal/mbt.png', bounds:bounds2},
|
||||
{name:'Artifact Reminder (Back)', src:'/img/frames/kaldheim/modal/abb.png', bounds:bounds3},
|
||||
{name:'White Reminder (Back)', src:'/img/frames/kaldheim/modal/wbb.png', bounds:bounds3},
|
||||
{name:'Blue Reminder (Back)', src:'/img/frames/kaldheim/modal/ubb.png', bounds:bounds3},
|
||||
{name:'Black Reminder (Back)', src:'/img/frames/kaldheim/modal/bbb.png', bounds:bounds3},
|
||||
{name:'Red Reminder (Back)', src:'/img/frames/kaldheim/modal/rbb.png', bounds:bounds3},
|
||||
{name:'Green Reminder (Back)', src:'/img/frames/kaldheim/modal/gbb.png', bounds:bounds3},
|
||||
{name:'Multicolored Reminder (Back)', src:'/img/frames/kaldheim/modal/mbb.png', bounds:bounds3},
|
||||
{name:'Artifact Reminder (Back)', src:'/img/frames/kaldheim/modal/abb.png', bounds:bounds3}
|
||||
];
|
||||
//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() {
|
||||
notify('If you make MDFC cards with this frame, we recommend adding "{right90}" before your card title.', 5)
|
||||
//resets things so that every frame doesn't have to
|
||||
await resetCardIrregularities();
|
||||
//sets card version
|
||||
@@ -42,7 +73,9 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
|
||||
title: {name:'Title', text:'', x:0.0667, y:0.0591, 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.5829, 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.086, y:0.6405, width:0.828, height:0.2739, size:0.0362},
|
||||
pt: {name:'Power/Toughness', text:'', x:0.7954, y:0.9029, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center'}
|
||||
pt: {name:'Power/Toughness', text:'', x:0.7954, y:0.9029, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center'},
|
||||
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', shadowX:0.0014, shadowY:0.001},
|
||||
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', shadowX:0.0014, shadowY:0.001}
|
||||
});
|
||||
}
|
||||
//loads available frames
|
||||
|