This commit is contained in:
Kyle
2018-11-17 16:12:53 -08:00
parent 56e63b7c0c
commit 0336d233a3
4 changed files with 5 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ var typeX = 62 //62
var typeY = 595 //595 var typeY = 595 //595
//Rules/Flavor Text //Rules/Flavor Text
var textFont = "px mplantin" var textFont = "px mplantin"
var textFontSpacing = 1.3 //1.3 var textFontSpacing = 0.7 //0.7
var textX = 66 //66 var textX = 66 //66
var textY = 656 //656 var textY = 656 //656
var textWidth = 682 //682 var textWidth = 682 //682

View File

@@ -21,7 +21,7 @@ var typeY = 598
var typeAlign = "center" var typeAlign = "center"
//Rules/Flavor Text //Rules/Flavor Text
var textFont = "px mplantin" var textFont = "px mplantin"
var textFontSpacing = 1.1 var textFontSpacing = 0.7
var textX = 89 var textX = 89
var textY = 662 var textY = 662
var textWidth = 660 var textWidth = 660

View File

@@ -16,6 +16,7 @@ var imagesToLoad
//Set up canvas //Set up canvas
var canvas = document.getElementById("canvas") var canvas = document.getElementById("canvas")
var card = canvas.getContext("2d") var card = canvas.getContext("2d")
card.textBaseLine = "alphabetical"
//Create the canvas for creating the border image //Create the canvas for creating the border image
var borderCanvas = document.createElement("canvas") var borderCanvas = document.createElement("canvas")

View File

@@ -236,10 +236,10 @@
<div>Set Symbol</div> <div>Set Symbol</div>
</div> </div>
Set Code Set Code
<input type="text" onchange="loadSetSymbol()" value="m19" id="setSymbolCode" class="input"></input> <input type="text" onchange="loadSetSymbol()" value="hm" id="setSymbolCode" class="input"></input>
<br> <br>
Set Symbol Rarity Set Symbol Rarity
<input type="text" onchange="loadSetSymbol()" value="m" id="setSymbolRarity" class="input"></input> <input type="text" onchange="loadSetSymbol()" value="c" id="setSymbolRarity" class="input"></input>
<br> <br>
Custom Set Symbol Custom Set Symbol
<input type="file" class="input" accept="image/*" onchange="loadImage(event, imgSetSymbol, true)" id="inputSetSymbol"></input> <input type="file" class="input" accept="image/*" onchange="loadImage(event, imgSetSymbol, true)" id="inputSetSymbol"></input>