universes beyond

This commit is contained in:
Kyle
2021-12-14 14:25:47 -08:00
parent 8d017b648e
commit 986cb1a181
23 changed files with 62 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1500" height="2100" viewBox="0 0 1500 2100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<path d="M100,227.214C88.364,213.833 78.412,189.278 78,161C78.481,127.948 91.996,99.984 106,89L1394,89C1408,99.984 1421.52,127.948 1422,161C1421.59,189.279 1411.64,213.834 1400,227.214L1400,1175.79C1411.64,1189.17 1421.59,1213.72 1422,1242C1421.59,1270.28 1411.64,1294.83 1400,1308.21L1400,1948L816.266,1948L837,1909L663,1909L683.734,1948L100,1948L100,1308.21C88.364,1294.83 78.412,1270.28 78,1242C78.412,1213.72 88.364,1189.17 100,1175.79L100,227.214ZM1389,1314L1389,1937L834.572,1937L855.306,1898L644.694,1898L665.428,1937L111,1937L111,1314L1389,1314ZM1388.24,1181.01C1389.44,1181.08 1390.56,1181.69 1391.26,1182.68C1405.33,1202.45 1410.29,1222.23 1410.29,1242C1410.29,1261.77 1405.33,1281.55 1391.26,1301.32C1390.51,1302.37 1389.29,1303 1388,1303L112,1303C110.706,1303 109.492,1302.37 108.741,1301.32C94.667,1281.55 89.714,1261.77 89.714,1242C89.714,1222.23 94.667,1202.45 108.741,1182.68C109.492,1181.63 110.706,1181 112,1181L1388,1181L1388.24,1181.01ZM111,233L111,1170L1389,1170L1389,233L111,233ZM112,100L1388,100C1389.29,100 1390.51,100.626 1391.26,101.68C1405.33,121.453 1410.29,141.227 1410.29,161C1410.29,180.773 1405.33,200.547 1391.26,220.32C1390.51,221.374 1389.29,222 1388,222L112,222C110.706,222 109.492,221.374 108.741,220.32C94.667,200.547 89.714,180.773 89.714,161C89.714,141.227 94.667,121.453 108.741,101.68C109.492,100.626 110.706,100 112,100Z" style="fill:rgb(0,123,67);"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1500" height="2100" viewBox="0 0 1500 2100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<path id="Textbox" d="M665.428,1937L111,1937L111,1314L1389,1314L1389,1937L834.572,1937L855.306,1898L644.694,1898L665.428,1937Z" style="fill:rgb(0,117,190);"/>
</svg>

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -24,6 +24,7 @@ loadFramePacks([
{name:'Extended Art (Regular)', value:'M15BoxTopper'},
{name:'Extended Art (Shorter Textbox)', value:'M15ExtendedArtShort'},
{name:'FNM Promo (Inverted Promos)', value:'FNM'},
{name:'Universes Beyond', value:'UB'},
{name:'Masterpieces/Other', value:'disabled'},
{name:'ZNR Expeditions (2020)', value:'ExpeditionZNR-1'},
{name:'Signature Spellbook (Jace/Gideon)', value:'SignatureSpellbook'},

50
js/frames/packUB.js Normal file
View File

@@ -0,0 +1,50 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/m15/ub/regular/pinline.svg', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/m15/regular/m15MaskType.png', name:'Type'}, {src:'/img/frames/m15/ub/regular/rules.svg', name:'Rules'}, {src:'/img/frames/m15/regular/m15MaskFrame.png', name:'Frame'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Border'}];
var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/m15/ub/regular/w.png', masks:masks},
{name:'Blue Frame', src:'/img/frames/m15/ub/regular/u.png', masks:masks},
{name:'Black Frame', src:'/img/frames/m15/ub/regular/b.png', masks:masks},
{name:'Red Frame', src:'/img/frames/m15/ub/regular/r.png', masks:masks},
{name:'Green Frame', src:'/img/frames/m15/ub/regular/g.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/m15/ub/regular/m.png', masks:masks},
{name:'Artifact Frame', src:'/img/frames/m15/ub/regular/a.png', masks:masks},
{name:'Land Frame', src:'/img/frames/m15/ub/regular/l.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/m15/regular/m15PTW.png', bounds:bounds},
{name:'Blue Power/Toughness', src:'/img/frames/m15/regular/m15PTU.png', bounds:bounds},
{name:'Black Power/Toughness', src:'/img/frames/m15/regular/m15PTB.png', bounds:bounds},
{name:'Red Power/Toughness', src:'/img/frames/m15/regular/m15PTR.png', bounds:bounds},
{name:'Green Power/Toughness', src:'/img/frames/m15/regular/m15PTG.png', bounds:bounds},
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/regular/m15PTM.png', bounds:bounds},
{name:'Artifact Power/Toughness', src:'/img/frames/m15/regular/m15PTA.png', bounds:bounds},
{name:'Colorless Power/Toughness', src:'/img/frames/m15/regular/m15PTC.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 = 'ubRegular';
//art bounds
card.artBounds = {x:0.0767, y:0.1129, width:0.8476, height:0.4429};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9213, y:0.5910, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305};
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:0.0854, y:0.5664, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324},
rules: {name:'Rules Text', text:'', x:0.086, y:0.6303, width:0.828, height:0.2875, size:0.0362},
pt: {name:'Power/Toughness', text:'', x:0.7928, y:0.902, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center'}
});
}
//loads available frames
loadFramePack();

View File

@@ -20,7 +20,7 @@ include('../globalHTML/header-1.php');
<br><br>We are neither affiliated with, sponsored by, nor endorsed by Legend Story Studios. Fonts, icons, card images, and other related images are trademarks and copyrights of Legend Story Studios.
<br><br>We are neither affiliated with, sponsored by, nor endorsed by Scryfall LLC.
<br><br>All user-uploaded material is property of the original artist, and it is the user's responsibility to ensure that these materials are properly credited.
<br><br>Some card frame images, or elements used therein, were sourced from <a target="_blank" href="https://www.reddit.com/user/Chilli_Axe/">Chilli_Axe</a>, Kentu, thevodkaboy, Timmy XD69, noSpace, <a target='blank' href='https://twitter.com/sheepycutie'>Sheepwave</a>, <a target='blank' href='https://twitter.com/feuer_ameise'>FeuerAmeise</a>, <a target='blank' href='https://www.reddit.com/user/Smyris'>Smyris</a>, <a target='blank' href='https://twitter.com/vote_checkbox'>Checkbox</a> and TheGnomeRobotic.
<br><br>Some card frame images, or elements used therein, were sourced from <a target="_blank" href="https://www.reddit.com/user/Chilli_Axe/">Chilli_Axe</a>, Kentu, thevodkaboy, Timmy XD69, <a target='blank' href='https://twitter.com/sheepycutie'>Sheepwave</a>, <a target='blank' href='https://twitter.com/feuer_ameise'>FeuerAmeise</a>, <a target='blank' href='https://www.reddit.com/user/Smyris'>Smyris</a>, <a target='blank' href='https://twitter.com/vote_checkbox'>Checkbox</a> and TheGnomeRobotic.
<br><br>All other content Copyright © 2020 Card Conjurer.
</h5>
</div>