Add 2022 (BRO, ONE, MOM) fullart basic frame

This commit is contained in:
Josh birnholz
2023-07-19 16:45:24 -04:00
parent 5103c09e2c
commit c65d48d0c3
35 changed files with 47 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@@ -168,6 +168,7 @@ const frameNames = new Map ([
['Promo Generic Showcase', 'PromoGenericShowcase'],
//textless
['Kamigawa Basics (NEO)', 'NeoBasics'],
['Fullart Basics (2022)', 'TextlessBasics2022'],
['Fullart Basics (SNC)', 'TextlessBasicsSNC'],
['Fullart Basics (THB)', 'TextlessBasics'],
['Fullart Basics (ZEN)', 'ZendikarBasic-1'],

View File

@@ -1,6 +1,7 @@
loadFramePacks([
{name:'Basic Lands', value:'disabled'},
{name:'Kamigawa Basics (NEO)', value:'NeoBasics'},
{name:'Fullart Basics (2022)', value:'TextlessBasics2022'},
{name:'Fullart Basics (SNC)', value:'TextlessBasicsSNC'},
{name:'Fullart Basics (THB)', value:'TextlessBasics'},
{name:'Fullart Basics (ZEN)', value:'ZendikarBasic-1'},

View File

@@ -0,0 +1,45 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/textless/2022/maskPinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/textless/2022/maskType.png', name:'Type'}, {src:'/img/frames/textless/2022/maskBorder.png', name:'Border'}];
var bounds = {x:62/1500, y:1752/2100, width:168/1500, height:168/2100};
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/textless/2022/w.png', masks:masks},
{name:'Blue Frame', src:'/img/frames/textless/2022/u.png', masks:masks},
{name:'Black Frame', src:'/img/frames/textless/2022/b.png', masks:masks},
{name:'Red Frame', src:'/img/frames/textless/2022/r.png', masks:masks},
{name:'Green Frame', src:'/img/frames/textless/2022/g.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/textless/2022/m.png', masks:masks},
{name:'Colorless Frame', src:'/img/frames/textless/2022/l.png', masks:masks},
{name:'White Mana Symbol', src:'/img/frames/textless/2022/sw.png', bounds:bounds},
{name:'Blue Mana Symbol', src:'/img/frames/textless/2022/su.png', bounds:bounds},
{name:'Black Mana Symbol', src:'/img/frames/textless/2022/sb.png', bounds:bounds},
{name:'Red Mana Symbol', src:'/img/frames/textless/2022/sr.png', bounds:bounds},
{name:'Green Mana Symbol', src:'/img/frames/textless/2022/sg.png', bounds:bounds},
{name:'Colorless Mana Symbol', src:'/img/frames/textless/2022/sc.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 = 'textlessBasics2022';
//art bounds
card.artBounds = {x:0.0394, y:0.0281, width:0.9214, height:0.8929};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9213, y:0.8739, 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', text:'', x:283/1500, y:0.8481, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324}
});
}
//loads available frames
loadFramePack();