mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 21:31:39 -05:00
cleanup
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
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
|
||||
@@ -27,10 +31,7 @@ var ptY = 920.5
|
||||
var ptWidth = 162
|
||||
var ptHeight = 84
|
||||
|
||||
var eighthInfo = true
|
||||
var eighthInfoY = 956
|
||||
var m15Info = false
|
||||
var m15InfoY = 992
|
||||
var infoY = 956
|
||||
|
||||
var setSymbolY = 615
|
||||
var setSymbolRight = 689
|
||||
@@ -47,4 +48,19 @@ loadColors("white-White,whiteLand-White Land,blue-Blue,blueLand-Blue Land,black-
|
||||
document.getElementById("secondColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
|
||||
document.getElementById("thirdColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
|
||||
|
||||
finishTemplate()
|
||||
finishTemplate()
|
||||
|
||||
var uniqueFunctionName = "bottomInfo8th"
|
||||
function bottomInfo8th() {
|
||||
if (document.getElementById("checkboxArtistColor").checked == true) {
|
||||
card.fillStyle = "black"
|
||||
} else {
|
||||
card.fillStyle = "white"
|
||||
}
|
||||
canvas.style.letterSpacing = "1px"
|
||||
card.font = "25px matrixb"
|
||||
card.fillText(document.getElementById("inputArtist").value, 116, infoY)
|
||||
canvas.style.letterSpacing = "0.5px"
|
||||
card.font = "16px mplantin"
|
||||
card.fillText("CC \u2014 " + document.getElementById("inputInfo").value + " " + document.getElementById("inputNumber").value, 62, infoY + 31)
|
||||
}
|
@@ -4,8 +4,6 @@ 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 eighthInfo = false
|
||||
var m15Info = false
|
||||
var planechaseInfo = false
|
||||
var legendaryBorder = false
|
||||
var nyxBorder = false
|
||||
|
@@ -1,5 +1,11 @@
|
||||
//M15 Border
|
||||
//Anything to do with...
|
||||
//Loading Images
|
||||
imgMultiMask.src = borderPath + "multiMask.png"
|
||||
imgFrameMask.src = borderPath + "frameMask.png"
|
||||
imgLegendFrameMask.src = borderPath + "legendFrameMask.png"
|
||||
imgRareStampMask.src = borderPath + "rareStampMask.png"
|
||||
imgBorderMask.src = borderPath + "borderMask.png"
|
||||
//Card Title
|
||||
var titleFont = "40px belerenb" //40
|
||||
var titleFontSpacing = "0.15px" //0.15
|
||||
@@ -30,8 +36,7 @@ var ptY = 929 //929
|
||||
var ptWidth = 137 //137
|
||||
var ptHeight = 75 //75
|
||||
//Bottom Info
|
||||
var m15Info = true
|
||||
var m15InfoY = 993 //993
|
||||
var infoY = 993 //993
|
||||
//Set Symbol
|
||||
var setSymbolY = 616 //616
|
||||
var setSymbolRight = 693 //693
|
||||
@@ -47,7 +52,7 @@ var rareStampY = 958 //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,vehicle-Vehicle")
|
||||
document.getElementById("secondColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
|
||||
document.getElementById("thirdColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
|
||||
//Other
|
||||
//Things The Card Can Do
|
||||
legendaryBorder = true
|
||||
stampBorder = true
|
||||
nyxBorder = true
|
||||
@@ -55,4 +60,5 @@ miracleBorder = true
|
||||
flipBorder = true
|
||||
//With all the new values in place, the program will update it's border images
|
||||
finishTemplate()
|
||||
//Any special functions go at the bottom
|
||||
//Any special functions go at the bottom
|
||||
var uniqueFunctionName = "bottomInfoM15"
|
@@ -1,5 +1,8 @@
|
||||
//Map Border
|
||||
//Anything to do with...
|
||||
//Loading Images
|
||||
imgFrameMask.src = borderPath + "frameMask.png"
|
||||
imgBorderMask.src = borderPath + "borderMask.png"
|
||||
//Card Title
|
||||
var titleFont = "40px belerenbsc"
|
||||
var titleFontSpacing = "0.1px"
|
||||
@@ -32,10 +35,7 @@ var ptY = 920
|
||||
var ptWidth = 150
|
||||
var ptHeight = 70
|
||||
//Bottom Info
|
||||
var eighthInfo = false
|
||||
var eighthInfoY = 992
|
||||
var m15Info = true
|
||||
var m15InfoY = 993
|
||||
var infoY = 993
|
||||
//Set Symbol
|
||||
var setSymbolY = 123
|
||||
var setSymbolRight = 374.5
|
||||
@@ -56,4 +56,5 @@ var artX = 30
|
||||
var artY = 116
|
||||
//With all the new values in place, the program will update it's border images
|
||||
finishTemplate()
|
||||
//Any special functions go at the bottom
|
||||
//Any special functions go at the bottom
|
||||
var uniqueFunctionName = "bottomInfoM15"
|
@@ -1,5 +1,8 @@
|
||||
//Plane Border
|
||||
//Anything to do with...
|
||||
//Loading Images
|
||||
imgFrameMask.src = borderPath + "frameMask.png"
|
||||
imgBorderMask.src = borderPath + "borderMask.png"
|
||||
//Card Size
|
||||
cardWidth = 1074
|
||||
cardHeight = 749
|
||||
@@ -52,6 +55,7 @@ transparentBorder = true
|
||||
//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 = "bottomInfoPlanechase"
|
||||
function bottomInfoPlanechase() {
|
||||
card.textAlign = "left"
|
||||
if (document.getElementById("checkboxArtistColor").checked == true) {
|
||||
|
Reference in New Issue
Block a user