forked from GithubMirrors/cardconjurer
		
	
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
//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"
 | 
						|
var titleX = 374.5
 | 
						|
var titleY = 58
 | 
						|
var titleAlign = "center"
 | 
						|
//Mana Cost
 | 
						|
var manaCostRadius = 17.5
 | 
						|
var manaCostX = 657
 | 
						|
var manaCostY = 59
 | 
						|
//Card Type
 | 
						|
var typeFont = "33.5px belerenb"
 | 
						|
var typeFontSpacing = "0.05px"
 | 
						|
var typeX = 374.5
 | 
						|
var typeY = 604
 | 
						|
var typeAlign = "center"
 | 
						|
//Rules/Flavor Text
 | 
						|
var textFont = "px mplantin"
 | 
						|
var textFontSpacing = 0.7
 | 
						|
var textX = 89
 | 
						|
var textY = 668
 | 
						|
var textWidth = 660
 | 
						|
//Power Toughness
 | 
						|
var ptFont = "32px belerenb"
 | 
						|
var ptFontSpacing = "0.3px"
 | 
						|
var ptTextX = 635
 | 
						|
var ptTextY = 939
 | 
						|
imgBorderCreature.imgValues(560, 920, 150, 70)
 | 
						|
//Bottom Info
 | 
						|
var infoY = 999
 | 
						|
//Set Symbol
 | 
						|
var setSymbolY = 123
 | 
						|
var setSymbolRight = 374.5
 | 
						|
var setSymbolWidth = 66
 | 
						|
var setSymbolHeight = 44
 | 
						|
var centerSetSymbol = 2
 | 
						|
//Watermark
 | 
						|
var watermarkWidth = 520
 | 
						|
var watermarkHeight = 250
 | 
						|
var watermarkY = 805
 | 
						|
//Color Options
 | 
						|
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")
 | 
						|
document.getElementById("secondColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
 | 
						|
document.getElementById("thirdColorSelection").innerHTML = document.getElementById("colorSelection").innerHTML
 | 
						|
//Other
 | 
						|
var thirdBorder = false
 | 
						|
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
 | 
						|
var uniqueFunctionName = "bottomInfoM15" |