unsanctioned

This commit is contained in:
Kyle
2020-02-01 14:01:04 -08:00
parent 39b19a337e
commit 10a70eeaf1
5 changed files with 41 additions and 4 deletions

View File

@@ -0,0 +1,2 @@
displayName,imagePath,maskOptions,framePickerOptions
Full,unsanctioned/unsanctionedFull.png,Full-0-0-744-1039,Unsanctioned
1 displayName imagePath maskOptions framePickerOptions
2 Full unsanctioned/unsanctionedFull.png Full-0-0-744-1039 Unsanctioned

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

View File

@@ -710,6 +710,8 @@ CanvasRenderingContext2D.prototype.drawManaCost = function(text, symbolsX, symbo
this.arc(currentX + diameter / 2.13, currentY + diameter / 1.7, diameter / 2, 0, 2 * Math.PI, false)
this.fill()
this.drawImage(manaSymbolImageList[manaSymbolCodeList.indexOf(splitManaCost[i])], currentX, currentY, diameter, diameter)
} else if (version == "justTheSymbol") {
this.drawImage(manaSymbolImageList[manaSymbolCodeList.indexOf(splitManaCost[i])], currentX, currentY, diameter, diameter)
} else if (version == "seventh") {
this.drawImage(manaSymbolImageList[manaSymbolCodeList.indexOf(splitManaCost[i])], currentX, currentY, diameter, diameter)
} else if (version == "future") {
@@ -962,9 +964,6 @@ loadSampleImages()
//function loadPlaneswalkerFrames() {
// changeVersionTo("planeswalker");
//}
function filterFramePicker(classToShow) {
var framePickerList = document.getElementsByClassName("frameOption")

View File

@@ -0,0 +1,35 @@
//============================================//
// Card Conjurer, by Kyle Burton //
//============================================//
if (version.currentVersion != "unhinged") {
//Name, text, x, y, width, height, font, size, color, other
version.textList = [
["Title", "", scale(212), scale(95), scale(320), 0, "belerenb", scale(42), "white", "oneLine=true,textAlign='center'"]
]
version.frameIndexToInsert = 0;
}
version.currentVersion = "unsanctioned"
version.artX = scale(29)
version.artY = scale(30)
version.artWidth = scale(686)
version.artHeight = scale(924)
version.setSymbolRight = scale(690)
version.setSymbolVertical = scale(967)
version.setSymbolWidth = scale(0)
version.setSymbolHeight = scale(0)
version.bottomInfoFunction = "m15BottomInfo"
version.manaCostX = scale(286)
version.manaCostY = scale(742)
version.manaCostDiameter = scale(172)
version.manaCostDistance = scale(0)
version.manaCostDirection = [[scale(286), scale(742)]]
version.manaCostVersion = "justTheSymbol"
version.watermarkWidth = scale(520)
version.watermarkHeight = scale(250)
version.watermarkY = scale(800)
version.masksToAdd = []
filterFramePicker("frameClassUnsanctioned")
setTimeout(m15BottomInfo, 250)
finishChangingVersion("data/images/unsanctioned/unsanctionedCSV.csv")