modal cards
@@ -54,6 +54,7 @@
|
|||||||
<option value="m15Promo">Promo (Tall-Art)</option>
|
<option value="m15Promo">Promo (Tall-Art)</option>
|
||||||
<option value="m15Textless">Textless/Fullart</option>
|
<option value="m15Textless">Textless/Fullart</option>
|
||||||
<option value="expedition">Zendikar Expeditions</option>
|
<option value="expedition">Zendikar Expeditions</option>
|
||||||
|
<option value="modal">Modal (Incomplete)</option>
|
||||||
<option disabled value=''>Standalone Frames</option>
|
<option disabled value=''>Standalone Frames</option>
|
||||||
<option value="storybook">Eldraine Storybook</option>
|
<option value="storybook">Eldraine Storybook</option>
|
||||||
<option value="ixalan">Ixalan Maps</option>
|
<option value="ixalan">Ixalan Maps</option>
|
||||||
|
BIN
data/images/cardImages/modal/modalFrameA.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
data/images/cardImages/modal/modalFrameB.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
data/images/cardImages/modal/modalFrameG.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
data/images/cardImages/modal/modalFrameL.png
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
data/images/cardImages/modal/modalFrameM.png
Normal file
After Width: | Height: | Size: 1.3 MiB |
BIN
data/images/cardImages/modal/modalFrameR.png
Normal file
After Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 927 KiB After Width: | Height: | Size: 864 KiB |
BIN
data/images/cardImages/modal/modalFrameV.png
Normal file
After Width: | Height: | Size: 1013 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.0 MiB |
BIN
data/images/cardImages/modal/modalIconFront.png
Normal file
After Width: | Height: | Size: 1014 B |
BIN
data/images/cardImages/modal/modalMaskBorder.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
data/images/cardImages/modal/modalMaskFlipside.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
data/images/cardImages/modal/modalMaskFrame.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
data/images/cardImages/modal/modalMaskPinline.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
data/images/cardImages/modal/modalMaskText.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
data/images/cardImages/modal/modalMaskTitle.png
Normal file
After Width: | Height: | Size: 17 KiB |
25
data/scripts/versions/modal/regular.js
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
if (!loadedVersions.includes('modal/regular')) {
|
||||||
|
loadedVersions.push('modal/regular')
|
||||||
|
loadFrameImages([
|
||||||
|
['Front Icon', '/data/images/cardImages/modal/modalIconFront.png', 109/1500, 130/2100, 60/1500, 50/2100, ['Full']],
|
||||||
|
['White Frame (Front)', '/data/images/cardImages/modal/modalFrameW.png', 0, 0, 1, 1, ['Full', 'Flipside (modal)', 'Pinline (modal)', 'Title (modal)', 'Type (m15)', 'Rules (modal)', 'Frame (modal)', 'Border (modal)']],
|
||||||
|
['Blue Frame (Front)', '/data/images/cardImages/modal/modalFrameU.png', 0, 0, 1, 1, ['Full', 'Flipside (modal)', 'Pinline (modal)', 'Title (modal)', 'Type (m15)', 'Rules (modal)', 'Frame (modal)', 'Border (modal)']],
|
||||||
|
['Black Frame (Front)', '/data/images/cardImages/modal/modalFrameB.png', 0, 0, 1, 1, ['Full', 'Flipside (modal)', 'Pinline (modal)', 'Title (modal)', 'Type (m15)', 'Rules (modal)', 'Frame (modal)', 'Border (modal)']],
|
||||||
|
['Red Frame (Front)', '/data/images/cardImages/modal/modalFrameR.png', 0, 0, 1, 1, ['Full', 'Flipside (modal)', 'Pinline (modal)', 'Title (modal)', 'Type (m15)', 'Rules (modal)', 'Frame (modal)', 'Border (modal)']],
|
||||||
|
['Green Frame (Front)', '/data/images/cardImages/modal/modalFrameG.png', 0, 0, 1, 1, ['Full', 'Flipside (modal)', 'Pinline (modal)', 'Title (modal)', 'Type (m15)', 'Rules (modal)', 'Frame (modal)', 'Border (modal)']],
|
||||||
|
['Multicolored Frame (Front)', '/data/images/cardImages/modal/modalFrameM.png', 0, 0, 1, 1, ['Full', 'Flipside (modal)', 'Pinline (modal)', 'Title (modal)', 'Type (m15)', 'Rules (modal)', 'Frame (modal)', 'Border (modal)']],
|
||||||
|
['Artifact Frame (Front)', '/data/images/cardImages/modal/modalFrameA.png', 0, 0, 1, 1, ['Full', 'Flipside (modal)', 'Pinline (modal)', 'Title (modal)', 'Type (m15)', 'Rules (modal)', 'Frame (modal)', 'Border (modal)']],
|
||||||
|
['Land Frame (Front)', '/data/images/cardImages/modal/modalFrameL.png', 0, 0, 1, 1, ['Full', 'Flipside (modal)', 'Pinline (modal)', 'Title (modal)', 'Type (m15)', 'Rules (modal)', 'Frame (modal)', 'Border (modal)']],
|
||||||
|
['Vehicle Frame (Front)', '/data/images/cardImages/modal/modalFrameV.png', 0, 0, 1, 1, ['Full', 'Flipside (modal)', 'Pinline (modal)', 'Title (modal)', 'Type (m15)', 'Rules (modal)', 'Frame (modal)', 'Border (modal)']],
|
||||||
|
['White Power/Toughness', '/data/images/cardImages/m15/m15PTW.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Blue Power/Toughness', '/data/images/cardImages/m15/m15PTU.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Black Power/Toughness', '/data/images/cardImages/m15/m15PTB.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Red Power/Toughness', '/data/images/cardImages/m15/m15PTR.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Green Power/Toughness', '/data/images/cardImages/m15/m15PTG.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Multicolored Power/Toughness', '/data/images/cardImages/m15/m15PTM.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Artifact Power/Toughness', '/data/images/cardImages/m15/m15PTA.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||||
|
['Colorless Power/Toughness', '/data/images/cardImages/m15/m15PTC.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']]
|
||||||
|
], 'frameClassModalRegular')
|
||||||
|
}
|
||||||
|
|
||||||
|
hideFrameImages('frameClassModalRegular')
|
43
data/scripts/versions/modal/version.js
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
if (!loadedVersions.includes('modal/version')) {
|
||||||
|
loadedVersions.push('modal/version')
|
||||||
|
loadMaskImages([['Flipside (modal)', '/data/images/cardImages/modal/modalMaskFlipside.png'], ['Border (modal)', '/data/images/cardImages/modal/modalMaskBorder.png'], ['Pinline (modal)', '/data/images/cardImages/modal/modalMaskPinline.png'], ['Title (modal)', '/data/images/cardImages/modal/modalMaskTitle.png'], ['Rules (modal)', '/data/images/cardImages/modal/modalMaskText.png'], ['Frame (modal)', '/data/images/cardImages/modal/modalMaskFrame.png']])
|
||||||
|
notify("The front halves of modal cards are fully functional, but at this moment we do not have the back faces complete.", '#ffffaae0')
|
||||||
|
}
|
||||||
|
|
||||||
|
if (currentVersion != 'modal/version') {
|
||||||
|
currentVersion = 'modal/version'
|
||||||
|
|
||||||
|
artX = scaleX(115 / 1500)
|
||||||
|
artY = scaleY(237 / 2100)
|
||||||
|
artWidth = scaleX(1270 / 1500)
|
||||||
|
artHeight = scaleY(929 / 2100)
|
||||||
|
|
||||||
|
manaCostXPath = '1316 - 78 * manaSymbolIndex'
|
||||||
|
manaCostYPath = '121'
|
||||||
|
manaCostDiameter = '70'
|
||||||
|
manaCostShadowOffset = '[-2, 6]'
|
||||||
|
manaCostDirection = 'reverse'
|
||||||
|
|
||||||
|
setSymbolX = [scaleX(1382/1500), 'right']
|
||||||
|
setSymbolY = [scaleY(1241/2100), 'center']
|
||||||
|
setSymbolWidth = scaleX(180/1500)
|
||||||
|
setSymbolHeight = scaleY(86/2100)
|
||||||
|
|
||||||
|
watermarkX = scaleX(0.5)
|
||||||
|
watermarkY = scaleY(1630/2100)
|
||||||
|
watermarkWidth = scaleX(1140/1500)
|
||||||
|
watermarkHeight = scaleY(484/2100)
|
||||||
|
|
||||||
|
bottomInfoFunction = 'bottomInfoM15'
|
||||||
|
|
||||||
|
loadTextOptions([
|
||||||
|
new cardText('Card Title', '', 242/1500, 188/2100, 1132/1500, 80/2100, 'belerenb', 80/2100, 'black', ['oneLine=true']),
|
||||||
|
new cardText('Card Type', '', 126/1500, 1264/2100, 1248/1500, 68/2100, 'belerenb', 68/2100, 'black', ['oneLine=true']),
|
||||||
|
new cardText('Rules Text', '', 135/1500, 1370/2100, 1230/1500, 625/2100, 'mplantin', 74/2100, 'black'),
|
||||||
|
new cardText('Flipside Type', '', 102/1500, 1927/2100, 546/1500, 49/2100, 'belerenb', 49/2100, 'white', ['oneLine=true']),
|
||||||
|
new cardText('Flipside Reminder', '', 102/1500, 1929/2100, 546/1500, 54/2100, 'mplantin', 54/2100, 'white', ['oneLine=true', 'textAlign="right"']),
|
||||||
|
new cardText('Power/Toughness', '', 1191/1500, 1954/2100, 205/1500, 78/2100, 'belerenbsc', 78/2100, 'black', ['oneLine=true,textAlign="center"'])
|
||||||
|
])
|
||||||
|
}
|
||||||
|
|
||||||
|
loadFramePackOptions([['regular', 'Regular']])
|