saga dfcs

This commit is contained in:
Kyle
2022-03-18 17:14:32 -07:00
parent 0cb52caa7e
commit d87fd6d7e0
23 changed files with 57 additions and 3 deletions

View File

@@ -640,6 +640,7 @@ include('../globalHTML/header-1.php');
<h4>Endiron</h4>
<h4>Beezchurgr</h4>
<h4>John C.</h4>
<h4>Michael J.</h4>
<h4>Benjamin D.</h4>
<h4>Brent O.</h4>
<h4>Austin M.</h4>
@@ -674,6 +675,7 @@ include('../globalHTML/header-1.php');
<h4>Morgan S.</h4>
<h4>Jonathan D.</h4>
<h4>Jay S.</h4>
<h4>Louis C.</h4>
<h4>James T.</h4>
</div>
<h4 class='margin-bottom'>And of course, thank you to all of those who have made donations in the past.</h4>
@@ -709,7 +711,6 @@ include('../globalHTML/header-1.php');
<h4>J. Skene</h4>
<h4>Cesar P.</h4>
<h4>Elizabeth S.</h4>
<h4>Michael J.</h4>
<h4>Andrew K.</h4>
<h4>Wren</h4>
<h4>Camille D.</h4>

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="279" height="279" viewBox="0 0 279 279" 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><circle cx="140.095" cy="138.516" r="131.5" style="fill:#fff;"/><path d="M139.5,0.034c76.992,-0 139.5,62.5 139.5,139.483c0,76.983 -62.508,139.483 -139.5,139.483c-76.992,0 -139.5,-62.5 -139.5,-139.483c-0,-76.983 62.508,-139.483 139.5,-139.483Zm-37.5,266.966c-4.295,-101.675 17.938,-186.705 78,-248l25,14c-70.498,77.005 -91.048,152.519 -77,227c-8.667,5.435 -17.333,7.768 -26,7Zm31,-12l-4,-36l20,18l-16,18Zm-36,-49c1.318,-17.926 3.047,-28.266 6,-41c-8.607,-43.687 -7.199,-110.045 8,-154l-29,3c-16.521,63.911 -7.094,143.655 15,192Zm14,-178l22,-1c-16.071,35.7 -25.951,71.914 -27,106c-5.264,-29.802 -2.658,-65.507 5,-105Zm28,1l20,5c-22.285,27.613 -37.023,61.694 -48,99c1.073,-38.6 9.967,-73.476 28,-104Z"/></g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 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="279" height="279" viewBox="0 0 279 279" 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><circle cx="140.095" cy="138.516" r="131.5" style="fill:#fff;"/><path d="M139.5,0c76.992,0 139.5,62.508 139.5,139.5c0,76.992 -62.508,139.5 -139.5,139.5c-76.992,0 -139.5,-62.508 -139.5,-139.5c0,-76.992 62.508,-139.5 139.5,-139.5Zm4.151,212.625c3.781,1.21 7.563,2.332 11.349,3.375c1.789,8.288 -3.594,22.475 -10.437,24.147c-8.915,-3.473 -17.679,-7.146 -26.296,-11.029c8.08,-6.187 16.557,-11.66 25.384,-16.493Zm-61.651,10.375c60.02,-48.295 121.558,-67.741 184,-70c-0.703,10.73 -3.452,18.731 -9,23c-61.516,6.076 -116.871,23.19 -159,64c-10.567,1.062 -16.74,-3.525 -16,-17Zm4.219,-9.665c-26.427,-14.191 -51.21,-30.581 -74.219,-49.335c-2.546,-14.645 -2.107,-27.585 1,-39c30.881,34.439 62.48,57.644 94.56,73.208c-7.137,4.668 -14.249,9.703 -21.341,15.127Zm2.781,-31.335c-30.525,-14.797 -53.012,-41.205 -69,-77c4.898,-13.667 16.181,-27.333 34,-41c1.666,41.201 11.182,73.374 29,96c-12.616,-39.352 -14.538,-75.495 -11,-110c16.767,-9.416 31.464,-13.66 45,-15c-18.025,45.006 -21.818,86.454 -14,125c2.457,-46.296 14.448,-88.78 37.095,-127c22.704,-2.883 41.276,-0.808 55.905,6c-42.022,38.354 -67.705,78.608 -75,121c28.062,-55.793 60.862,-90.742 97,-111c13.603,4.996 24.243,14.928 33,28c-54.032,20.935 -93.887,49.297 -114,88c33.44,-32.806 74.408,-56.577 124,-70c6.571,10.164 8.698,22.797 8,37c-43.893,4.239 -88.492,20.111 -134,51c-14.541,-7.467 -29.844,-8.07 -46,-1Z"/></g></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
img/frames/saga/dfc/b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
img/frames/saga/dfc/g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
img/frames/saga/dfc/l.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 951 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
img/frames/saga/dfc/m.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
img/frames/saga/dfc/r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
img/frames/saga/dfc/u.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
img/frames/saga/dfc/w.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -1 +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="100%" height="100%" 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;"><rect id="Card" x="0" y="0" width="1500" height="2100" style="fill:none;"/><g id="Card1" serif:id="Card"><path d="M106,1345c-14.004,10.984 -27.519,38.948 -28,72c0.412,28.276 10.362,52.828 22,66.213l0,369.787c-3.201,-2.805 -6.201,-5.848 -9,-9.071l-0,-357.494l0,0.001c-11.723,-15.022 -21.577,-40.329 -21.999,-69.305c-0.001,-0.087 -0.001,-0.175 -0,-0.262c0.529,-36.359 16.039,-66.868 31.445,-78.951c1.584,-1.243 3.54,-1.918 5.554,-1.918l1288,0c2.014,0 3.97,0.675 5.554,1.918c15.406,12.083 30.916,42.592 31.445,78.951c0.001,0.087 0.001,0.175 0,0.262c-0.422,28.976 -10.276,54.283 -21.999,69.305l-0,-0.001l-0,357.494c-2.799,3.223 -5.799,6.266 -9,9.071l-0,-369.787c11.638,-13.385 21.588,-37.937 22,-66.213c-0.481,-33.052 -13.996,-61.016 -28,-72l-1288,0Zm-0,-1265l1288,0c2.014,0 3.97,0.675 5.554,1.918c15.406,12.083 30.916,42.592 31.445,78.951c0.001,0.087 0.001,0.175 0,0.262c-0.529,36.359 -16.039,66.868 -31.445,78.951c-1.584,1.243 -3.54,1.918 -5.554,1.918l-1288,-0c-2.014,-0 -3.97,-0.675 -5.554,-1.918c-15.406,-12.083 -30.916,-42.592 -31.445,-78.951c-0.001,-0.087 -0.001,-0.175 -0,-0.262c0.529,-36.359 16.039,-66.868 31.445,-78.951c1.584,-1.243 3.54,-1.918 5.554,-1.918Zm1288,9l-1288,0c-14.004,10.984 -27.519,38.948 -28,72c0.481,33.052 13.996,61.016 28,72l1288,-0c14.004,-10.984 27.519,-38.948 28,-72c-0.481,-33.052 -13.996,-61.016 -28,-72Z" style="fill:#0075be;"/></g></svg>
<?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;"><rect id="Card" x="0" y="0" width="1500" height="2100" style="fill:none;"/><g id="Card1" serif:id="Card"><path d="M106,1345c-14.004,10.984 -27.519,38.948 -28,72c0.412,28.276 10.362,52.828 22,66.213l0,369.787c-3.201,-2.805 -6.201,-5.848 -9,-9.071l-0,-357.494l0,0.001c-11.723,-15.022 -21.577,-40.329 -21.999,-69.305c-0.001,-0.087 -0.001,-0.175 -0,-0.262c0.529,-36.359 16.039,-66.868 31.445,-78.951c1.584,-1.243 3.54,-1.918 5.554,-1.918l1288,0c2.014,0 3.97,0.675 5.554,1.918c15.406,12.083 30.916,42.592 31.445,78.951c0.001,0.087 0.001,0.175 0,0.262c-0.422,28.976 -10.276,54.283 -21.999,69.305l-0,-0.001l-0,357.494c-2.799,3.223 -5.799,6.266 -9,9.071l-0,-369.787c11.638,-13.385 21.588,-37.937 22,-66.213c-0.481,-33.052 -13.996,-61.016 -28,-72l-1288,0Zm-0,-1265l1288,0c2.014,0 3.97,0.675 5.554,1.918c15.406,12.083 30.916,42.592 31.445,78.951c0.001,0.087 0.001,0.175 0,0.262c-0.529,36.359 -16.039,66.868 -31.445,78.951c-1.584,1.243 -3.54,1.918 -5.554,1.918l-1288,-0c-2.014,-0 -3.97,-0.675 -5.554,-1.918c-15.406,-12.083 -30.916,-42.592 -31.445,-78.951c-0.001,-0.087 -0.001,-0.175 -0,-0.262c0.529,-36.359 16.039,-66.868 31.445,-78.951c1.584,-1.243 3.54,-1.918 5.554,-1.918Zm1288,9l-1288,0c-14.004,10.984 -27.519,38.948 -28,72c0.481,33.052 13.996,61.016 28,72l1288,-0c14.004,-10.984 27.519,-38.948 28,-72c-0.481,-33.052 -13.996,-61.016 -28,-72Z" style="fill:#0075be;"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -3,6 +3,8 @@ loadFramePacks([
{name:'Transform (Back)', value:'M15TransformBack'},
{name:'Color Identity Pips', value:'M15CIPips'},
{name:'Transform Icons', value:'M15TransformTypes'},
{name:'Other Cardtypes', value:'disabled'},
{name:'Sagas (Front)', value:'SagaDFC'},
{name:'Other Frames', value:'disabled'},
{name:'Borderless (Front)', value:'TransformBorderlessFront'},
{name:'Borderless (Back)', value:'TransformBorderlessBack'},

