maps
@@ -47,4 +47,4 @@ 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
|
||||
|
||||
updateBorder()
|
||||
finishTemplate()
|
@@ -7,8 +7,19 @@ var nyxBorder = false
|
||||
var miracleBorder = false
|
||||
var stampBorder = false
|
||||
var flipBorder = false
|
||||
var creatureBorder = true
|
||||
var thirdBorder = true
|
||||
var secondBorder = true
|
||||
//Shifted text
|
||||
titleRightShift = 0
|
||||
typeRightShift = 0
|
||||
//Aligned text
|
||||
var titleAlign = "left"
|
||||
var typeAlign = "left"
|
||||
//Image alignment
|
||||
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: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 5.6 KiB |
@@ -56,5 +56,5 @@ nyxBorder = true
|
||||
miracleBorder = true
|
||||
flipBorder = true
|
||||
//With all the new values in place, the program will update it's border images
|
||||
updateBorder()
|
||||
finishTemplate()
|
||||
//Any special functions go at the bottom
|
BIN
data/borders/map/artMask.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
data/borders/map/artifact/frame.png
Normal file
After Width: | Height: | Size: 486 KiB |
BIN
data/borders/map/artifact/pt.png
Normal file
After Width: | Height: | Size: 173 KiB |
BIN
data/borders/map/artifactLand/frame.png
Normal file
After Width: | Height: | Size: 487 KiB |
BIN
data/borders/map/artifactLand/pt.png
Normal file
After Width: | Height: | Size: 173 KiB |
BIN
data/borders/map/black/frame.png
Normal file
After Width: | Height: | Size: 493 KiB |
BIN
data/borders/map/black/pt.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
data/borders/map/blackLand/frame.png
Normal file
After Width: | Height: | Size: 493 KiB |
BIN
data/borders/map/blackLand/pt.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
data/borders/map/blue/frame.png
Normal file
After Width: | Height: | Size: 499 KiB |
BIN
data/borders/map/blue/pt.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
data/borders/map/blueLand/frame.png
Normal file
After Width: | Height: | Size: 500 KiB |
BIN
data/borders/map/blueLand/pt.png
Normal file
After Width: | Height: | Size: 41 KiB |
59
data/borders/map/border.js
Normal file
@@ -0,0 +1,59 @@
|
||||
//Map Border
|
||||
//Anything to do with...
|
||||
//Card Title
|
||||
var titleFont = "40px belerenbsc"
|
||||
var titleFontSpacing = "0.1px"
|
||||
var titleX = 374.5
|
||||
var titleY = 52
|
||||
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 = 598
|
||||
var typeAlign = "center"
|
||||
//Rules/Flavor Text
|
||||
var textFont = "px mplantin"
|
||||
var textFontSpacing = 1.1
|
||||
var textX = 89
|
||||
var textY = 662
|
||||
var textWidth = 660
|
||||
//Power Toughness
|
||||
var ptFont = "39px belerenb"
|
||||
var ptFontSpacing = "0.3px"
|
||||
var ptTextX = 645
|
||||
var ptTextY = 936
|
||||
var ptX = 571
|
||||
var ptY = 929
|
||||
var ptWidth = 137
|
||||
var ptHeight = 75
|
||||
//Bottom Info
|
||||
var eighthInfo = false
|
||||
var eighthInfoY = 992
|
||||
var m15Info = true
|
||||
var m15InfoY = 993
|
||||
//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
|
BIN
data/borders/map/borderMask.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
data/borders/map/colorless/frame.png
Normal file
After Width: | Height: | Size: 468 KiB |
BIN
data/borders/map/colorless/pt.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
data/borders/map/colorlessLand/frame.png
Normal file
After Width: | Height: | Size: 469 KiB |
BIN
data/borders/map/colorlessLand/pt.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
data/borders/map/frameMask.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
data/borders/map/gold/frame.png
Normal file
After Width: | Height: | Size: 476 KiB |
BIN
data/borders/map/gold/pt.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
data/borders/map/goldLand/frame.png
Normal file
After Width: | Height: | Size: 478 KiB |
BIN
data/borders/map/goldLand/pt.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
data/borders/map/green/frame.png
Normal file
After Width: | Height: | Size: 496 KiB |
BIN
data/borders/map/green/pt.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
data/borders/map/greenLand/frame.png
Normal file
After Width: | Height: | Size: 497 KiB |
BIN
data/borders/map/greenLand/pt.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
data/borders/map/red/frame.png
Normal file
After Width: | Height: | Size: 504 KiB |
BIN
data/borders/map/red/pt.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
data/borders/map/redLand/frame.png
Normal file
After Width: | Height: | Size: 505 KiB |
BIN
data/borders/map/redLand/pt.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
data/borders/map/white/frame.png
Normal file
After Width: | Height: | Size: 478 KiB |
BIN
data/borders/map/white/pt.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
data/borders/map/whiteLand/frame.png
Normal file
After Width: | Height: | Size: 479 KiB |
BIN
data/borders/map/whiteLand/pt.png
Normal file
After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 4.9 KiB |