neo neon short (custom)

This commit is contained in:
Kyle
2022-06-26 10:52:51 -07:00
parent e654ff18d7
commit d7876f948f
21 changed files with 62 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 851 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1 @@
<?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;"><g id="Masks"><path id="frame-mask" serif:id="frame mask" d="M749.227,1911.97c-32.713,-1.149 -62.777,13.6 -91.227,38.03l-472,0l-8,-10l-51,0l-52,-75l0,-351l-30,-55l27,-39l151,0l37.89,37.89l-125.89,4.11l-19,29l0,381l21,30l64,0l15,21l441,0l17,-14l152,0l17,14l441,0l15,-21l64,0l21,-30l0,-381l-19,-29l-125.89,-4.11l37.89,-37.89l151,0l27,39l-30,55l0,351l-52,75l-51,0l-8,10l-472,0c-28.674,-24.622 -58.987,-39.41 -92,-38l-0.773,-0.03Zm-356.227,-1665.97l-31,23l-214,0l-9,-22l-45,0l-14,-39c198.692,6.891 421.879,8.583 670,8l11.612,0.026c243.467,0.503 462.796,-1.243 658.388,-8.026l-14,39l-45,0l-9,22l-214,0l-31,-23l-714,0Zm-296,-108l-1,-9c0,0 -4.603,0.139 -7,-2c-2.157,-1.925 -2,-4 -2,-4l-7,-1l-5,-20l-8,-2l-19,-54c168.82,22.46 412.689,31.725 702,33l6.773,-0.031c286.369,-1.389 529.724,-10.684 697.227,-32.969l-19,54l-8,2l-5,20l-9,1c0,0 0.157,2.075 -2,4c-2.397,2.139 -7,2 -7,2l-1,9l-653,-1l-653,1Z" style="fill:#007b43;"/></g></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -167,6 +167,7 @@ const frameNames = new Map ([
['Classicshifted MDFC Addons', 'ClassicshiftedDFC'], ['Classicshifted MDFC Addons', 'ClassicshiftedDFC'],
['Classicshifted Transform Addons', 'ClassicshiftedTransform'], ['Classicshifted Transform Addons', 'ClassicshiftedTransform'],
['Classicshifted Color Identity Pips', 'ClassicshiftedCIPips'], ['Classicshifted Color Identity Pips', 'ClassicshiftedCIPips'],
['Short Neon (NEO)', 'NEONeonShort'],
['Colored Golden Age (SNC)', 'SNCGildedColored'], ['Colored Golden Age (SNC)', 'SNCGildedColored'],
['Textless Golden Age (SNC)', 'SNCGildedTextless'], ['Textless Golden Age (SNC)', 'SNCGildedTextless'],
['Textless Equinox (MID)', 'EquinoxTextless'], ['Textless Equinox (MID)', 'EquinoxTextless'],

View File

@@ -18,6 +18,7 @@ loadFramePacks([
{name:'Classicshifted Transform Addons', value:'ClassicshiftedTransform'}, {name:'Classicshifted Transform Addons', value:'ClassicshiftedTransform'},
{name:'Color Identity Pips', value:'ClassicshiftedCIPips'}, {name:'Color Identity Pips', value:'ClassicshiftedCIPips'},
{name:'Showcase Frame Varients', value:'disabled'}, {name:'Showcase Frame Varients', value:'disabled'},
{name:'Short Neon (NEO)', value:'NEONeonShort'},
{name:'Colored Golden Age (SNC)', value:'SNCGildedColored'}, {name:'Colored Golden Age (SNC)', value:'SNCGildedColored'},
{name:'Textless Golden Age (SNC)', value:'SNCGildedTextless'}, {name:'Textless Golden Age (SNC)', value:'SNCGildedTextless'},
{name:'Textless Equinox (MID)', value:'EquinoxTextless'}, {name:'Textless Equinox (MID)', value:'EquinoxTextless'},

View File

@@ -0,0 +1,59 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/neo/neon/short/frame.svg', name:'Frame'}];
var bounds = {x:0.7627, y:0.8886, width:0.1967, height:0.06};
var bounds2 = {x:0.1567, y:0.021, width:0.6867, height:0.0486};
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/neo/neon/short/w.png', masks:masks},
{name:'Blue Frame', src:'/img/frames/neo/neon/short/u.png', masks:masks},
{name:'Black Frame', src:'/img/frames/neo/neon/short/b.png', masks:masks},
{name:'Red Frame', src:'/img/frames/neo/neon/short/r.png', masks:masks},
{name:'Green Frame', src:'/img/frames/neo/neon/short/g.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/neo/neon/short/m.png', masks:masks},
{name:'Artifact Frame', src:'/img/frames/neo/neon/short/a.png', masks:masks},
{name:'Vehicle Frame', src:'/img/frames/neo/neon/short/v.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/neo/neon/pt/w.png', bounds:bounds},
{name:'Blue Power/Toughness', src:'/img/frames/neo/neon/pt/u.png', bounds:bounds},
{name:'Black Power/Toughness', src:'/img/frames/neo/neon/pt/b.png', bounds:bounds},
{name:'Red Power/Toughness', src:'/img/frames/neo/neon/pt/r.png', bounds:bounds},
{name:'Green Power/Toughness', src:'/img/frames/neo/neon/pt/g.png', bounds:bounds},
{name:'Multicolored Power/Toughness', src:'/img/frames/neo/neon/pt/m.png', bounds:bounds},
{name:'Artifact Power/Toughness', src:'/img/frames/neo/neon/pt/a.png', bounds:bounds},
{name:'Vehicle Power/Toughness', src:'/img/frames/neo/neon/pt/v.png', bounds:bounds},
{name:'White Legend Crown', src:'/img/frames/neo/neon/crown/w.png', bounds:bounds2},
{name:'Blue Legend Crown', src:'/img/frames/neo/neon/crown/u.png', bounds:bounds2},
{name:'Black Legend Crown', src:'/img/frames/neo/neon/crown/b.png', bounds:bounds2},
{name:'Red Legend Crown', src:'/img/frames/neo/neon/crown/r.png', bounds:bounds2},
{name:'Green Legend Crown', src:'/img/frames/neo/neon/crown/g.png', bounds:bounds2},
{name:'Multicolored Legend Crown', src:'/img/frames/neo/neon/crown/m.png', bounds:bounds2},
{name:'Artifact Legend Crown', src:'/img/frames/neo/neon/crown/a.png', bounds:bounds2},
{name:'Rare Stamp', src:'/img/frames/neo/stamp.png', bounds:{x:0.4554, y:0.9172, width:0.0894, height:0.0320}}
];
//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 = 'neoNeonShort';
//art bounds
card.artBounds = {x:0.0367, y:0.0643, width:0.9267, height:0.8548};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9213, y:0.7272, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:0.5, y:0.8415, width:0.75, height:0.1115};
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, color:'white'},
type: {name:'Type', text:'', x:0.0854, y:0.7024, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, color:'white'},
rules: {name:'Rules Text', text:'', x:0.086, y:0.7572, width:0.828, height:0.1543, size:0.0362, color:'white'},
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', color:'white'}
});
}
//loads available frames
loadFramePack();