textless inventions
BIN
data/images/m15Textless/m15TextlessFrameInvention.png
Normal file
After Width: | Height: | Size: 841 KiB |
BIN
data/images/m15Textless/m15TextlessFrameInventionA.png
Normal file
After Width: | Height: | Size: 691 KiB |
BIN
data/images/m15Textless/m15TextlessFrameInventionB.png
Normal file
After Width: | Height: | Size: 719 KiB |
BIN
data/images/m15Textless/m15TextlessFrameInventionG.png
Normal file
After Width: | Height: | Size: 805 KiB |
BIN
data/images/m15Textless/m15TextlessFrameInventionM.png
Normal file
After Width: | Height: | Size: 796 KiB |
BIN
data/images/m15Textless/m15TextlessFrameInventionR.png
Normal file
After Width: | Height: | Size: 816 KiB |
BIN
data/images/m15Textless/m15TextlessFrameInventionU.png
Normal file
After Width: | Height: | Size: 746 KiB |
BIN
data/images/m15Textless/m15TextlessFrameInventionW.png
Normal file
After Width: | Height: | Size: 655 KiB |
BIN
data/images/m15Textless/m15TextlessMaskBorder.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
data/images/m15Textless/m15TextlessMaskInvention.png
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
data/images/m15Textless/m15TextlessMaskPinline.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
data/images/m15Textless/m15TextlessMaskType.png
Normal file
After Width: | Height: | Size: 18 KiB |
16
data/scripts/versions/m15Textless/floatingCrowns.js
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
if (!loadedVersions.includes('m15FloatingCrowns')) {
|
||||||
|
loadedVersions.push("m15FloatingCrowns")
|
||||||
|
loadFrameImages([
|
||||||
|
['White Floating Legend Crown', 'data/images/m15/m15CrownFloatingW.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||||
|
['Blue Floating Legend Crown', 'data/images/m15/m15CrownFloatingU.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||||
|
['Black Floating Legend Crown', 'data/images/m15/m15CrownFloatingB.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||||
|
['Red Floating Legend Crown', 'data/images/m15/m15CrownFloatingR.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||||
|
['Green Floating Legend Crown', 'data/images/m15/m15CrownFloatingG.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||||
|
['Multicolored Floating Legend Crown', 'data/images/m15/m15CrownFloatingM.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||||
|
['Artifact Floating Legend Crown', 'data/images/m15/m15CrownFloatingA.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||||
|
['Land Floating Legend Crown', 'data/images/m15/m15CrownFloatingL.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||||
|
['Legend Crown Border Cover', 'data/images/black.png', 59/1500, 58/2100, 1384/1500, 37/2100, ['Full']]
|
||||||
|
], 'frameClassM15FloatingCrowns')
|
||||||
|
}
|
||||||
|
|
||||||
|
hideFrameImages('frameClassM15FloatingCrowns')
|
23
data/scripts/versions/m15Textless/regular.js
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
if (!loadedVersions.includes('m15TextlessInvention')) {
|
||||||
|
loadedVersions.push('m15TextlessInvention')
|
||||||
|
loadFrameImages([
|
||||||
|
['Invention Frame', 'data/images/m15Textless/m15TextlessFrameInvention.png', 0, 0, 1, 1, ['Full', 'Pinline (m15 Textless)', 'Title (m15)', 'Type (m15 Textless)', 'Invention (m15 Textless)', 'Border (m15 Textless)']],
|
||||||
|
['Invention Power/Toughness', 'data/images/invention/inventionPT.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['White Invention Frame', 'data/images/m15Textless/m15TextlessFrameInventionW.png', 0, 0, 1, 1, ['Full', 'Pinline (m15 Textless)', 'Title (m15)', 'Type (m15 Textless)', 'Invention (m15 Textless)', 'Border (m15 Textless)']],
|
||||||
|
['Blue Invention Frame', 'data/images/m15Textless/m15TextlessFrameInventionU.png', 0, 0, 1, 1, ['Full', 'Pinline (m15 Textless)', 'Title (m15)', 'Type (m15 Textless)', 'Invention (m15 Textless)', 'Border (m15 Textless)']],
|
||||||
|
['Black Invention Frame', 'data/images/m15Textless/m15TextlessFrameInventionB.png', 0, 0, 1, 1, ['Full', 'Pinline (m15 Textless)', 'Title (m15)', 'Type (m15 Textless)', 'Invention (m15 Textless)', 'Border (m15 Textless)']],
|
||||||
|
['Red Invention Frame', 'data/images/m15Textless/m15TextlessFrameInventionR.png', 0, 0, 1, 1, ['Full', 'Pinline (m15 Textless)', 'Title (m15)', 'Type (m15 Textless)', 'Invention (m15 Textless)', 'Border (m15 Textless)']],
|
||||||
|
['Green Invention Frame', 'data/images/m15Textless/m15TextlessFrameInventionG.png', 0, 0, 1, 1, ['Full', 'Pinline (m15 Textless)', 'Title (m15)', 'Type (m15 Textless)', 'Invention (m15 Textless)', 'Border (m15 Textless)']],
|
||||||
|
['Multicolored Invention Frame', 'data/images/m15Textless/m15TextlessFrameInventionM.png', 0, 0, 1, 1, ['Full', 'Pinline (m15 Textless)', 'Title (m15)', 'Type (m15 Textless)', 'Invention (m15 Textless)', 'Border (m15 Textless)']],
|
||||||
|
['Artifact Invention Frame', 'data/images/m15Textless/m15TextlessFrameInventionA.png', 0, 0, 1, 1, ['Full', 'Pinline (m15 Textless)', 'Title (m15)', 'Type (m15 Textless)', 'Invention (m15 Textless)', 'Border (m15 Textless)']],
|
||||||
|
['White Power/Toughness', 'data/images/m15/m15PTW.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Blue Power/Toughness', 'data/images/m15/m15PTU.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Black Power/Toughness', 'data/images/m15/m15PTB.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Red Power/Toughness', 'data/images/m15/m15PTR.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Green Power/Toughness', 'data/images/m15/m15PTG.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Multicolored Power/Toughness', 'data/images/m15/m15PTM.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Artifact Power/Toughness', 'data/images/m15/m15PTA.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']]
|
||||||
|
], 'frameClassM15TextlessInvention')
|
||||||
|
}
|
||||||
|
|
||||||
|
hideFrameImages('frameClassM15TextlessInvention')
|
59
data/scripts/versions/m15Textless/version.js
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
if (!loadedVersions.includes('m15Textless')) {
|
||||||
|
loadedVersions.push('m15Textless')
|
||||||
|
loadMaskImages([['Border (m15 Textless)', 'data/images/m15Textless/m15TextlessMaskBorder.png'], ['Pinline (m15 Textless)', 'data/images/m15Textless/m15TextlessMaskPinline.png'], ['Type (m15 Textless)', 'data/images/m15Textless/m15TextlessMaskType.png'], ['Invention (m15 Textless)', 'data/images/m15Textless/m15TextlessMaskInvention.png']])
|
||||||
|
}
|
||||||
|
|
||||||
|
if (currentVersion != 'm15Textless') {
|
||||||
|
currentVersion = 'm15Textless'
|
||||||
|
|
||||||
|
loadTextOptions([
|
||||||
|
new cardText('Card Title', '', 126/1500, 188/2100, 1248/1500, 80/2100, 'belerenb', 80/2100, 'black', ['oneLine=true']),
|
||||||
|
new cardText('Card Type', '', 126/1500, 1827/2100, 1248/1500, 68/2100, 'belerenb', 68/2100, 'black', ['oneLine=true']),
|
||||||
|
new cardText('Power/Toughness', '', 1191/1500, 1954/2100, 205/1500, 78/2100, 'belerenbsc', 78/2100, 'black', ['oneLine=true,textAlign="center"'])
|
||||||
|
])
|
||||||
|
|
||||||
|
artX = scaleX(60 / 1500)
|
||||||
|
artY = scaleY(60 / 2100)
|
||||||
|
artWidth = scaleX(1380 / 1500)
|
||||||
|
artHeight = scaleY(1888 / 2100)
|
||||||
|
|
||||||
|
manaCostXPath = '1316 - 78 * manaSymbolIndex'
|
||||||
|
manaCostYPath = '121'
|
||||||
|
manaCostDiameter = '70'
|
||||||
|
manaCostShadowOffset = '[-2, 6]'
|
||||||
|
manaCostDirection = 'reverse'
|
||||||
|
|
||||||
|
setSymbolX = [scaleX(1382/1500), 'right']
|
||||||
|
setSymbolY = [scaleY(1804/2100), 'center']
|
||||||
|
setSymbolWidth = scaleX(180/1500)
|
||||||
|
setSymbolHeight = scaleY(86/2100)
|
||||||
|
|
||||||
|
watermarkX = 0
|
||||||
|
watermarkY = 0
|
||||||
|
watermarkWidth = scaleX(1/1500)
|
||||||
|
watermarkHeight = scaleY(1/2100)
|
||||||
|
|
||||||
|
bottomInfoFunction = 'bottomInfoM15'
|
||||||
|
|
||||||
|
bottomInfoUpdated()
|
||||||
|
}
|
||||||
|
|
||||||
|
loadFramePackOptions([['regular', 'Regular'], ['floatingCrowns', 'Floating Crowns']])
|
||||||
|
|
||||||
|
function bottomInfoM15() {
|
||||||
|
bottomInfoContext.clearRect(0, 0, cardWidth, cardHeight)
|
||||||
|
var ptBoxShift = 0
|
||||||
|
for (var i = 0; i < cardTextList.length; i++) {
|
||||||
|
if (cardTextList[i].name == 'Power/Toughness' && cardTextList[i].text != '') {
|
||||||
|
ptBoxShift = 36/2100
|
||||||
|
}
|
||||||
|
}
|
||||||
|
writeText(
|
||||||
|
[
|
||||||
|
{text: document.getElementById('inputInfoSet').value + '{right' + scaleX(0.005) + '}\u2605{right' + scaleX(0.005) + '}' + document.getElementById('inputInfoLanguage').value + ' {saveTextX}{artistbrush}{fontbelerenbsc}' + document.getElementById('inputInfoArtist').value, x: 97/1500, y: 2026/2100, width: 1306/1500, height: 36/2100, font: 'gothammedium', fontSize: 36/2100, fontColor: 'white', otherParameters: ['oneLine=true']},
|
||||||
|
{text: document.getElementById('inputInfoNumber').value + '{loadTextX}' + document.getElementById('inputInfoRarity').value, x: 97/1500, y: 1990/2100, width: 1306/1500, height: 36/2100, font: 'gothammedium', fontSize: 36/2100, fontColor: 'white', otherParameters: ['oneLine=true']},
|
||||||
|
{text: '{right}\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x: 97/1500, y: 1990/2100 + ptBoxShift, width: 1306/1500, height: 35/2100, font: 'mplantin', fontSize: 35/2100, fontColor: 'white', otherParameters: ['oneLine=true']},
|
||||||
|
{text: 'NOT FOR SALE', x: 97/1500, y: 2058/2100, width: 1306/1500, height: 30/2100, font: 'gothammedium', fontSize: 30/2100, fontColor: 'white', otherParameters: ['oneLine=true']},
|
||||||
|
{text: '{right}CardConjurer.com', x: 97/1500, y: 2022/2100 + ptBoxShift, width: 1306/1500, height: 30/2100, font: 'mplantin', fontSize: 30/2100, fontColor: 'white', otherParameters: ['oneLine=true']}
|
||||||
|
], bottomInfoContext)
|
||||||
|
}
|
@@ -47,6 +47,7 @@
|
|||||||
<select id="inputFrameVersion" onchange="loadScript('data/scripts/versions/' + this.value + '/version.js')">
|
<select id="inputFrameVersion" onchange="loadScript('data/scripts/versions/' + this.value + '/version.js')">
|
||||||
<option value="m15">M15</option>
|
<option value="m15">M15</option>
|
||||||
<option value="m15Promo">M15 Promo</option>
|
<option value="m15Promo">M15 Promo</option>
|
||||||
|
<option value="m15Textless">Textless Kaladesh Inventions</option>
|
||||||
<option value="m15Planeswalker">M15 Planeswalker</option>
|
<option value="m15Planeswalker">M15 Planeswalker</option>
|
||||||
<option value="storybook">Storybook</option>
|
<option value="storybook">Storybook</option>
|
||||||
<option value="future">Future Shifted</option>
|
<option value="future">Future Shifted</option>
|
||||||
|