Add 2022 (BRO, ONE, MOM) fullart basic frame
BIN
img/frames/textless/2022/b.png
Normal file
After Width: | Height: | Size: 330 KiB |
BIN
img/frames/textless/2022/bThumb.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
img/frames/textless/2022/g.png
Normal file
After Width: | Height: | Size: 312 KiB |
BIN
img/frames/textless/2022/gThumb.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
img/frames/textless/2022/l.png
Normal file
After Width: | Height: | Size: 203 KiB |
BIN
img/frames/textless/2022/lThumb.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
img/frames/textless/2022/m.png
Normal file
After Width: | Height: | Size: 250 KiB |
BIN
img/frames/textless/2022/mThumb.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
img/frames/textless/2022/maskBorder.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
img/frames/textless/2022/maskBorderThumb.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
img/frames/textless/2022/maskPinline.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
img/frames/textless/2022/maskPinlineThumb.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
img/frames/textless/2022/maskType.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
img/frames/textless/2022/maskTypeThumb.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
img/frames/textless/2022/r.png
Normal file
After Width: | Height: | Size: 284 KiB |
BIN
img/frames/textless/2022/rThumb.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
img/frames/textless/2022/sb.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
img/frames/textless/2022/sbThumb.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
img/frames/textless/2022/sc.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
img/frames/textless/2022/scThumb.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
img/frames/textless/2022/sg.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
img/frames/textless/2022/sgThumb.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
img/frames/textless/2022/sr.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/frames/textless/2022/srThumb.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
img/frames/textless/2022/su.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
img/frames/textless/2022/suThumb.png
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
img/frames/textless/2022/sw.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
img/frames/textless/2022/swThumb.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
img/frames/textless/2022/u.png
Normal file
After Width: | Height: | Size: 223 KiB |
BIN
img/frames/textless/2022/uThumb.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
img/frames/textless/2022/w.png
Normal file
After Width: | Height: | Size: 228 KiB |
BIN
img/frames/textless/2022/wThumb.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
@@ -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'],
|
||||
|
@@ -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'},
|
||||
|
45
js/frames/packTextlessBasics2022.js
Normal 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();
|