mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
unsanctioned
This commit is contained in:
2
data/images/unsanctioned/unsanctionedCSV.csv
Normal file
2
data/images/unsanctioned/unsanctionedCSV.csv
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
displayName,imagePath,maskOptions,framePickerOptions
|
||||||
|
Full,unsanctioned/unsanctionedFull.png,Full-0-0-744-1039,Unsanctioned
|
|
BIN
data/images/unsanctioned/unsanctionedFull.png
Normal file
BIN
data/images/unsanctioned/unsanctionedFull.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 86 KiB |
@@ -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.arc(currentX + diameter / 2.13, currentY + diameter / 1.7, diameter / 2, 0, 2 * Math.PI, false)
|
||||||
this.fill()
|
this.fill()
|
||||||
this.drawImage(manaSymbolImageList[manaSymbolCodeList.indexOf(splitManaCost[i])], currentX, currentY, diameter, diameter)
|
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") {
|
} else if (version == "seventh") {
|
||||||
this.drawImage(manaSymbolImageList[manaSymbolCodeList.indexOf(splitManaCost[i])], currentX, currentY, diameter, diameter)
|
this.drawImage(manaSymbolImageList[manaSymbolCodeList.indexOf(splitManaCost[i])], currentX, currentY, diameter, diameter)
|
||||||
} else if (version == "future") {
|
} else if (version == "future") {
|
||||||
@@ -962,9 +964,6 @@ loadSampleImages()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
//function loadPlaneswalkerFrames() {
|
|
||||||
// changeVersionTo("planeswalker");
|
|
||||||
//}
|
|
||||||
|
|
||||||
function filterFramePicker(classToShow) {
|
function filterFramePicker(classToShow) {
|
||||||
var framePickerList = document.getElementsByClassName("frameOption")
|
var framePickerList = document.getElementsByClassName("frameOption")
|
||||||
|
35
data/versions/unsanctioned.js
Normal file
35
data/versions/unsanctioned.js
Normal 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")
|
@@ -137,8 +137,9 @@
|
|||||||
<button onclick="changeVersionTo('inventionTextless')" class="button">Inventions (Textless)</button><br><br>
|
<button onclick="changeVersionTo('inventionTextless')" class="button">Inventions (Textless)</button><br><br>
|
||||||
<button onclick="changeVersionTo('expedition')" class="button">Expeditions</button><br><br>
|
<button onclick="changeVersionTo('expedition')" class="button">Expeditions</button><br><br>
|
||||||
<button onclick="changeVersionTo('future')" class="button">Future Shifted</button><br><br>
|
<button onclick="changeVersionTo('future')" class="button">Future Shifted</button><br><br>
|
||||||
<button onclick="changeVersionTo('unhinged')" class="button">Unhinged Basics</button><br><br>
|
|
||||||
<button onclick="changeVersionTo('seventh')" class="button">Seventh Edition</button><br><br>
|
<button onclick="changeVersionTo('seventh')" class="button">Seventh Edition</button><br><br>
|
||||||
|
<button onclick="changeVersionTo('unsanctioned')" class="button">Unsanctioned Lands</button><br><br>
|
||||||
|
<button onclick="changeVersionTo('unhinged')" class="button">Unhinged Lands</button><br><br>
|
||||||
<button onclick="changeVersionTo('moreMasks')" class="button">More Masks</button>
|
<button onclick="changeVersionTo('moreMasks')" class="button">More Masks</button>
|
||||||
<div class="bar"></div>
|
<div class="bar"></div>
|
||||||
<input type="checkbox" class="checkbox" id="inputCheckboxHideFrames" checked onchange="toggleFrameOptionVisibility()">Hide unrelated frames<br>
|
<input type="checkbox" class="checkbox" id="inputCheckboxHideFrames" checked onchange="toggleFrameOptionVisibility()">Hide unrelated frames<br>
|
||||||
|
Reference in New Issue
Block a user