legends multicolored

This commit is contained in:
Kyle
2020-08-20 11:09:45 -07:00
parent 856ddd8e56
commit 0ff9bb796b
4 changed files with 59 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

View File

@@ -0,0 +1,9 @@
if (!loadedVersions.includes('legends/regular')) {
loadedVersions.push('legends/regular')
loadFrameImages([
['Multicolored Frame', '/data/images/cardImages/legends/legendsFrameM.png', 0, 0, 1, 1, ['Full']],
['Foil Stamp', '/data/images/cardImages/seventh/seventhFoilStamp.png', 81/744, 867/1039, 300/744, 115/1039, ['Full']]
], 'frameClassLegendsRegular')
}
hideFrameImages('frameClassLegendsRegular')

View File

@@ -0,0 +1,49 @@
if (!loadedVersions.includes('legends/version')) {
loadedVersions.push('legends/version')
}
if (currentVersion != 'legends/version') {
currentVersion = 'legends/version'
artX = scaleX(162 / 1500)
artY = scaleY(194 / 2100)
artWidth = scaleX(1176 / 1500)
artHeight = scaleY(950 / 2100)
manaCostXPath = '1306 - 83 * manaSymbolIndex'
manaCostYPath = '88'
manaCostDiameter = '72'
manaCostShadowOffset = '[0, 0]'
manaCostDirection = 'reverse'
setSymbolX = [scaleX(1378/1500), 'right']
setSymbolY = [scaleY(1216/2100), 'center']
setSymbolWidth = scaleX(162/1500)
setSymbolHeight = scaleY(72/2100)
watermarkX = scaleX(0.5)
watermarkY = scaleY(1630/2100)
watermarkWidth = scaleX(1140/1500)
watermarkHeight = scaleY(484/2100)
bottomInfoFunction = 'bottomInfoLegends'
loadTextOptions([
new cardText('Card Title', '', 124/1500, 150/2100, 1252/1500, 89/2100, 'goudymedieval', 89/2100, '#eee', ['oneLine=true','shadow=' + scaleY(3/2100)]),
new cardText('Card Type', '', 154/1500, 1231/2100, 1192/1500, 69/2100, 'mplantin', 69/2100, '#eee', ['oneLine=true','shadow=' + scaleY(3/2100)]),
new cardText('Rules Text', '', 196/1500, 1327/2100, 1108/1500, 590/2100, 'mplantin', 73/2100, 'black'),
new cardText('Power/Toughness', '', 1212/1500, 1980/2100, 230/1500, 70/2100, 'mplantin', 87/2100, '#eee', ['oneLine=true,textAlign="center"','shadow=' + scaleY(3/2100)])
])
}
loadFramePackOptions([['regular', 'Regular']])
function bottomInfoLegends() {
bottomInfoContext.clearRect(0, 0, cardWidth, cardHeight)
writeText(
[
{text: 'Illus: ' + document.getElementById('inputInfoArtist').value, x: 150/1500, y: 1932/2100, width: 1200/1500, height: 60/2100, font: 'mplantin', fontSize: 60/2100, fontColor: '#eee', otherParameters: ['oneLine=true','shadow=' + scaleY(3/2100)]},
{text: '\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x: 150/1500, y: 1976/2100, width: 1200/1500, height: 36/2100, font: 'mplantin', fontSize: 36/2100, fontColor: '#eee', otherParameters: ['oneLine=true','shadow=' + scaleY(3/2100)]},
{text: 'NOT FOR SALE CardConjurer.com', x: 150/1500, y: 2008/2100, width: 1200/1500, height: 30/2100, font: 'mplantin', fontSize: 30/2100, fontColor: '#eee', otherParameters: ['oneLine=true','shadow=' + scaleY(3/2100)]},
], bottomInfoContext)
}