classicshifted mdfcs

This commit is contained in:
Kyle
2021-12-05 14:10:23 -08:00
parent 326648a778
commit 4b0e430424
25 changed files with 88 additions and 5 deletions

View File

@@ -618,11 +618,9 @@ include('../globalHTML/header-1.php');
<h4>Gwynayne W.</h4>
<h4>Cesar P.</h4>
<h4>Bradley C.</h4>
<h4>Austin T.</h4>
<h4>Guillaume D.</h4>
<h4>Beezchurgr</h4>
<h4>John C.</h4>
<h4>Joel T.</h4>
<h4>Michael J.</h4>
<h4>Benjamin D.</h4>
<h4>Brent O.</h4>
@@ -642,6 +640,7 @@ include('../globalHTML/header-1.php');
<h4>Westane</h4>
<h4>MoldyAce</h4>
<h4>Kerby</h4>
<h4>Taya</h4>
</div>
<h4 class='margin-bottom'>And of course, thank you to all of those who have made donations in the past.</h4>
<div class='supporters margin-bottom'>
@@ -664,6 +663,8 @@ include('../globalHTML/header-1.php');
<h4>DaveO J.</h4>
<h4>Logan D.</h4>
<h4>Marcos N.</h4>
<h4>Austin T.</h4>
<h4>Joel T.</h4>
</div>
<h5 class='input-description'>(Please contact me if you would like your name/nickname changed.)</h5>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

@@ -1,13 +1,16 @@
loadFramePacks([
{name:'Misc. Custom Frames', value:'MiscCustom'},
{name:'Deck Covers', value:'CustomDeckCover'},
{name:'Simple Inventions', value:'SimpleInventions'},
{name:'Tapped (Horizontal M15)', value:'Tapped'},
{name:'Textless Duals', value:'CustomDualLands'},
{name:'Classicshifted Series', value:'disabled'},
{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'},
{name:'Classicshifted MDFC Addons', value:'ClassicshiftedDFC'},
{name:'Color Identity Pips', value:'ClassicshiftedCIPips'},
{name:'Showcase Frame Varients', value:'disabled'},
{name:'Textless Equinox (MID)', value:'EquinoxTextless'},
{name:'Horizontal Japanese Mystical Archive (STA)', value:'MysticalArchiveJPHorizontal'},

View File

@@ -0,0 +1,20 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/m15/ciPips/firstHalf.svg', name:'First Half'}, {src:'/img/frames/m15/ciPips/secondHalf.svg', name:'Second Half'}, {src:'/img/frames/m15/ciPips/firstThird.svg', name:'First Third'}, {src:'/img/frames/m15/ciPips/secondThird.svg', name:'Second Third'}, {src:'/img/frames/m15/ciPips/thirdThird.svg', name:'Third Third'}];
var bounds = {x:-0.0034, y:0.0058, width:1, height:1};
//defines available frames
availableFrames = [
{name:'White Pip', src:'/img/frames/m15/ciPips/w.svg', masks:masks, complementary:5, bounds:bounds},
{name:'Blue Pip', src:'/img/frames/m15/ciPips/u.svg', masks:masks, complementary:5, bounds:bounds},
{name:'Black Pip', src:'/img/frames/m15/ciPips/b.svg', masks:masks, complementary:5, bounds:bounds},
{name:'Red Pip', src:'/img/frames/m15/ciPips/r.svg', masks:masks, complementary:5, bounds:bounds},
{name:'Green Pip', src:'/img/frames/m15/ciPips/g.svg', masks:masks, complementary:5, bounds:bounds},
{name:'Color Identity Pip Base', src:'/img/frames/m15/ciPips/base.png', bounds:{x:0.0734, y:0.5805, width:0.0467, height:0.0334}}
];
// notify
notify('When using color identity pips, we recommend that you shift your Type text to the right with "{right66}".', 15);
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = true;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = null;
//loads available frames
loadFramePack();

View File

@@ -0,0 +1,46 @@
//Create objects for common properties across available frames
var bounds1 = {x:0.048, y:0.0367, width:0.0834, height:0.8805};
var bounds2 = {x:0.0314, y:0.8896, width:0.4354, height:0.041};
//defines available frames
availableFrames = [
{name:'White MDFC Flipside', src:'/img/frames/custom/classicshifted/mdfc/w.png', bounds:bounds2},
{name:'Blue MDFC Flipside', src:'/img/frames/custom/classicshifted/mdfc/u.png', bounds:bounds2},
{name:'Black MDFC Flipside', src:'/img/frames/custom/classicshifted/mdfc/b.png', bounds:bounds2},
{name:'Red MDFC Flipside', src:'/img/frames/custom/classicshifted/mdfc/r.png', bounds:bounds2},
{name:'Green MDFC Flipside', src:'/img/frames/custom/classicshifted/mdfc/g.png', bounds:bounds2},
{name:'Multicolored MDFC Flipside', src:'/img/frames/custom/classicshifted/mdfc/m.png', bounds:bounds2},
{name:'Artifact MDFC Flipside', src:'/img/frames/custom/classicshifted/mdfc/a.png', bounds:bounds2},
{name:'Land MDFC Flipside', src:'/img/frames/custom/classicshifted/mdfc/l.png', bounds:bounds2},
{name:'Front Face', src:'/img/frames/custom/classicshifted/mdfc/mdfcFront.png', bounds:bounds1},
{name:'Back Face', src:'/img/frames/custom/classicshifted/mdfc/mdfcBack.png', bounds:bounds1}
];
//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 = 'classicshifted';
//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.14, y:0.0372, width:0.748, 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},
flipsideType: {name:'Flipside Type', text:'', x:0.068, y:0.892, width:0.364, height:0.0391, size:0.0234, color:'white', oneLine:true, font:'belerenb'},
flipSideReminder: {name:'Flipside Text', text:'', x:0.068, y:0.892, width:0.364, height:0.0391, size:0.0258, color:'white', oneLine:true, align:'right'},
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();

View File

@@ -23,6 +23,19 @@ if (!loadedVersions.includes('/js/frames/versionQRCode.js')) {
<h5 class='padding margin-bottom input-description'>Enter the URL of your decklist:</h5>
<input id='qr-code-url' class='input' type='URL' oninput='updateQRCode(this.value);'>
</div>
<!--<div class='readable-background padding'>
<h5 class='padding margin-bottom input-description'>Select the QR code color:</h5>
<select id='dungeon-color' class='input' onchange='dungeonEditedBuffer();'>
<option value="#fff" selected="selected">True White</option>
<option value="W">White</option>
<option value="U">Blue</option>
<option value="B">Black</option>
<option value="R">Red</option>
<option value="G">Green</option>
<option value="M">Multicolored</option>
<option value="C">Colorless</option>
</select>
</div>-->
`;
document.querySelector('#creator-menu-sections').appendChild(newHTML);
loadScript('/js/qrious.min.js');