optimizations

This commit is contained in:
Kyle
2019-04-12 17:05:42 -07:00
parent 0536461df7
commit 76cc8776e2
5 changed files with 31 additions and 1366 deletions

View File

@@ -26,6 +26,9 @@ cardData.watermarkWidth = cwidth(520)
cardData.watermarkHeight = cheight(250)
cardData.setSymbolY = cheight(618)
cardData.setSymbolRight = cwidth(695)
imgRareStamp.load("none", cwidth(329), cheight(945), cwidth(90), cheight(50))
imgRareStampRight.load("none", cwidth(329), cheight(945), cwidth(90), cheight(50))
imgStamp.load("none", cwidth(340), cheight(961), cwidth(70), cheight(37))
//Images
imgPowerToughness.load("data/borders/planeswalker/white/pt.png")
imgArtMask.load("data/borders/planeswalker/imgArtMask.png")
@@ -61,9 +64,9 @@ function planeswalkerAbilityLines() {
for (var i = 0; i < abilityLines.length; i ++) {
//determine the correct color
if (i % 2 === 0) {
specialAContext.fillStyle = "#95959595"
specialAContext.fillStyle = "#d3d3d3d3"
} else {
specialAContext.fillStyle = "#6a6a6a6a"
specialAContext.fillStyle = "#a8a8a8a8"
}
if (i == abilityLines.length - 1) {
//This is the last line

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

File diff suppressed because it is too large Load Diff