forked from GithubMirrors/cardconjurer
		
	3.0
This commit is contained in:
		
							
								
								
									
										71
									
								
								old/data/borders/miniPlane/border.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								old/data/borders/miniPlane/border.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,71 @@ | ||||
| //============================================// | ||||
| //              Miniplane Border              // | ||||
| //============================================// | ||||
| //General Booleans | ||||
| cardData.miracle = false | ||||
| cardData.nyx = false | ||||
| cardData.legendary = false | ||||
| cardData.creature = false | ||||
| cardData.rulesBox = false | ||||
| cardData.pinline = false | ||||
| cardData.titleTypeBoxes = false | ||||
| cardData.rareStamp = false | ||||
| cardData.transparency = true | ||||
| //Specific Values | ||||
| cardData.manaSymbolDirection = "none" | ||||
| cardData.titleAlignment = "center" | ||||
| cardData.titleX = cwidth(60) | ||||
| cardData.titleY = cheight(95) | ||||
| cardData.titleFontSize = cwidth(42) | ||||
| cardData.titleWidth = cwidth(630) | ||||
| cardData.typeAlignment = "center" | ||||
| cardData.typeX = cwidth(165) | ||||
| cardData.typeWidth = cwidth(420) | ||||
| cardData.typeY = cheight(735) | ||||
| cardData.typeFontSize = cwidth(32) | ||||
| cardData.textX = cwidth(105) | ||||
| cardData.textY = cheight(780) | ||||
| cardData.textWidth = cwidth(540) | ||||
| cardData.setSymbolY = cheight(727) | ||||
| cardData.setSymbolWidth = cwidth(55) | ||||
| cardData.setSymbolHeight = cheight(33) | ||||
| cardData.setSymbolX = cwidth(582) | ||||
| cardData.watermarkWidth = cwidth(660) | ||||
| cardData.watermarkHeight = cheight(210) | ||||
| cardData.watermarkY = cheight(864) | ||||
| cardData.cardArtX = cwidth(28) | ||||
| cardData.cardArtY = cheight(46) | ||||
| cardData.bottomInfoFunction = "bottomInfoPlanechase" | ||||
| //Images | ||||
| imgArtMask.load("data/borders/miniPlane/imgArtMask.png") | ||||
| imgFrameMask.load("data/borders/miniPlane/imgFrameMask.png") | ||||
| imgBorderMask.load("data/borders/miniPlane/imgBorderMask.png") | ||||
| //Loads the Colors | ||||
| loadColors("white-Regular") | ||||
| //Finishes loading the border style | ||||
| finishChangingBorder() | ||||
|  | ||||
| function bottomInfoPlanechase() { | ||||
| 	var infoNumber = document.getElementById("inputInfoNumber").value | ||||
| 	var infoRarity = document.getElementById("inputInfoRarity").value | ||||
| 	var infoSet = document.getElementById("inputInfoSet").value | ||||
| 	var infoLanguage = document.getElementById("inputInfoLanguage").value | ||||
| 	var infoArtist = document.getElementById("inputInfoArtist").value | ||||
| 	var infoCopyright = "\u2122 & \u00a9 " + date.getFullYear() + " Wizards of the Coast" | ||||
| 	var infoNumberSetLanguage = infoNumber + " " + infoSet + " \u00b7 " + infoLanguage + "  " | ||||
| 	textContext.fillStyle = "white" | ||||
| 	textContext.font = cheight(15) + "px gothammedium" | ||||
| 	var infoNumberSetLanguageWidth = textContext.measureText(infoNumberSetLanguage).width | ||||
| 	textContext.font = cheight(16) + "px mplantin" | ||||
| 	var infoCopyrightWidth = textContext.measureText(infoCopyright).width | ||||
| 	var bottomLineStart = cardWidth / 2 - (infoNumberSetLanguageWidth + infoCopyrightWidth) / 2 | ||||
| 	textContext.fillText(infoCopyright, bottomLineStart + infoNumberSetLanguageWidth, cheight(1029)) | ||||
| 	textContext.font = cheight(15) + "px gothammedium" | ||||
| 	textContext.fillText(infoNumberSetLanguage, bottomLineStart, cheight(1029)) | ||||
| 	textContext.font = cheight(19) + "px belerenbsc" | ||||
| 	var infoArtistStart = cardWidth / 2 - (textContext.measureText(infoArtist).width + cwidth(23)) / 2 | ||||
| 	imgArtistBrush.load("none", infoArtistStart, cheight(995), cwidth(21), cheight(13)) | ||||
| 	textContext.mask(imgArtistBrush, "none", textContext.fillStyle) | ||||
| 	textContext.fillText(infoArtist, infoArtistStart + cwidth(23), cheight(1008)) | ||||
| 	drawCard() | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								old/data/borders/miniPlane/imgArtMask.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								old/data/borders/miniPlane/imgArtMask.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 5.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								old/data/borders/miniPlane/imgBorderMask.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								old/data/borders/miniPlane/imgBorderMask.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 8.0 KiB | 
							
								
								
									
										
											BIN
										
									
								
								old/data/borders/miniPlane/imgFrameMask.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								old/data/borders/miniPlane/imgFrameMask.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 10 KiB | 
							
								
								
									
										
											BIN
										
									
								
								old/data/borders/miniPlane/white/frame.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								old/data/borders/miniPlane/white/frame.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 376 KiB | 
		Reference in New Issue
	
	Block a user
	 Kyle
					Kyle