fullartregular
BIN
data/borders/FullArtLandM15/artMask.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
data/borders/FullArtLandM15/black/frame.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
data/borders/FullArtLandM15/blue/frame.png
Normal file
After Width: | Height: | Size: 93 KiB |
55
data/borders/FullArtLandM15/border.js
Normal file
@@ -0,0 +1,55 @@
|
||||
//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"
|
BIN
data/borders/FullArtLandM15/borderMask.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
data/borders/FullArtLandM15/colorless/frame.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
data/borders/FullArtLandM15/frameMask.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
data/borders/FullArtLandM15/gold/frame.png
Normal file
After Width: | Height: | Size: 95 KiB |
BIN
data/borders/FullArtLandM15/green/frame.png
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
data/borders/FullArtLandM15/red/frame.png
Normal file
After Width: | Height: | Size: 100 KiB |
BIN
data/borders/FullArtLandM15/white/frame.png
Normal file
After Width: | Height: | Size: 89 KiB |
@@ -528,7 +528,9 @@ function drawWatermark() {
|
||||
//globalAlpha insures that the watermark is drawn partially transparent. This value may not be perfect but the watermark colors are calibrated to it
|
||||
card.globalAlpha = document.getElementById("inputWatermarkOpacity").value
|
||||
//if the following if statement is true, the watermark will be drawn in two halves of the chosen colors. Otherwise, a single watermark of the first chosen color is drawn.
|
||||
if (document.getElementById("checkboxSecondWatermarkColor").checked == true) {
|
||||
if (document.getElementById("checkboxOriginalWatermark").checked == true) {
|
||||
card.mask("imgCardMask,source-over", imgWatermark)
|
||||
} else if (document.getElementById("checkboxSecondWatermarkColor").checked == true) {
|
||||
card.mask("imgMultiGradient,source-over;imgCardMask,source-out", imgWatermark, document.getElementById("watermarkColorSelection").value)
|
||||
card.mask("imgMultiGradient,source-over", imgWatermark, document.getElementById("secondWatermarkColorSelection").value)
|
||||
} else {
|
||||
|
@@ -84,6 +84,7 @@
|
||||
<span class="dropdown">
|
||||
<select id="borderSelection" onchange="changeTemplate()">
|
||||
<option value="m15/">M15</option>
|
||||
<option value="fullArtLandM15/">Full Art Land (Regular)</option>
|
||||
<option value="fullArtLandUnstable/">Full Art Land (Unstable)</option>
|
||||
<option value="planeswalker/">Planeswalker</option>
|
||||
<option value="planeswalkerTall/">Planeswalker (Tall)</option>
|
||||
@@ -372,6 +373,11 @@
|
||||
</span>
|
||||
Watermark Opacity
|
||||
<input type="number" id="inputWatermarkOpacity" class="input" value="0.4" max="1" min="0" step="0.01">
|
||||
<div class="checkbox">
|
||||
<input type="checkbox" id="checkboxOriginalWatermark" />
|
||||
<label for="checkboxOriginalWatermark" />
|
||||
<div>Use Original Colors</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cmm" id="cmm-planeswalker">
|
||||
Planeswalker Ability Line Height
|
||||
|