invention

This commit is contained in:
Kyle
2020-01-11 12:32:59 -08:00
parent 68238375ab
commit 13b964ccd8
16 changed files with 48 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

View File

@@ -0,0 +1,8 @@
displayName,imagePath,maskOptions,framePickerOptions
Artifact,invention/inventionAFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention
White,invention/inventionWFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention
Blue,invention/inventionUFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention
Black,invention/inventionBFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention
Red,invention/inventionRFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention
Green,invention/inventionGFull.png,Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039,Invention
Border,masks/BorderInvention.png,Full-0-0-744-1039;Border Invention-0-0-744-1039,Invention
1 displayName imagePath maskOptions framePickerOptions
2 Artifact invention/inventionAFull.png Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039 Invention
3 White invention/inventionWFull.png Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039 Invention
4 Blue invention/inventionUFull.png Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039 Invention
5 Black invention/inventionBFull.png Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039 Invention
6 Red invention/inventionRFull.png Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039 Invention
7 Green invention/inventionGFull.png Full-0-0-744-1039;Title Invention-0-0-744-1039;Type Invention-0-0-744-1039;Rules Text Invention-0-0-744-1039;Frame Invention-0-0-744-1039;Pinline Invention-0-0-744-1039 Invention
8 Border masks/BorderInvention.png Full-0-0-744-1039;Border Invention-0-0-744-1039 Invention

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -197,7 +197,7 @@ function frameOptionClicked(event) {
selectedFrame = parseInt(clickedElementIndex);
document.getElementById("maskPicker").innerHTML = "";
for (var i = 0; i < frameList[selectedFrame].maskOptionList.length; i++) {
// console.log(frameList[selectedFrame].maskOptionList);
// alert(frameList[selectedFrame].maskOptionList);
document.getElementById("maskPicker").innerHTML += "<div class='maskOption' onclick='maskOptionClicked(event)' id='maskName" + frameList[selectedFrame].maskOptionList[i] + "'><img src='" + maskList[maskNameList.indexOf(frameList[selectedFrame].maskOptionList[i])].src + "'>" + frameList[selectedFrame].maskOptionList[i] + "</div>";
}
document.getElementsByClassName("maskOption")[0].classList.add("maskOptionSelected");

View File

@@ -0,0 +1,38 @@
//============================================//
// Card Conjurer, by Kyle Burton //
//============================================//
if (version.currentVersion != "invention") {
//Name, text, x, y, width, height, font, size, color, other
version.textList = [
["Title", "", scale(64), scale(82), scale(630), 0, "belerenb", scale(37), "black", "oneLine=true"],
["Type", "", scale(64), scale(616), scale(630), 0, "belerenb", scale(33), "black", "oneLine=true"],
["Rules Text", "", scale(64), scale(662), scale(616), scale(292), "mplantin", scale(38), "black", "lineSpace=0.97"],
["Power Toughness", "", scale(587), scale(958), scale(110), 0, "belerenb", scale(38), "black", "oneLine=true,textAlign='center'"]/*,
["Flip PT", "", scale(588), scale(902), scale(100), 0, "belerenb", 28, "#666", "oneLine=true,textAlign='right'"]*/
]
version.frameIndexToInsert = 0;
}
version.currentVersion = "invention"
version.artX = scale(29)
version.artY = scale(28)
version.artWidth = scale(685)
version.artHeight = scale(929)
version.setSymbolRight = scale(684)
version.setSymbolVertical = scale(614)
version.setSymbolWidth = scale(90)
version.setSymbolHeight = scale(41)
version.bottomInfoFunction = "m15BottomInfo"
version.manaCostX = scale(653)
version.manaCostY = scale(59)
version.manaCostDiameter = scale(34)
version.manaCostDistance = scale(-38)
version.manaCostDirection = "horizontal"
version.manaCostVersion = "m15"
version.watermarkWidth = scale(520)
version.watermarkHeight = scale(250)
version.watermarkY = scale(800)
version.masksToAdd = ["Title Invention", "Type Invention", "Rules Text Invention", "Pinline Invention", "Frame Invention", "Border Invention"];
filterFramePicker("frameClassInvention");
finishChangingVersion("data/images/invention/inventionCSV.csv")