pw
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
30
data/borders/fullArtLandM15/border.js
Normal file
@@ -0,0 +1,30 @@
|
||||
//============================================//
|
||||
// Full Art Land M15 Border //
|
||||
//============================================//
|
||||
//General Booleans
|
||||
cardData.miracle = false
|
||||
cardData.nyx = false
|
||||
cardData.legendary = false
|
||||
cardData.creature = false
|
||||
cardData.rulesBox = false
|
||||
cardData.rareStamp = false
|
||||
//Specific Values
|
||||
cardData.cardArtX = 60
|
||||
cardData.cardArtY = 120
|
||||
cardData.typeY = cheight(903)
|
||||
cardData.setSymbolY = cheight(893)
|
||||
cardData.watermarkY = cheight(886)
|
||||
cardData.watermarkWidth = cwidth(110)
|
||||
cardData.watermarkHeight = cheight(110)
|
||||
//Images
|
||||
imgArtMask.load("data/borders/fullArtLandM15/imgArtMask.png")
|
||||
imgFrameMask.load("data/borders/fullArtLandM15/imgFrameMask.png")
|
||||
imgPinlineMask.load("data/borders/fullArtLandM15/imgPinlineMask.png")
|
||||
imgTitleMask.load("data/borders/fullArtLandM15/imgTitleMask.png")
|
||||
imgTypeMask.load("data/borders/fullArtLandM15/imgTypeMask.png")
|
||||
//Loads the Colors
|
||||
loadColors("white-White,blue-Blue,black-Black,red-Red,green-Green,gold-Gold,colorless-Colorless")
|
||||
//Runs the things!
|
||||
sectionTextFunction()
|
||||
sectionFrameFunction()
|
||||
sectionOtherFunction()
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 2.6 KiB |
@@ -1,59 +0,0 @@
|
||||
imgMultiMask.src = borderPath + "multiMask.png"
|
||||
imgFrameMask.src = borderPath + "frameMask.png"
|
||||
imgBorderMask.src = borderPath + "frameMask.png"
|
||||
|
||||
var titleFont = "44px matrixb"
|
||||
var titleFontSpacing = "0.5px"
|
||||
var titleX = 66
|
||||
var titleY = 62
|
||||
|
||||
var manaCostRadius = 16.5
|
||||
var manaCostX = 652
|
||||
var manaCostY = 68
|
||||
|
||||
var typeFont = "37.5px matrixb"
|
||||
var typeFontSpacing = "0px"
|
||||
var typeX = 74
|
||||
var typeY = 598
|
||||
|
||||
var textFont = "px mplantin"
|
||||
var textFontSpacing = 1.2
|
||||
var textX = 76
|
||||
var textY = 656
|
||||
var textWidth = 680
|
||||
|
||||
var ptFont = "bold 48px matrix"
|
||||
var ptFontSpacing = "0.3px"
|
||||
var ptTextX = 626
|
||||
var ptTextY = 936
|
||||
imgBorderCreature.imgValues(541, 920.5, 162, 84)
|
||||
|
||||
var infoY = 956
|
||||
|
||||
var setSymbolY = 615
|
||||
var setSymbolRight = 689
|
||||
var setSymbolWidth = 77
|
||||
var setSymbolHeight = 44
|
||||
|
||||
var watermarkWidth = 520
|
||||
var watermarkHeight = 208
|
||||
var watermarkY = 796
|
||||
|
||||
var rareStampY = 958
|
||||
|
||||
loadColors("white-White,whiteLand-White Land,blue-Blue,blueLand-Blue Land,black-Black,blackLand-Black Land,red-Red,redLand-Red Land,green-Green,greenLand-Green Land,gold-Gold,goldLand-Gold Land,colorless-Colorless,colorlessLand-Colorless Land,artifact-Artifact,oldArtifact-Old Artifact,oldGold-Old Gold,oldGoldLand-Old Gold Land")
|
||||
document.getElementById("secondColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
|
||||
document.getElementById("thirdColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
|
||||
|
||||
finishTemplate()
|
||||
|
||||
var uniqueFunctionName = "bottomInfo8th"
|
||||
function bottomInfo8th() {
|
||||
card.fillStyle = document.getElementById("inputInfoColor").value
|
||||
canvas.style.letterSpacing = "1px"
|
||||
card.font = "25px matrixb"
|
||||
card.fillText(document.getElementById("inputArtist").value, 116, infoY + textBaselineShift[0] * card.font.split("px")[0])
|
||||
canvas.style.letterSpacing = "0.5px"
|
||||
card.font = "16px mplantin"
|
||||
card.fillText("CC \u2014 " + document.getElementById("inputInfo").value + " " + document.getElementById("inputNumber").value, 62, infoY + 31 + textBaselineShift[0] * card.font.split("px")[0])
|
||||
}
|
Before Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 167 B |
@@ -1,58 +0,0 @@
|
||||
//Contraption Border
|
||||
//Anything to do with...
|
||||
//Loading Images
|
||||
imgFrameMask.src = borderPath + "frameMask.png"
|
||||
//Card Title
|
||||
var titleFont = "40px belerenb" //40
|
||||
var titleFontSpacing = "0.15px" //0.15
|
||||
var titleX = 62 //62
|
||||
var titleY = 56 //56 + 6
|
||||
//Mana Cost
|
||||
var manaCostRadius = 17.5 //17.5
|
||||
var manaCostX = 658 //657
|
||||
var manaCostY = 54 //59
|
||||
//Card Type
|
||||
var typeFont = "33.5px belerenb" //33.5
|
||||
var typeFontSpacing = "-0.4px" //0.05
|
||||
var typeX = 62 //62
|
||||
var typeY = 647 //595 + 6
|
||||
//Rules/Flavor Text
|
||||
var textFont = "px mplantin"
|
||||
var textFontSpacing = 0.7 //0.7
|
||||
var textX = 66 //66
|
||||
var textY = 705 //656 + 6
|
||||
var textWidth = 682 //682
|
||||
//Power Toughness
|
||||
var ptFont = "39px belerenb" //39
|
||||
var ptFontSpacing = "0.3px" //0.3
|
||||
var ptTextX = 645 //645
|
||||
var ptTextY = 942 //936 + 6
|
||||
imgBorderCreature.imgValues(571, 929, 137, 75)
|
||||
//Bottom Info
|
||||
var infoY = 996 //993 + 6
|
||||
//Set Symbol
|
||||
var setSymbolY = 662 //616
|
||||
var setSymbolRight = 688 //693
|
||||
var setSymbolWidth = 84 //77
|
||||
var setSymbolHeight = 42 //44
|
||||
//Watermark
|
||||
var watermarkWidth = 78 //520
|
||||
var watermarkHeight = 78 //250
|
||||
var watermarkY = 914 //805
|
||||
var watermarkX = 668
|
||||
//Rare Stamp
|
||||
var rareStampY = 958 //958
|
||||
//Color Options
|
||||
loadColors("white-White")
|
||||
document.getElementById("secondColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
|
||||
document.getElementById("thirdColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
|
||||
//Things The Card Can Do
|
||||
var creatureBorder = false
|
||||
var thirdBorder = false
|
||||
var secondBorder = false
|
||||
var artX = 0
|
||||
var artY = 0
|
||||
//With all the new values in place, the program will update it's border images
|
||||
finishTemplate()
|
||||
//Any special functions go at the bottom
|
||||
var uniqueFunctionName = "bottomInfoM15"
|
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 36 KiB |
@@ -1,39 +0,0 @@
|
||||
//Default Border
|
||||
//Fixes images
|
||||
imgMultiGradient.src = "data/borders/multiGradient.png"
|
||||
//card size
|
||||
var cardWidth = 749
|
||||
var cardHeight = 1044
|
||||
document.getElementsByClassName("mainGrid")[0].classList.remove("plane")
|
||||
//Sets the correct values to anything that may have been changed from an out of the ordinary border
|
||||
var planechaseInfo = false
|
||||
var legendaryBorder = false
|
||||
var nyxBorder = false
|
||||
var miracleBorder = false
|
||||
var stampBorder = false
|
||||
var flipBorder = false
|
||||
var creatureBorder = true
|
||||
var thirdBorder = true
|
||||
var secondBorder = true
|
||||
var transparentBorder = false
|
||||
var artifactBorder = false
|
||||
//Shifted text
|
||||
titleRightShift = 0
|
||||
typeRightShift = 0
|
||||
//Aligned text
|
||||
var titleAlign = "left"
|
||||
var typeAlign = "left"
|
||||
var italicSize = 1
|
||||
//Regular font colors
|
||||
document.getElementById("inputTitleColor").value = "#000000"
|
||||
document.getElementById("inputTypeColor").value = "#000000"
|
||||
document.getElementById("inputRulesColor").value = "#000000"
|
||||
document.getElementById("inputCreatureColor").value = "#000000"
|
||||
//Image alignment
|
||||
var watermarkX = cardWidth / 2
|
||||
var centerSetSymbol = 1 //1=not centered, 2=centered
|
||||
var artX = 58
|
||||
var artY = 118
|
||||
//Loads the correct border data
|
||||
borderPath = "data/borders/" + document.getElementById("borderSelection").value
|
||||
loadScript(borderPath + "border.js")
|
Before Width: | Height: | Size: 1.7 KiB |
@@ -1,55 +0,0 @@
|
||||
//Regular Full Art Basic Land Border
|
||||
//Anything to do with...
|
||||
//Loading Images
|
||||
imgFrameMask.src = borderPath + "frameMask.png"
|
||||
imgBorderMask.src = borderPath + "borderMask.png"
|
||||
//Card Title
|
||||
var titleFont = "40px belerenb" //40
|
||||
var titleFontSpacing = "0.15px" //0.15
|
||||
var titleX = 62 //62
|
||||
var titleY = 61 //56 + 6
|
||||
//Mana Cost
|
||||
var manaCostRadius = 17.5 //17.5
|
||||
var manaCostX = 658 //657
|
||||
var manaCostY = 59 //59
|
||||
//Card Type
|
||||
var typeFont = "33.5px belerenb" //33.5
|
||||
var typeFontSpacing = "0.05px" //0.05
|
||||
var typeX = 60 //60
|
||||
var typeY = 868 //868
|
||||
//Rules/Flavor Text
|
||||
var textFont = "px mplantin"
|
||||
var textFontSpacing = 0.7
|
||||
var textX = 89
|
||||
var textY = 123
|
||||
var textWidth = 660
|
||||
//Power Toughness
|
||||
var ptFont = "39px belerenb" //39
|
||||
var ptFontSpacing = "0.3px" //0.3
|
||||
var ptTextX = 645 //645
|
||||
var ptTextY = 939 //939
|
||||
imgBorderCreature.imgValues(571, 926, 137, 75)
|
||||
//Bottom Info
|
||||
var infoY = 999 //999
|
||||
//Set Symbol
|
||||
var setSymbolY = 886 //616
|
||||
var setSymbolRight = 686 //693
|
||||
var setSymbolWidth = 84 //77
|
||||
var setSymbolHeight = 42 //44
|
||||
//Watermark
|
||||
var watermarkWidth = 108
|
||||
var watermarkHeight = 108
|
||||
var watermarkY = 880
|
||||
//Color Options
|
||||
loadColors("white-White,blue-Blue,black-Black,red-Red,green-Green,gold-Gold,colorless-Colorless")
|
||||
document.getElementById("secondColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
|
||||
document.getElementById("thirdColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
|
||||
//Other
|
||||
var thirdBorder = false
|
||||
var creatureBorder = false
|
||||
var artX = 0
|
||||
var artY = 0
|
||||
//With all the new values in place, the program will update it's border images
|
||||
finishTemplate()
|
||||
//Any special functions go at the bottom
|
||||
var uniqueFunctionName = "bottomInfoM15"
|
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 1.3 KiB |
@@ -1,54 +0,0 @@
|
||||
//Unstable Full Art Basic Land Border
|
||||
//Anything to do with...
|
||||
//Loading Images
|
||||
imgFrameMask.src = borderPath + "frameMask.png"
|
||||
imgBorderMask.src = borderPath + "borderMask.png"
|
||||
//Card Title
|
||||
document.getElementById("inputTitleColor").value = "#ffffff"
|
||||
var titleFont = "40px belerenb"
|
||||
var titleFontSpacing = "0.1px"
|
||||
var titleX = cardWidth / 2
|
||||
var titleY = 17
|
||||
var titleAlign = "center"
|
||||
//Mana Cost
|
||||
var manaCostRadius = 17.5
|
||||
var manaCostX = 657
|
||||
var manaCostY = 17
|
||||
//Card Type
|
||||
var typeFont = "33.5px belerenb"
|
||||
var typeFontSpacing = "0.05px"
|
||||
var typeX = cardWidth / 2
|
||||
var typeY = 1000
|
||||
var typeAlign = "center"
|
||||
//Rules/Flavor Text
|
||||
var textFont = "px mplantin"
|
||||
var textFontSpacing = 0.7
|
||||
var textX = 89
|
||||
var textY = 123
|
||||
var textWidth = 660
|
||||
//Bottom Info
|
||||
var infoY = 999
|
||||
//Set Symbol
|
||||
var setSymbolY = 82
|
||||
var setSymbolRight = cardWidth / 2
|
||||
var setSymbolWidth = 66
|
||||
var setSymbolHeight = 44
|
||||
var centerSetSymbol = 2
|
||||
//Watermark
|
||||
var watermarkWidth = 520
|
||||
var watermarkHeight = 250
|
||||
var watermarkY = 805
|
||||
//Color Options
|
||||
loadColors("white-White,blue-Blue,black-Black,red-Red,green-Green,gold-Gold,colorless-Colorless")
|
||||
document.getElementById("secondColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
|
||||
//Other
|
||||
var thirdBorder = false
|
||||
var creatureBorder = false
|
||||
var stampBorder = true
|
||||
var transparentBorder = true
|
||||
var artX = 0
|
||||
var artY = 0
|
||||
//With all the new values in place, the program will update it's border images
|
||||
finishTemplate()
|
||||
//Any special functions go at the bottom
|
||||
var uniqueFunctionName = "bottomInfoM15"
|
Before Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 133 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 22 KiB |