diff --git a/gallery/img/sncArtDeco.png b/gallery/img/sncArtDeco.png new file mode 100644 index 00000000..6eb994f2 Binary files /dev/null and b/gallery/img/sncArtDeco.png differ diff --git a/gallery/index.php b/gallery/index.php index 217bd5eb..afa1cb6a 100644 --- a/gallery/index.php +++ b/gallery/index.php @@ -105,6 +105,7 @@ include('../globalHTML/header-1.php'); //SHOWCASE FRAMES const showcaseTemplates = [ {name: "Golden Age (SNC)", location: "Showcase Frames > Golden Age (SNC)", image: "sncGilded.png"}, + {name: "Art Deco (SNC)", location: "Showcase Frames > Art Deco (SNC)", image: "sncArtDeco.png"}, {name: "Skyscraper (SNC)", location: "Showcase Frames > Skyscraper (SNC)", image: "sncSkyscraper.png"}, {name: "Ninja (NEO)", location: "Showcase Frames > Ninja (NEO)", image: "neoNinja.png"}, {name: "Samurai (NEO)", location: "Showcase Frames > Samurai (NEO)", image: "neoSamurai.png"}, diff --git a/img/frames/snc/artDeco/a.png b/img/frames/snc/artDeco/a.png new file mode 100644 index 00000000..f94a28a1 Binary files /dev/null and b/img/frames/snc/artDeco/a.png differ diff --git a/img/frames/snc/artDeco/aThumb.png b/img/frames/snc/artDeco/aThumb.png new file mode 100644 index 00000000..28d5d76c Binary files /dev/null and b/img/frames/snc/artDeco/aThumb.png differ diff --git a/img/frames/snc/artDeco/b.png b/img/frames/snc/artDeco/b.png new file mode 100644 index 00000000..c5a0518c Binary files /dev/null and b/img/frames/snc/artDeco/b.png differ diff --git a/img/frames/snc/artDeco/bThumb.png b/img/frames/snc/artDeco/bThumb.png new file mode 100644 index 00000000..048fb476 Binary files /dev/null and b/img/frames/snc/artDeco/bThumb.png differ diff --git a/img/frames/snc/artDeco/crowns/a.png b/img/frames/snc/artDeco/crowns/a.png new file mode 100644 index 00000000..717e904e Binary files /dev/null and b/img/frames/snc/artDeco/crowns/a.png differ diff --git a/img/frames/snc/artDeco/crowns/aThumb.png b/img/frames/snc/artDeco/crowns/aThumb.png new file mode 100644 index 00000000..db969d3d Binary files /dev/null and b/img/frames/snc/artDeco/crowns/aThumb.png differ diff --git a/img/frames/snc/artDeco/crowns/b.png b/img/frames/snc/artDeco/crowns/b.png new file mode 100644 index 00000000..166a0919 Binary files /dev/null and b/img/frames/snc/artDeco/crowns/b.png differ diff --git a/img/frames/snc/artDeco/crowns/bThumb.png b/img/frames/snc/artDeco/crowns/bThumb.png new file mode 100644 index 00000000..49f16d93 Binary files /dev/null and b/img/frames/snc/artDeco/crowns/bThumb.png differ diff --git a/img/frames/snc/artDeco/crowns/g.png b/img/frames/snc/artDeco/crowns/g.png new file mode 100644 index 00000000..8b7ccf3f Binary files /dev/null and b/img/frames/snc/artDeco/crowns/g.png differ diff --git a/img/frames/snc/artDeco/crowns/gThumb.png b/img/frames/snc/artDeco/crowns/gThumb.png new file mode 100644 index 00000000..17d4af22 Binary files /dev/null and b/img/frames/snc/artDeco/crowns/gThumb.png differ diff --git a/img/frames/snc/artDeco/crowns/m.png b/img/frames/snc/artDeco/crowns/m.png new file mode 100644 index 00000000..02c85290 Binary files /dev/null and b/img/frames/snc/artDeco/crowns/m.png differ diff --git a/img/frames/snc/artDeco/crowns/mThumb.png b/img/frames/snc/artDeco/crowns/mThumb.png new file mode 100644 index 00000000..8c55b9ae Binary files /dev/null and b/img/frames/snc/artDeco/crowns/mThumb.png differ diff --git a/img/frames/snc/artDeco/crowns/r.png b/img/frames/snc/artDeco/crowns/r.png new file mode 100644 index 00000000..eb0ec7ef Binary files /dev/null and b/img/frames/snc/artDeco/crowns/r.png differ diff --git a/img/frames/snc/artDeco/crowns/rThumb.png b/img/frames/snc/artDeco/crowns/rThumb.png new file mode 100644 index 00000000..a64b1150 Binary files /dev/null and b/img/frames/snc/artDeco/crowns/rThumb.png differ diff --git a/img/frames/snc/artDeco/crowns/u.png b/img/frames/snc/artDeco/crowns/u.png new file mode 100644 index 00000000..a7d46dc9 Binary files /dev/null and b/img/frames/snc/artDeco/crowns/u.png differ diff --git a/img/frames/snc/artDeco/crowns/uThumb.png b/img/frames/snc/artDeco/crowns/uThumb.png new file mode 100644 index 00000000..ea758e89 Binary files /dev/null and b/img/frames/snc/artDeco/crowns/uThumb.png differ diff --git a/img/frames/snc/artDeco/crowns/w.png b/img/frames/snc/artDeco/crowns/w.png new file mode 100644 index 00000000..82c6a2f5 Binary files /dev/null and b/img/frames/snc/artDeco/crowns/w.png differ diff --git a/img/frames/snc/artDeco/crowns/wThumb.png b/img/frames/snc/artDeco/crowns/wThumb.png new file mode 100644 index 00000000..e8e831ec Binary files /dev/null and b/img/frames/snc/artDeco/crowns/wThumb.png differ diff --git a/img/frames/snc/artDeco/g.png b/img/frames/snc/artDeco/g.png new file mode 100644 index 00000000..acea9c2c Binary files /dev/null and b/img/frames/snc/artDeco/g.png differ diff --git a/img/frames/snc/artDeco/gThumb.png b/img/frames/snc/artDeco/gThumb.png new file mode 100644 index 00000000..ce4fd802 Binary files /dev/null and b/img/frames/snc/artDeco/gThumb.png differ diff --git a/img/frames/snc/artDeco/m.png b/img/frames/snc/artDeco/m.png new file mode 100644 index 00000000..81394325 Binary files /dev/null and b/img/frames/snc/artDeco/m.png differ diff --git a/img/frames/snc/artDeco/mThumb.png b/img/frames/snc/artDeco/mThumb.png new file mode 100644 index 00000000..e8a8a8c2 Binary files /dev/null and b/img/frames/snc/artDeco/mThumb.png differ diff --git a/img/frames/snc/artDeco/pt/a.png b/img/frames/snc/artDeco/pt/a.png new file mode 100644 index 00000000..03a40028 Binary files /dev/null and b/img/frames/snc/artDeco/pt/a.png differ diff --git a/img/frames/snc/artDeco/pt/aThumb.png b/img/frames/snc/artDeco/pt/aThumb.png new file mode 100644 index 00000000..4ef188ee Binary files /dev/null and b/img/frames/snc/artDeco/pt/aThumb.png differ diff --git a/img/frames/snc/artDeco/pt/b.png b/img/frames/snc/artDeco/pt/b.png new file mode 100644 index 00000000..9938cebc Binary files /dev/null and b/img/frames/snc/artDeco/pt/b.png differ diff --git a/img/frames/snc/artDeco/pt/bThumb.png b/img/frames/snc/artDeco/pt/bThumb.png new file mode 100644 index 00000000..a3bd7ba0 Binary files /dev/null and b/img/frames/snc/artDeco/pt/bThumb.png differ diff --git a/img/frames/snc/artDeco/pt/g.png b/img/frames/snc/artDeco/pt/g.png new file mode 100644 index 00000000..2ee39f42 Binary files /dev/null and b/img/frames/snc/artDeco/pt/g.png differ diff --git a/img/frames/snc/artDeco/pt/gThumb.png b/img/frames/snc/artDeco/pt/gThumb.png new file mode 100644 index 00000000..aef0256f Binary files /dev/null and b/img/frames/snc/artDeco/pt/gThumb.png differ diff --git a/img/frames/snc/artDeco/pt/m.png b/img/frames/snc/artDeco/pt/m.png new file mode 100644 index 00000000..da8bf334 Binary files /dev/null and b/img/frames/snc/artDeco/pt/m.png differ diff --git a/img/frames/snc/artDeco/pt/mThumb.png b/img/frames/snc/artDeco/pt/mThumb.png new file mode 100644 index 00000000..ceb95283 Binary files /dev/null and b/img/frames/snc/artDeco/pt/mThumb.png differ diff --git a/img/frames/snc/artDeco/pt/r.png b/img/frames/snc/artDeco/pt/r.png new file mode 100644 index 00000000..2c1257de Binary files /dev/null and b/img/frames/snc/artDeco/pt/r.png differ diff --git a/img/frames/snc/artDeco/pt/rThumb.png b/img/frames/snc/artDeco/pt/rThumb.png new file mode 100644 index 00000000..8ce02b31 Binary files /dev/null and b/img/frames/snc/artDeco/pt/rThumb.png differ diff --git a/img/frames/snc/artDeco/pt/u.png b/img/frames/snc/artDeco/pt/u.png new file mode 100644 index 00000000..fd491899 Binary files /dev/null and b/img/frames/snc/artDeco/pt/u.png differ diff --git a/img/frames/snc/artDeco/pt/uThumb.png b/img/frames/snc/artDeco/pt/uThumb.png new file mode 100644 index 00000000..f3f3393b Binary files /dev/null and b/img/frames/snc/artDeco/pt/uThumb.png differ diff --git a/img/frames/snc/artDeco/pt/w.png b/img/frames/snc/artDeco/pt/w.png new file mode 100644 index 00000000..d32a8b3a Binary files /dev/null and b/img/frames/snc/artDeco/pt/w.png differ diff --git a/img/frames/snc/artDeco/pt/wThumb.png b/img/frames/snc/artDeco/pt/wThumb.png new file mode 100644 index 00000000..1d10ddf9 Binary files /dev/null and b/img/frames/snc/artDeco/pt/wThumb.png differ diff --git a/img/frames/snc/artDeco/r.png b/img/frames/snc/artDeco/r.png new file mode 100644 index 00000000..408302a8 Binary files /dev/null and b/img/frames/snc/artDeco/r.png differ diff --git a/img/frames/snc/artDeco/rThumb.png b/img/frames/snc/artDeco/rThumb.png new file mode 100644 index 00000000..2aaa59fd Binary files /dev/null and b/img/frames/snc/artDeco/rThumb.png differ diff --git a/img/frames/snc/artDeco/u.png b/img/frames/snc/artDeco/u.png new file mode 100644 index 00000000..400de0f3 Binary files /dev/null and b/img/frames/snc/artDeco/u.png differ diff --git a/img/frames/snc/artDeco/uThumb.png b/img/frames/snc/artDeco/uThumb.png new file mode 100644 index 00000000..a0042b47 Binary files /dev/null and b/img/frames/snc/artDeco/uThumb.png differ diff --git a/img/frames/snc/artDeco/w.png b/img/frames/snc/artDeco/w.png new file mode 100644 index 00000000..599f75ef Binary files /dev/null and b/img/frames/snc/artDeco/w.png differ diff --git a/img/frames/snc/artDeco/wThumb.png b/img/frames/snc/artDeco/wThumb.png new file mode 100644 index 00000000..b3b5eac0 Binary files /dev/null and b/img/frames/snc/artDeco/wThumb.png differ diff --git a/js/frameSearch.js b/js/frameSearch.js index ea3cf7eb..f03f4e59 100644 --- a/js/frameSearch.js +++ b/js/frameSearch.js @@ -27,6 +27,7 @@ const frameNames = new Map ([ ['Brawl Legend Crowns', 'Brawl'], //showcase ['Golden Age (SNC)', 'SNCGilded'], + ['Art Deco (SNC)', 'SNCArtDeco'], ['Skyscraper (SNC)', 'SNCSkyscraper'], ['Ninja (NEO)', 'NeoNinja'], ['Samurai (NEO)', 'NeoSamurai'], diff --git a/js/frames/groupShowcase-5.js b/js/frames/groupShowcase-5.js index e76dbb61..08d776af 100644 --- a/js/frames/groupShowcase-5.js +++ b/js/frames/groupShowcase-5.js @@ -1,6 +1,7 @@ loadFramePacks([ {name:'Set Showcase Frames (Chronological)', value:'disabled'}, {name:'Golden Age (SNC)', value:'SNCGilded'}, + {name:'Art Deco (SNC)', value:'SNCArtDeco'}, {name:'Skyscraper (SNC)', value:'SNCSkyscraper'}, {name:'Ninja (NEO)', value:'NeoNinja'}, {name:'Samurai (NEO)', value:'NeoSamurai'}, diff --git a/js/frames/packSNCArtDeco.js b/js/frames/packSNCArtDeco.js new file mode 100644 index 00000000..24944fd8 --- /dev/null +++ b/js/frames/packSNCArtDeco.js @@ -0,0 +1,56 @@ +//Create objects for common properties across available frames +var bounds = {x:0.7674, y:0.8862, width:0.194, height:0.0581}; +var bounds2 = {x:0.028, y:0.0205, width:0.944, height:0.0972}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/snc/artDeco/w.png'}, + {name:'Blue Frame', src:'/img/frames/snc/artDeco/u.png'}, + {name:'Black Frame', src:'/img/frames/snc/artDeco/b.png'}, + {name:'Red Frame', src:'/img/frames/snc/artDeco/r.png'}, + {name:'Green Frame', src:'/img/frames/snc/artDeco/g.png'}, + {name:'Multicolored Frame', src:'/img/frames/snc/artDeco/m.png'}, + {name:'Artifact Frame', src:'/img/frames/snc/artDeco/a.png'}, + {name:'White Power/Toughness', src:'/img/frames/snc/artDeco/pt/w.png', bounds:bounds}, + {name:'Blue Power/Toughness', src:'/img/frames/snc/artDeco/pt/u.png', bounds:bounds}, + {name:'Black Power/Toughness', src:'/img/frames/snc/artDeco/pt/b.png', bounds:bounds}, + {name:'Red Power/Toughness', src:'/img/frames/snc/artDeco/pt/r.png', bounds:bounds}, + {name:'Green Power/Toughness', src:'/img/frames/snc/artDeco/pt/g.png', bounds:bounds}, + {name:'Multicolored Power/Toughness', src:'/img/frames/snc/artDeco/pt/m.png', bounds:bounds}, + {name:'Artifact Power/Toughness', src:'/img/frames/snc/artDeco/pt/a.png', bounds:bounds}, + {name:'White Legend Crown', src:'/img/frames/snc/artDeco/crowns/w.png', bounds:bounds2}, + {name:'Blue Legend Crown', src:'/img/frames/snc/artDeco/crowns/u.png', bounds:bounds2}, + {name:'Black Legend Crown', src:'/img/frames/snc/artDeco/crowns/b.png', bounds:bounds2}, + {name:'Red Legend Crown', src:'/img/frames/snc/artDeco/crowns/r.png', bounds:bounds2}, + {name:'Green Legend Crown', src:'/img/frames/snc/artDeco/crowns/g.png', bounds:bounds2}, + {name:'Multicolored Legend Crown', src:'/img/frames/snc/artDeco/crowns/m.png', bounds:bounds2}, + {name:'Artifact Legend Crown', src:'/img/frames/snc/artDeco/crowns/a.png', bounds:bounds2}, + {name:'Rare Stamp', src:'/img/frames/snc/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 = 'sncArtDeco'; + //art bounds + card.artBounds = {x:0.042, y:0.0943, width:0.916, height:0.4648}; + 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', shadowX:0.002, shadowY:0.0015}, + 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', shadowX:0.002, shadowY:0.0015}, + rules: {name:'Rules Text', text:'', x:0.086, y:0.6303, width:0.828, height:0.2762, size:0.0362}, + pt: {name:'Power/Toughness', text:'', x:0.7954, y:0.9, 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