diff --git a/img/frames/neo/neon/short/a.png b/img/frames/neo/neon/short/a.png new file mode 100644 index 00000000..6f5a8a7e Binary files /dev/null and b/img/frames/neo/neon/short/a.png differ diff --git a/img/frames/neo/neon/short/aThumb.png b/img/frames/neo/neon/short/aThumb.png new file mode 100644 index 00000000..5bedb25e Binary files /dev/null and b/img/frames/neo/neon/short/aThumb.png differ diff --git a/img/frames/neo/neon/short/b.png b/img/frames/neo/neon/short/b.png new file mode 100644 index 00000000..711399f8 Binary files /dev/null and b/img/frames/neo/neon/short/b.png differ diff --git a/img/frames/neo/neon/short/bThumb.png b/img/frames/neo/neon/short/bThumb.png new file mode 100644 index 00000000..a098e853 Binary files /dev/null and b/img/frames/neo/neon/short/bThumb.png differ diff --git a/img/frames/neo/neon/short/frame.svg b/img/frames/neo/neon/short/frame.svg new file mode 100644 index 00000000..b1d2bf66 --- /dev/null +++ b/img/frames/neo/neon/short/frame.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/frames/neo/neon/short/frameThumb.png b/img/frames/neo/neon/short/frameThumb.png new file mode 100644 index 00000000..61c8dce9 Binary files /dev/null and b/img/frames/neo/neon/short/frameThumb.png differ diff --git a/img/frames/neo/neon/short/g.png b/img/frames/neo/neon/short/g.png new file mode 100644 index 00000000..5ee9935f Binary files /dev/null and b/img/frames/neo/neon/short/g.png differ diff --git a/img/frames/neo/neon/short/gThumb.png b/img/frames/neo/neon/short/gThumb.png new file mode 100644 index 00000000..bbd538a8 Binary files /dev/null and b/img/frames/neo/neon/short/gThumb.png differ diff --git a/img/frames/neo/neon/short/m.png b/img/frames/neo/neon/short/m.png new file mode 100644 index 00000000..3acf8806 Binary files /dev/null and b/img/frames/neo/neon/short/m.png differ diff --git a/img/frames/neo/neon/short/mThumb.png b/img/frames/neo/neon/short/mThumb.png new file mode 100644 index 00000000..4703bab4 Binary files /dev/null and b/img/frames/neo/neon/short/mThumb.png differ diff --git a/img/frames/neo/neon/short/r.png b/img/frames/neo/neon/short/r.png new file mode 100644 index 00000000..8ef3ee5a Binary files /dev/null and b/img/frames/neo/neon/short/r.png differ diff --git a/img/frames/neo/neon/short/rThumb.png b/img/frames/neo/neon/short/rThumb.png new file mode 100644 index 00000000..a1aabe2b Binary files /dev/null and b/img/frames/neo/neon/short/rThumb.png differ diff --git a/img/frames/neo/neon/short/u.png b/img/frames/neo/neon/short/u.png new file mode 100644 index 00000000..aea42dfd Binary files /dev/null and b/img/frames/neo/neon/short/u.png differ diff --git a/img/frames/neo/neon/short/uThumb.png b/img/frames/neo/neon/short/uThumb.png new file mode 100644 index 00000000..054fcec7 Binary files /dev/null and b/img/frames/neo/neon/short/uThumb.png differ diff --git a/img/frames/neo/neon/short/v.png b/img/frames/neo/neon/short/v.png new file mode 100644 index 00000000..1df73cb3 Binary files /dev/null and b/img/frames/neo/neon/short/v.png differ diff --git a/img/frames/neo/neon/short/vThumb.png b/img/frames/neo/neon/short/vThumb.png new file mode 100644 index 00000000..145c9e88 Binary files /dev/null and b/img/frames/neo/neon/short/vThumb.png differ diff --git a/img/frames/neo/neon/short/w.png b/img/frames/neo/neon/short/w.png new file mode 100644 index 00000000..f779aeba Binary files /dev/null and b/img/frames/neo/neon/short/w.png differ diff --git a/img/frames/neo/neon/short/wThumb.png b/img/frames/neo/neon/short/wThumb.png new file mode 100644 index 00000000..f3bfe607 Binary files /dev/null and b/img/frames/neo/neon/short/wThumb.png differ diff --git a/js/frameSearch.js b/js/frameSearch.js index bbb05f5b..0179112a 100644 --- a/js/frameSearch.js +++ b/js/frameSearch.js @@ -167,6 +167,7 @@ const frameNames = new Map ([ ['Classicshifted MDFC Addons', 'ClassicshiftedDFC'], ['Classicshifted Transform Addons', 'ClassicshiftedTransform'], ['Classicshifted Color Identity Pips', 'ClassicshiftedCIPips'], + ['Short Neon (NEO)', 'NEONeonShort'], ['Colored Golden Age (SNC)', 'SNCGildedColored'], ['Textless Golden Age (SNC)', 'SNCGildedTextless'], ['Textless Equinox (MID)', 'EquinoxTextless'], diff --git a/js/frames/groupCustom.js b/js/frames/groupCustom.js index a3e7a34a..71a118a3 100644 --- a/js/frames/groupCustom.js +++ b/js/frames/groupCustom.js @@ -18,6 +18,7 @@ loadFramePacks([ {name:'Classicshifted Transform Addons', value:'ClassicshiftedTransform'}, {name:'Color Identity Pips', value:'ClassicshiftedCIPips'}, {name:'Showcase Frame Varients', value:'disabled'}, + {name:'Short Neon (NEO)', value:'NEONeonShort'}, {name:'Colored Golden Age (SNC)', value:'SNCGildedColored'}, {name:'Textless Golden Age (SNC)', value:'SNCGildedTextless'}, {name:'Textless Equinox (MID)', value:'EquinoxTextless'}, diff --git a/js/frames/packNEONeonShort.js b/js/frames/packNEONeonShort.js new file mode 100644 index 00000000..65f36478 --- /dev/null +++ b/js/frames/packNEONeonShort.js @@ -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(); \ No newline at end of file