View File

@@ -10,7 +10,9 @@ availableFrames = [
{name:'Land', src:'/img/frames/m15/transform/icons/land.svg', bounds:bounds},
{name:'Planeswalker Ember', src:'/img/frames/m15/transform/icons/spark.svg', bounds:bounds},
{name:'Planeswalker Spark', src:'/img/frames/m15/transform/icons/planeswalker.svg', bounds:bounds},
{name:'Lesson', src:'/img/frames/m15/transform/icons/lesson.svg', bounds:bounds}
{name:'Lesson', src:'/img/frames/m15/transform/icons/lesson.svg', bounds:bounds},
{name:'Closed Fan', src:'/img/frames/m15/transform/icons/fanClosed.svg', bounds:bounds},
{name:'Open Fan', src:'/img/frames/m15/transform/icons/fanOpen.svg', bounds:bounds}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = true;

47
js/frames/packSagaDFC.js Normal file
View File

@@ -0,0 +1,47 @@
//Create objects for common properties across available frames
//var masks = [{src:'/img/frames/saga/sagaMaskPinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/saga/sagaMaskType.png', name:'Type'}, {src:'/img/frames/saga/sagaMaskFrame.png', name:'Frame'}, {src:'/img/frames/saga/sagaMaskBanner.png', name:'Banner'}, {src:'/img/frames/saga/sagaMaskBannerRight.png', name:'Banner (Right)'}, {src:'/img/frames/saga/sagaMaskText.png', name:'Text'}, {src:'/img/frames/saga/sagaMaskTextRight.png', name:'Text (Right)'}, {src:'/img/frames/saga/sagaMaskBorder.png', name:'Border'}];
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/saga/dfc/w.png', masks:masks},
{name:'Blue Frame', src:'/img/frames/saga/dfc/u.png', masks:masks},
{name:'Black Frame', src:'/img/frames/saga/dfc/b.png', masks:masks},
{name:'Red Frame', src:'/img/frames/saga/dfc/r.png', masks:masks},
{name:'Green Frame', src:'/img/frames/saga/dfc/g.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/saga/dfc/m.png', masks:masks},
{name:'Land Frame', src:'/img/frames/saga/dfc/l.png', masks:masks},
//{name:'Banner Pinstripe (Multicolored)', src:'/img/frames/saga/sagaMidStripe.png', bounds:{x:0.0727, y:0.3058, width:0.0087, height:0.4762}}
];
//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 = 'sagaDFC';
card.onload = '/js/frames/versionSaga.js';
loadScript('/js/frames/versionSaga.js');
//art bounds
card.artBounds = {x:0.5, y:0.1124, width:0.4247, height:0.7253};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9227, y:0.8739, width:0.12, height:0.0381, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:0.3027, y:0.4748, width:0.3547, height:0.6767};
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.16, y:0.0522, width:0.7547, height:0.0543, oneLine:true, font:'belerenb', size:0.0381},
type: {name:'Type', text:'', x:0.0854, y:0.8481, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324},
ability0: {name:'Ability 1', text:'', x:0.1334, y:0.2896, width:0.35, height:0.1786, size:0.0305},
ability1: {name:'Ability 2', text:'', x:0.1334, y:0, width:0.35, height:0.1786, size:0.0305},
ability2: {name:'Ability 3', text:'', x:0.1334, y:0, width:0.35, height:0.1786, size:0.0305},
ability3: {name:'Ability 4', text:'', x:0.1334, y:0, width:0.35, height:0, size:0.0305},
backPT: {name:'Reverse PT', text:'', x:0.08, y:0.7929, width:0.35, height:0.0362, size:0.0291, oneLine:true, color:'#666', font:'belerenbsc'},
reminder: {name:'Reminder Text', text:'{i}(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)', x:0.0867, y:0.1129, width:0.404, height:0.1772, size:0.03, shadowColor:'white'}
});
}
//loads available frames
loadFramePack();