diff --git a/img/frames/custom/classicshifted/lands/alliances.png b/img/frames/custom/classicshifted/lands/alliances.png new file mode 100644 index 00000000..23ffa335 Binary files /dev/null and b/img/frames/custom/classicshifted/lands/alliances.png differ diff --git a/img/frames/custom/classicshifted/lands/alliancesThumb.png b/img/frames/custom/classicshifted/lands/alliancesThumb.png new file mode 100644 index 00000000..f9a8c58e Binary files /dev/null and b/img/frames/custom/classicshifted/lands/alliancesThumb.png differ diff --git a/img/frames/custom/classicshifted/lands/antiquities.png b/img/frames/custom/classicshifted/lands/antiquities.png new file mode 100644 index 00000000..5f6d315f Binary files /dev/null and b/img/frames/custom/classicshifted/lands/antiquities.png differ diff --git a/img/frames/custom/classicshifted/lands/antiquitiesThumb.png b/img/frames/custom/classicshifted/lands/antiquitiesThumb.png new file mode 100644 index 00000000..709a35e2 Binary files /dev/null and b/img/frames/custom/classicshifted/lands/antiquitiesThumb.png differ diff --git a/img/frames/custom/classicshifted/lands/arabianNights.png b/img/frames/custom/classicshifted/lands/arabianNights.png new file mode 100644 index 00000000..cd5df462 Binary files /dev/null and b/img/frames/custom/classicshifted/lands/arabianNights.png differ diff --git a/img/frames/custom/classicshifted/lands/arabianNightsThumb.png b/img/frames/custom/classicshifted/lands/arabianNightsThumb.png new file mode 100644 index 00000000..a5ea1d43 Binary files /dev/null and b/img/frames/custom/classicshifted/lands/arabianNightsThumb.png differ diff --git a/img/frames/custom/classicshifted/lands/fallenEmpires.png b/img/frames/custom/classicshifted/lands/fallenEmpires.png new file mode 100644 index 00000000..6e7bbe6a Binary files /dev/null and b/img/frames/custom/classicshifted/lands/fallenEmpires.png differ diff --git a/img/frames/custom/classicshifted/lands/fallenEmpiresThumb.png b/img/frames/custom/classicshifted/lands/fallenEmpiresThumb.png new file mode 100644 index 00000000..64df72cd Binary files /dev/null and b/img/frames/custom/classicshifted/lands/fallenEmpiresThumb.png differ diff --git a/img/frames/custom/classicshifted/lands/homelands.png b/img/frames/custom/classicshifted/lands/homelands.png new file mode 100644 index 00000000..aa3f9dc2 Binary files /dev/null and b/img/frames/custom/classicshifted/lands/homelands.png differ diff --git a/img/frames/custom/classicshifted/lands/homelandsThumb.png b/img/frames/custom/classicshifted/lands/homelandsThumb.png new file mode 100644 index 00000000..44120ff1 Binary files /dev/null and b/img/frames/custom/classicshifted/lands/homelandsThumb.png differ diff --git a/img/frames/custom/classicshifted/lands/iceAge.png b/img/frames/custom/classicshifted/lands/iceAge.png new file mode 100644 index 00000000..f6f2fec0 Binary files /dev/null and b/img/frames/custom/classicshifted/lands/iceAge.png differ diff --git a/img/frames/custom/classicshifted/lands/iceAgeThumb.png b/img/frames/custom/classicshifted/lands/iceAgeThumb.png new file mode 100644 index 00000000..2fe505ea Binary files /dev/null and b/img/frames/custom/classicshifted/lands/iceAgeThumb.png differ diff --git a/img/frames/custom/classicshifted/lands/mirage.png b/img/frames/custom/classicshifted/lands/mirage.png new file mode 100644 index 00000000..12e47756 Binary files /dev/null and b/img/frames/custom/classicshifted/lands/mirage.png differ diff --git a/img/frames/custom/classicshifted/lands/mirageThumb.png b/img/frames/custom/classicshifted/lands/mirageThumb.png new file mode 100644 index 00000000..c8c9603b Binary files /dev/null and b/img/frames/custom/classicshifted/lands/mirageThumb.png differ diff --git a/img/frames/custom/classicshifted/lands/theDark.png b/img/frames/custom/classicshifted/lands/theDark.png new file mode 100644 index 00000000..f2be1cae Binary files /dev/null and b/img/frames/custom/classicshifted/lands/theDark.png differ diff --git a/img/frames/custom/classicshifted/lands/theDarkThumb.png b/img/frames/custom/classicshifted/lands/theDarkThumb.png new file mode 100644 index 00000000..8849aa31 Binary files /dev/null and b/img/frames/custom/classicshifted/lands/theDarkThumb.png differ diff --git a/img/frames/effects/foil.png b/img/frames/effects/foil.png new file mode 100644 index 00000000..196e8121 Binary files /dev/null and b/img/frames/effects/foil.png differ diff --git a/img/frames/effects/foilThumb.png b/img/frames/effects/foilThumb.png new file mode 100644 index 00000000..72f9c566 Binary files /dev/null and b/img/frames/effects/foilThumb.png differ diff --git a/img/frames/seventh/foil.svg b/img/frames/seventh/foil.svg new file mode 100644 index 00000000..9b949970 --- /dev/null +++ b/img/frames/seventh/foil.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/img/frames/seventh/foil2.svg b/img/frames/seventh/foil2.svg new file mode 100644 index 00000000..388e5a48 --- /dev/null +++ b/img/frames/seventh/foil2.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/img/frames/seventh/foil2Thumb.png b/img/frames/seventh/foil2Thumb.png new file mode 100644 index 00000000..db70de5e Binary files /dev/null and b/img/frames/seventh/foil2Thumb.png differ diff --git a/img/frames/seventh/foilThumb.png b/img/frames/seventh/foilThumb.png new file mode 100644 index 00000000..84d1564d Binary files /dev/null and b/img/frames/seventh/foilThumb.png differ diff --git a/js/frames/groupCustom.js b/js/frames/groupCustom.js index 5cbded9c..1653eb81 100644 --- a/js/frames/groupCustom.js +++ b/js/frames/groupCustom.js @@ -1,8 +1,9 @@ loadFramePacks([ {name:'Misc. Custom Frames', value:'MiscCustom'}, - {name:'Classic-Shifted', value:'Classicshifted'}, - {name:'Classic-Shifted Planeswalkers', value:'ClassicshiftedPlaneswalker'}, - {name:'Classic-Shifted Sagas', value:'ClassicshiftedSaga'}, + {name:'Classicshifted', value:'Classicshifted'}, + {name:'Classicshifted Lands', value:'ClassicshiftedLands'}, + {name:'Classicshifted Planeswalkers', value:'ClassicshiftedPlaneswalker'}, + {name:'Classicshifted Sagas', value:'ClassicshiftedSaga'}, {name:'Textless Duals', value:'CustomDualLands'}, {name:'Tapped (Horizontal M15)', value:'Tapped'}, {name:'Simple Inventions', value:'SimpleInventions'}, diff --git a/js/frames/packClassicshifted.js b/js/frames/packClassicshifted.js index ff369b04..cdd63ce4 100644 --- a/js/frames/packClassicshifted.js +++ b/js/frames/packClassicshifted.js @@ -13,11 +13,6 @@ availableFrames = [ {name:'Multicolored Frame', src:'/img/frames/custom/classicshifted/m.png', masks:masks}, {name:'Artifact Frame', src:'/img/frames/custom/classicshifted/a.png', masks:masks}, {name:'Land Frame', src:'/img/frames/custom/classicshifted/l.png', masks:masks}, - {name:'White Land Frame', src:'/img/frames/custom/classicshifted/wl.png', masks:masks}, - {name:'Blue Land Frame', src:'/img/frames/custom/classicshifted/ul.png', masks:masks}, - {name:'Black Land Frame', src:'/img/frames/custom/classicshifted/bl.png', masks:masks}, - {name:'Red Land Frame', src:'/img/frames/custom/classicshifted/rl.png', masks:masks}, - {name:'Green Land Frame', src:'/img/frames/custom/classicshifted/gl.png', masks:masks}, {name:'White Power/Toughness', src:'/img/frames/custom/classicshifted/ptW.png', bounds:bounds}, {name:'Blue Power/Toughness', src:'/img/frames/custom/classicshifted/ptU.png', bounds:bounds}, {name:'Black Power/Toughness', src:'/img/frames/custom/classicshifted/ptB.png', bounds:bounds}, @@ -34,12 +29,6 @@ availableFrames = [ {name:'Multicolored Crown', src:'/img/frames/custom/classicshifted/cm.png', bounds:bounds2}, {name:'Artifact Crown', src:'/img/frames/custom/classicshifted/ca.png', bounds:bounds2}, {name:'Land Crown', src:'/img/frames/custom/classicshifted/cl.png', bounds:bounds2}, - {name:'Plains Watermark', src:'/img/frames/m15/basics/w.png', bounds:bounds3}, - {name:'Island Watermark', src:'/img/frames/m15/basics/u.png', bounds:bounds3}, - {name:'Swamp Watermark', src:'/img/frames/m15/basics/b.png', bounds:bounds3}, - {name:'Mountain Watermark', src:'/img/frames/m15/basics/r.png', bounds:bounds3}, - {name:'Forest Watermark', src:'/img/frames/m15/basics/g.png', bounds:bounds3}, - {name:'Wastes Watermark', src:'/img/frames/m15/basics/c.png', bounds:bounds3}, {name:'Snow Overlay', src:'/img/frames/custom/classicshifted/snow.png'} ]; //disables/enables the "Load Frame Version" button diff --git a/js/frames/packClassicshiftedLands.js b/js/frames/packClassicshiftedLands.js new file mode 100644 index 00000000..a4df97cc --- /dev/null +++ b/js/frames/packClassicshiftedLands.js @@ -0,0 +1,55 @@ +//Create objects for common properties across available frames +var masks = [{src:'/img/frames/custom/classicshifted/maskFrame.png', name:'Frame'}, {src:'/img/frames/custom/classicshifted/maskText.png', name:'Textbox'}, {src:'/img/frames/custom/classicshifted/pinline.svg', name:'Pinline'}, {src:'/img/frames/custom/classicshifted/dual.svg', name:'Dual Land Pinline'}]; +var bounds = {x:0.3267, y:0.6491, width:0.3474, height:0.2496}; +//defines available frames +availableFrames = [ + {name:'Land Frame', src:'/img/frames/custom/classicshifted/l.png', masks:masks}, + {name:'White Land Frame', src:'/img/frames/custom/classicshifted/wl.png', masks:masks}, + {name:'Blue Land Frame', src:'/img/frames/custom/classicshifted/ul.png', masks:masks}, + {name:'Black Land Frame', src:'/img/frames/custom/classicshifted/bl.png', masks:masks}, + {name:'Red Land Frame', src:'/img/frames/custom/classicshifted/rl.png', masks:masks}, + {name:'Green Land Frame', src:'/img/frames/custom/classicshifted/gl.png', masks:masks}, + {name:'The Dark Land Frame', src:'/img/frames/custom/classicshifted/lands/theDark.png', masks:masks}, + {name:'Alliances Land Frame', src:'/img/frames/custom/classicshifted/lands/alliances.png', masks:masks}, + {name:'Mirage Land Frame', src:'/img/frames/custom/classicshifted/lands/mirage.png', masks:masks}, + {name:'Ice Age Land Frame', src:'/img/frames/custom/classicshifted/lands/iceAge.png', masks:masks}, + {name:'Homelands Land Frame', src:'/img/frames/custom/classicshifted/lands/homelands.png', masks:masks}, + {name:'Fallen Empires Land Frame', src:'/img/frames/custom/classicshifted/lands/fallenEmpires.png', masks:masks}, + {name:'Arabian Nights Land Frame', src:'/img/frames/custom/classicshifted/lands/arabianNights.png', masks:masks}, + {name:'Antiquities Land Frame', src:'/img/frames/custom/classicshifted/lands/antiquities.png', masks:masks}, + {name:'Plains Watermark', src:'/img/frames/m15/basics/w.png', bounds:bounds}, + {name:'Island Watermark', src:'/img/frames/m15/basics/u.png', bounds:bounds}, + {name:'Swamp Watermark', src:'/img/frames/m15/basics/b.png', bounds:bounds}, + {name:'Mountain Watermark', src:'/img/frames/m15/basics/r.png', bounds:bounds}, + {name:'Forest Watermark', src:'/img/frames/m15/basics/g.png', bounds:bounds}, + {name:'Wastes Watermark', src:'/img/frames/m15/basics/c.png', bounds:bounds}, + {name:'Snow Overlay', src:'/img/frames/custom/classicshifted/snow.png'} +]; +//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 = 'classicshiftedLands'; + //art bounds + card.artBounds = {x:0.08, y:0.0954, width:0.84, height:0.4653}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.9213, y:0.5958, 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.0462, 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.0372, 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.571, 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.6329, width:0.828, height:0.2905, 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', color:'white', shadowX:0.002, shadowY:0.0015} + }); +} +//loads available frames +loadFramePack(); \ No newline at end of file diff --git a/js/frames/packSeventh.js b/js/frames/packSeventh.js index 313b7bfb..8e8184ab 100644 --- a/js/frames/packSeventh.js +++ b/js/frames/packSeventh.js @@ -25,6 +25,7 @@ availableFrames = [ {name:'Forest Watermark', src:'/img/frames/m15/basics/g.png', bounds:bounds}, {name:'Wastes Watermark', src:'/img/frames/m15/basics/c.png', bounds:bounds}, {name:'DCI Star', src:'/img/frames/seventh/foilStar.svg'}, + {name:'Foil Layer', src:'/img/frames/effects/foil.png', opacity:20, masks:[{src:'/img/frames/seventh/foil.svg', name:'With Star'}, {src:'/img/frames/seventh/foil2.svg', name:'Without Star'}]}, {name:'White Border', src:'/img/frames/white.png', masks:borderMask, noDefaultMask:true}, {name:'Silver Border', src:'/img/frames/silver.png', masks:borderMask, noDefaultMask:true}, {name:'Gold Border', src:'/img/frames/gold.png', masks:borderMask, noDefaultMask:true}, diff --git a/js/frames/packSeventhButFifth.js b/js/frames/packSeventhButFifth.js index 95cf2782..f99140cb 100644 --- a/js/frames/packSeventhButFifth.js +++ b/js/frames/packSeventhButFifth.js @@ -25,6 +25,7 @@ availableFrames = [ {name:'Forest Watermark', src:'/img/frames/m15/basics/g.png', bounds:bounds}, {name:'Wastes Watermark', src:'/img/frames/m15/basics/c.png', bounds:bounds}, {name:'DCI Star', src:'/img/frames/seventh/foilStar.svg'}, + {name:'Foil Layer', src:'/img/frames/effects/foil.png', opacity:20, masks:[{src:'/img/frames/seventh/foil.svg', name:'With Star'}, {src:'/img/frames/seventh/foil2.svg', name:'Without Star'}].concat(masks)}, {name:'White Border', src:'/img/frames/white.png', masks:borderMask, noDefaultMask:true}, {name:'Silver Border', src:'/img/frames/silver.png', masks:borderMask, noDefaultMask:true}, {name:'Gold Border', src:'/img/frames/gold.png', masks:borderMask, noDefaultMask:true},