Add Universes Beyond fullart frame
BIN
img/frames/textless/2022/ub/b.png
Normal file
After Width: | Height: | Size: 167 KiB |
BIN
img/frames/textless/2022/ub/bThumb.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
img/frames/textless/2022/ub/g.png
Normal file
After Width: | Height: | Size: 183 KiB |
BIN
img/frames/textless/2022/ub/gThumb.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
img/frames/textless/2022/ub/grayStamp.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
img/frames/textless/2022/ub/grayStampThumb.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
img/frames/textless/2022/ub/l.png
Normal file
After Width: | Height: | Size: 157 KiB |
BIN
img/frames/textless/2022/ub/lThumb.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
img/frames/textless/2022/ub/m.png
Normal file
After Width: | Height: | Size: 161 KiB |
BIN
img/frames/textless/2022/ub/mThumb.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
img/frames/textless/2022/ub/r.png
Normal file
After Width: | Height: | Size: 172 KiB |
BIN
img/frames/textless/2022/ub/rThumb.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
img/frames/textless/2022/ub/stamp.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
img/frames/textless/2022/ub/stampThumb.png
Normal file
After Width: | Height: | Size: 9.4 KiB |
BIN
img/frames/textless/2022/ub/u.png
Normal file
After Width: | Height: | Size: 156 KiB |
BIN
img/frames/textless/2022/ub/uThumb.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
img/frames/textless/2022/ub/w.png
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
img/frames/textless/2022/ub/wThumb.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
@@ -169,6 +169,7 @@ const frameNames = new Map ([
|
|||||||
//textless
|
//textless
|
||||||
['Kamigawa Basics (NEO)', 'NeoBasics'],
|
['Kamigawa Basics (NEO)', 'NeoBasics'],
|
||||||
['Fullart Basics (2022)', 'TextlessBasics2022'],
|
['Fullart Basics (2022)', 'TextlessBasics2022'],
|
||||||
|
['Fullart Basics (Universes Beyond)', 'TextlessBasics2022UB'],
|
||||||
['Fullart Basics (SNC)', 'TextlessBasicsSNC'],
|
['Fullart Basics (SNC)', 'TextlessBasicsSNC'],
|
||||||
['Fullart Basics (THB)', 'TextlessBasics'],
|
['Fullart Basics (THB)', 'TextlessBasics'],
|
||||||
['Fullart Basics (ZEN)', 'ZendikarBasic-1'],
|
['Fullart Basics (ZEN)', 'ZendikarBasic-1'],
|
||||||
|
@@ -2,6 +2,7 @@ loadFramePacks([
|
|||||||
{name:'Basic Lands', value:'disabled'},
|
{name:'Basic Lands', value:'disabled'},
|
||||||
{name:'Kamigawa Basics (NEO)', value:'NeoBasics'},
|
{name:'Kamigawa Basics (NEO)', value:'NeoBasics'},
|
||||||
{name:'Fullart Basics (2022)', value:'TextlessBasics2022'},
|
{name:'Fullart Basics (2022)', value:'TextlessBasics2022'},
|
||||||
|
{name:'Fullart Basics (Universes Beyond)', value:'TextlessBasics2022UB'},
|
||||||
{name:'Fullart Basics (SNC)', value:'TextlessBasicsSNC'},
|
{name:'Fullart Basics (SNC)', value:'TextlessBasicsSNC'},
|
||||||
{name:'Fullart Basics (THB)', value:'TextlessBasics'},
|
{name:'Fullart Basics (THB)', value:'TextlessBasics'},
|
||||||
{name:'Fullart Basics (ZEN)', value:'ZendikarBasic-1'},
|
{name:'Fullart Basics (ZEN)', value:'ZendikarBasic-1'},
|
||||||
|
48
js/frames/packTextlessBasics2022UB.js
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
//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};
|
||||||
|
var stampBounds = {x:657/1500, y:1907/2100, width:186/1500, height:82/2100};
|
||||||
|
//defines available frames
|
||||||
|
availableFrames = [
|
||||||
|
{name:'White Frame', src:'/img/frames/textless/2022/ub/w.png', masks:masks},
|
||||||
|
{name:'Blue Frame', src:'/img/frames/textless/2022/ub/u.png', masks:masks},
|
||||||
|
{name:'Black Frame', src:'/img/frames/textless/2022/ub/b.png', masks:masks},
|
||||||
|
{name:'Red Frame', src:'/img/frames/textless/2022/ub/r.png', masks:masks},
|
||||||
|
{name:'Green Frame', src:'/img/frames/textless/2022/ub/g.png', masks:masks},
|
||||||
|
{name:'Multicolored Frame', src:'/img/frames/textless/2022/ub/m.png', masks:masks},
|
||||||
|
{name:'Colorless Frame', src:'/img/frames/textless/2022/ub/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},
|
||||||
|
{name:'Gold Holo Stamp', src:'/img/frames/textless/2022/ub/stamp.png', bounds:stampBounds},
|
||||||
|
{name:'Gray Holo Stamp', src:'/img/frames/textless/2022/ub/grayStamp.png', bounds:stampBounds}
|
||||||
|
];
|
||||||
|
//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 = 'textlessBasics2022UB';
|
||||||
|
//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();
|