neo neon
@@ -628,7 +628,6 @@ include('../globalHTML/header-1.php');
|
|||||||
<h4>Aurelian M.</h4>
|
<h4>Aurelian M.</h4>
|
||||||
<h4>The Bell-Horwaths</h4>
|
<h4>The Bell-Horwaths</h4>
|
||||||
<h4>Swimmaf</h4>
|
<h4>Swimmaf</h4>
|
||||||
<h4>Cesar P.</h4>
|
|
||||||
<h4>Bradley C.</h4>
|
<h4>Bradley C.</h4>
|
||||||
<h4>Endiron</h4>
|
<h4>Endiron</h4>
|
||||||
<h4>Beezchurgr</h4>
|
<h4>Beezchurgr</h4>
|
||||||
@@ -697,6 +696,7 @@ include('../globalHTML/header-1.php');
|
|||||||
<h4>Fabien S.</h4>
|
<h4>Fabien S.</h4>
|
||||||
<h4>Adam T.</h4>
|
<h4>Adam T.</h4>
|
||||||
<h4>J. Skene</h4>
|
<h4>J. Skene</h4>
|
||||||
|
<h4>Cesar P.</h4>
|
||||||
</div>
|
</div>
|
||||||
<h5 class='input-description'>(Please contact me if you would like your name/nickname changed.)</h5>
|
<h5 class='input-description'>(Please contact me if you would like your name/nickname changed.)</h5>
|
||||||
</div>
|
</div>
|
||||||
|
BIN
img/frames/neo/neon/a.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
img/frames/neo/neon/aThumb.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/neo/neon/b.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
img/frames/neo/neon/bThumb.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
img/frames/neo/neon/crown/a.png
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
img/frames/neo/neon/crown/aThumb.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
img/frames/neo/neon/crown/b.png
Normal file
After Width: | Height: | Size: 83 KiB |
BIN
img/frames/neo/neon/crown/bThumb.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
img/frames/neo/neon/crown/g.png
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
img/frames/neo/neon/crown/gThumb.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
img/frames/neo/neon/crown/m.png
Normal file
After Width: | Height: | Size: 108 KiB |
BIN
img/frames/neo/neon/crown/mThumb.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
img/frames/neo/neon/crown/r.png
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
img/frames/neo/neon/crown/rThumb.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
img/frames/neo/neon/crown/u.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
img/frames/neo/neon/crown/uThumb.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
img/frames/neo/neon/crown/w.png
Normal file
After Width: | Height: | Size: 116 KiB |
BIN
img/frames/neo/neon/crown/wThumb.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
img/frames/neo/neon/g.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
img/frames/neo/neon/gThumb.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
img/frames/neo/neon/m.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
img/frames/neo/neon/mThumb.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/neo/neon/pt/a.png
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
img/frames/neo/neon/pt/aThumb.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
img/frames/neo/neon/pt/b.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
img/frames/neo/neon/pt/bThumb.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
img/frames/neo/neon/pt/g.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
img/frames/neo/neon/pt/gThumb.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
img/frames/neo/neon/pt/m.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
img/frames/neo/neon/pt/mThumb.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
img/frames/neo/neon/pt/r.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
img/frames/neo/neon/pt/rThumb.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/neo/neon/pt/u.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
img/frames/neo/neon/pt/uThumb.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
img/frames/neo/neon/pt/v.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
img/frames/neo/neon/pt/vThumb.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/neo/neon/pt/w.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
img/frames/neo/neon/pt/wThumb.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
img/frames/neo/neon/r.png
Normal file
After Width: | Height: | Size: 964 KiB |
BIN
img/frames/neo/neon/rThumb.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
img/frames/neo/neon/u.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
img/frames/neo/neon/uThumb.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
img/frames/neo/neon/v.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
img/frames/neo/neon/vThumb.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
img/frames/neo/neon/w.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
img/frames/neo/neon/wThumb.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/neo/stamp.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
img/frames/neo/stampThumb.png
Normal file
After Width: | Height: | Size: 23 KiB |
@@ -1,5 +1,6 @@
|
|||||||
loadFramePacks([
|
loadFramePacks([
|
||||||
{name:'Set Showcase Frames (Chronological)', value:'disabled'},
|
{name:'Set Showcase Frames (Chronological)', value:'disabled'},
|
||||||
|
{name:'Neon (Neo)', value:'NeoNeon'},
|
||||||
{name:'Fang (VOW)', value:'Fang'},
|
{name:'Fang (VOW)', value:'Fang'},
|
||||||
{name:'Equinox (MID)', value:'Equinox'},
|
{name:'Equinox (MID)', value:'Equinox'},
|
||||||
{name:'Eternal Night (MID)', value:'EternalNight'},
|
{name:'Eternal Night (MID)', value:'EternalNight'},
|
||||||
|
@@ -20,14 +20,14 @@ availableFrames = [
|
|||||||
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/fang/pt/m.png', bounds:bounds},
|
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/fang/pt/m.png', bounds:bounds},
|
||||||
{name:'Artifact Power/Toughness', src:'/img/frames/m15/fang/pt/a.png', bounds:bounds},
|
{name:'Artifact Power/Toughness', src:'/img/frames/m15/fang/pt/a.png', bounds:bounds},
|
||||||
{name:'Land Power/Toughness', src:'/img/frames/m15/fang/pt/l.png', bounds:bounds},
|
{name:'Land Power/Toughness', src:'/img/frames/m15/fang/pt/l.png', bounds:bounds},
|
||||||
{name:'White Power/Toughness', src:'/img/frames/m15/fang/crown/w.png', bounds:bounds2},
|
{name:'White Legend Crown', src:'/img/frames/m15/fang/crown/w.png', bounds:bounds2},
|
||||||
{name:'Blue Power/Toughness', src:'/img/frames/m15/fang/crown/u.png', bounds:bounds2},
|
{name:'Blue Legend Crown', src:'/img/frames/m15/fang/crown/u.png', bounds:bounds2},
|
||||||
{name:'Black Power/Toughness', src:'/img/frames/m15/fang/crown/b.png', bounds:bounds2},
|
{name:'Black Legend Crown', src:'/img/frames/m15/fang/crown/b.png', bounds:bounds2},
|
||||||
{name:'Red Power/Toughness', src:'/img/frames/m15/fang/crown/r.png', bounds:bounds2},
|
{name:'Red Legend Crown', src:'/img/frames/m15/fang/crown/r.png', bounds:bounds2},
|
||||||
{name:'Green Power/Toughness', src:'/img/frames/m15/fang/crown/g.png', bounds:bounds2},
|
{name:'Green Legend Crown', src:'/img/frames/m15/fang/crown/g.png', bounds:bounds2},
|
||||||
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/fang/crown/m.png', bounds:bounds2},
|
{name:'Multicolored Legend Crown', src:'/img/frames/m15/fang/crown/m.png', bounds:bounds2},
|
||||||
{name:'Artifact Power/Toughness', src:'/img/frames/m15/fang/crown/a.png', bounds:bounds2},
|
{name:'Artifact Legend Crown', src:'/img/frames/m15/fang/crown/a.png', bounds:bounds2},
|
||||||
{name:'Land Power/Toughness', src:'/img/frames/m15/fang/crown/l.png', bounds:bounds2}
|
{name:'Land Legend Crown', src:'/img/frames/m15/fang/crown/l.png', bounds:bounds2}
|
||||||
];
|
];
|
||||||
//disables/enables the "Load Frame Version" button
|
//disables/enables the "Load Frame Version" button
|
||||||
document.querySelector('#loadFrameVersion').disabled = false;
|
document.querySelector('#loadFrameVersion').disabled = false;
|
||||||
@@ -57,7 +57,3 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
|
|||||||
}
|
}
|
||||||
//loads available frames
|
//loads available frames
|
||||||
loadFramePack();
|
loadFramePack();
|
||||||
//Only for the main version as the webpage loads:
|
|
||||||
if (!card.text) {
|
|
||||||
document.querySelector('#loadFrameVersion').click();
|
|
||||||
}
|
|
59
js/frames/packNeoNeon.js
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
//Create objects for common properties across available frames
|
||||||
|
var masks = []//[{src:'/img/frames/neo/neon/frame.svg', name:'Frame'}, {src:'/img/frames/neo/neon/title.svg', name:'Title'}, {src:'/img/frames/neo/neon/type.svg', name:'Type'}, {src:'/img/frames/neo/neon/typeSides.svg', name:'Type Sides'}, {src:'/img/frames/neo/neon/rules.svg', name:'Rules'}, {src:'/img/frames/neo/neon/gold.svg', name:'Gold Accents'}, {src:'/img/frames/neo/neon/border.svg', name:'Border'}];
|
||||||
|
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/w.png', masks:masks},
|
||||||
|
{name:'Blue Frame', src:'/img/frames/neo/neon/u.png', masks:masks},
|
||||||
|
{name:'Black Frame', src:'/img/frames/neo/neon/b.png', masks:masks},
|
||||||
|
{name:'Red Frame', src:'/img/frames/neo/neon/r.png', masks:masks},
|
||||||
|
{name:'Green Frame', src:'/img/frames/neo/neon/g.png', masks:masks},
|
||||||
|
{name:'Multicolored Frame', src:'/img/frames/neo/neon/m.png', masks:masks},
|
||||||
|
{name:'Artifact Frame', src:'/img/frames/neo/neon/a.png', masks:masks},
|
||||||
|
{name:'Vehicle Frame', src:'/img/frames/neo/neon/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 = 'neoNeon';
|
||||||
|
//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.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, color:'white'},
|
||||||
|
type: {name:'Type', text:'', x:0.0854, y:0.5664, 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.6303, width:0.828, height:0.2762, 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();
|