zendikar basics

This commit is contained in:
Kyle
2021-01-27 11:09:47 -08:00
parent 99b6319ece
commit 11b2a6ff90
35 changed files with 98 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ include('../globalHTML/header-1.php');
<option disabled>Special Frames</option> <option disabled>Special Frames</option>
<option value='Showcase-1'>Showcase Frames</option> <option value='Showcase-1'>Showcase Frames</option>
<option value='Promo'>Promos (Tall Art)</option> <option value='Promo'>Promos (Tall Art)</option>
<option value='Textless'>Textless/Fullart</option> <option value='Textless-1'>Textless/Fullart</option>
<option value='Modal'>Short Modal DFC's</option> <option value='Modal'>Short Modal DFC's</option>
<option disabled>Other Frames</option> <option disabled>Other Frames</option>
<option value='Custom'>Custom</option> <option value='Custom'>Custom</option>

Binary file not shown.

After

Width:  |  Height:  |  Size: 877 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 880 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 928 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 595 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -2,6 +2,7 @@ loadFramePacks([
{name:'Generic Showcase', value:'TextlessGenericShowcase'}, {name:'Generic Showcase', value:'TextlessGenericShowcase'},
{name:'Inventions', value:'TextlessInvention'}, {name:'Inventions', value:'TextlessInvention'},
{name:'Unstable Basics', value:'Unstable'}, {name:'Unstable Basics', value:'Unstable'},
{name:'Zendikar Basics', value:'ZendikarBasic'},
{name:'Seventh', value:'SeventhTextless'}, {name:'Seventh', value:'SeventhTextless'},
{name:'Addons', value:'disabled'}, {name:'Addons', value:'disabled'},
{name:'Legend Crowns', value:'M15LegendCrowns'}, {name:'Legend Crowns', value:'M15LegendCrowns'},

View File

@@ -0,0 +1,46 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/textless/zendikar/pinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/textless/zendikar/type.png', name:'Type'}, {src:'/img/frames/textless/zendikar/frame.png', name:'Frame'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Border'}];
var bounds = {x:0.42, y:0.7867, width:0.16, height:0.1143};
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/textless/zendikar/w.png', masks:masks},
{name:'Blue Frame', src:'/img/frames/textless/zendikar/u.png', masks:masks},
{name:'Black Frame', src:'/img/frames/textless/zendikar/b.png', masks:masks},
{name:'Red Frame', src:'/img/frames/textless/zendikar/r.png', masks:masks},
{name:'Green Frame', src:'/img/frames/textless/zendikar/g.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/textless/zendikar/m.png', masks:masks},
{name:'Colorless Frame', src:'/img/frames/textless/zendikar/l.png', masks:masks},
{name:'White Mana Symbol', src:'/img/frames/textless/zendikar/sw.svg', bounds:bounds},
{name:'Blue Mana Symbol', src:'/img/frames/textless/zendikar/su.svg', bounds:bounds},
{name:'Black Mana Symbol', src:'/img/frames/textless/zendikar/sb.svg', bounds:bounds},
{name:'Red Mana Symbol', src:'/img/frames/textless/zendikar/sr.svg', bounds:bounds},
{name:'Green Mana Symbol', src:'/img/frames/textless/zendikar/sg.svg', bounds:bounds},
{name:'Colorless Mana Symbol', src:'/img/frames/textless/zendikar/sc.svg', 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 = 'zendikarBasic';
//art bounds
card.artBounds = {x:0, y:0, width:1, height:0.9224};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9213, y:0.8439, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:-1, y:-1, width:0.0007, height:0.0005};
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.0854, y:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381},
type: {name:'Type (Left)', text:'', x:0.0854, y:0.8196, width:0.3347, height:0.0543, oneLine:true, font:'belerenb', size:0.0324},
typeright: {name:'Type (Right)', text:'', x:0.58, y:0.8196, width:0.28, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, align:'center'}
});
}
//loads available frames
loadFramePack();