diff --git a/creator/index.php b/creator/index.php index 46907e18..ad6d0a3e 100644 --- a/creator/index.php +++ b/creator/index.php @@ -640,6 +640,7 @@ include('../globalHTML/header-1.php');

Endiron

Beezchurgr

John C.

+

Michael J.

Benjamin D.

Brent O.

Austin M.

@@ -674,6 +675,7 @@ include('../globalHTML/header-1.php');

Morgan S.

Jonathan D.

Jay S.

+

Louis C.

James T.

And of course, thank you to all of those who have made donations in the past.

@@ -709,7 +711,6 @@ include('../globalHTML/header-1.php');

J. Skene

Cesar P.

Elizabeth S.

-

Michael J.

Andrew K.

Wren

Camille D.

diff --git a/img/frames/m15/transform/icons/fanClosed.svg b/img/frames/m15/transform/icons/fanClosed.svg new file mode 100644 index 00000000..b34221fd --- /dev/null +++ b/img/frames/m15/transform/icons/fanClosed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/frames/m15/transform/icons/fanClosedThumb.png b/img/frames/m15/transform/icons/fanClosedThumb.png new file mode 100644 index 00000000..b67015ef Binary files /dev/null and b/img/frames/m15/transform/icons/fanClosedThumb.png differ diff --git a/img/frames/m15/transform/icons/fanOpen.svg b/img/frames/m15/transform/icons/fanOpen.svg new file mode 100644 index 00000000..f2c0f0ad --- /dev/null +++ b/img/frames/m15/transform/icons/fanOpen.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/frames/m15/transform/icons/fanOpenThumb.png b/img/frames/m15/transform/icons/fanOpenThumb.png new file mode 100644 index 00000000..efb470e1 Binary files /dev/null and b/img/frames/m15/transform/icons/fanOpenThumb.png differ diff --git a/img/frames/saga/dfc/b.png b/img/frames/saga/dfc/b.png new file mode 100644 index 00000000..fa43fb3f Binary files /dev/null and b/img/frames/saga/dfc/b.png differ diff --git a/img/frames/saga/dfc/bThumb.png b/img/frames/saga/dfc/bThumb.png new file mode 100644 index 00000000..f5d7826d Binary files /dev/null and b/img/frames/saga/dfc/bThumb.png differ diff --git a/img/frames/saga/dfc/g.png b/img/frames/saga/dfc/g.png new file mode 100644 index 00000000..909bdfb2 Binary files /dev/null and b/img/frames/saga/dfc/g.png differ diff --git a/img/frames/saga/dfc/gThumb.png b/img/frames/saga/dfc/gThumb.png new file mode 100644 index 00000000..2a0fe43f Binary files /dev/null and b/img/frames/saga/dfc/gThumb.png differ diff --git a/img/frames/saga/dfc/l.png b/img/frames/saga/dfc/l.png new file mode 100644 index 00000000..5869e1c7 Binary files /dev/null and b/img/frames/saga/dfc/l.png differ diff --git a/img/frames/saga/dfc/lThumb.png b/img/frames/saga/dfc/lThumb.png new file mode 100644 index 00000000..a3fe55a2 Binary files /dev/null and b/img/frames/saga/dfc/lThumb.png differ diff --git a/img/frames/saga/dfc/m.png b/img/frames/saga/dfc/m.png new file mode 100644 index 00000000..1c99fc47 Binary files /dev/null and b/img/frames/saga/dfc/m.png differ diff --git a/img/frames/saga/dfc/mThumb.png b/img/frames/saga/dfc/mThumb.png new file mode 100644 index 00000000..b1cb97c1 Binary files /dev/null and b/img/frames/saga/dfc/mThumb.png differ diff --git a/img/frames/saga/dfc/r.png b/img/frames/saga/dfc/r.png new file mode 100644 index 00000000..8bc51b1d Binary files /dev/null and b/img/frames/saga/dfc/r.png differ diff --git a/img/frames/saga/dfc/rThumb.png b/img/frames/saga/dfc/rThumb.png new file mode 100644 index 00000000..fd38ea1e Binary files /dev/null and b/img/frames/saga/dfc/rThumb.png differ diff --git a/img/frames/saga/dfc/u.png b/img/frames/saga/dfc/u.png new file mode 100644 index 00000000..6b148d69 Binary files /dev/null and b/img/frames/saga/dfc/u.png differ diff --git a/img/frames/saga/dfc/uThumb.png b/img/frames/saga/dfc/uThumb.png new file mode 100644 index 00000000..63fdcaca Binary files /dev/null and b/img/frames/saga/dfc/uThumb.png differ diff --git a/img/frames/saga/dfc/w.png b/img/frames/saga/dfc/w.png new file mode 100644 index 00000000..812112bf Binary files /dev/null and b/img/frames/saga/dfc/w.png differ diff --git a/img/frames/saga/dfc/wThumb.png b/img/frames/saga/dfc/wThumb.png new file mode 100644 index 00000000..739e1868 Binary files /dev/null and b/img/frames/saga/dfc/wThumb.png differ diff --git a/img/frames/token/regular/bevel.svg b/img/frames/token/regular/bevel.svg index b188b258..b157df68 100644 --- a/img/frames/token/regular/bevel.svg +++ b/img/frames/token/regular/bevel.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/js/frames/groupDFC.js b/js/frames/groupDFC.js index 7f357b08..37f18bc4 100644 --- a/js/frames/groupDFC.js +++ b/js/frames/groupDFC.js @@ -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'}, diff --git a/js/frames/packM15TransformTypes.js b/js/frames/packM15TransformTypes.js index b8c60fe8..a93d7859 100644 --- a/js/frames/packM15TransformTypes.js +++ b/js/frames/packM15TransformTypes.js @@ -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; diff --git a/js/frames/packSagaDFC.js b/js/frames/packSagaDFC.js new file mode 100644 index 00000000..68f8ae82 --- /dev/null +++ b/js/frames/packSagaDFC.js @@ -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(); \ No newline at end of file