This commit is contained in:
Kyle
2019-12-29 12:05:40 -08:00
parent d05ad41882
commit 1d1f8a0488
9 changed files with 195 additions and 140 deletions

View File

@@ -143,7 +143,7 @@ class frameImage {
var tempElement = document.createElement("div");
tempElement.id = "frameIndex" + frameList.indexOf(this);
tempElement.classList.add("cardMasterElement");
tempElement.innerHTML = "<span class='handle'>|||</span><div>" + this.displayName + " (" + targetMask + ") <br><input type='number' min='0' max='100' value='100' class='inputOpacity' oninput='cardMasterUpdated()'><input type='checkbox' onchange='cardMasterUpdated()'><img src=" + this.image.src + "><img class='cardMasterElementMaskImage' src=" + maskList[maskNameList.indexOf(targetMask.replace(" - Right", ""))].src + "></div><span class='closeCardMasterElement' onclick='deleteCardMasterElement(event)'>x</span>";
tempElement.innerHTML = "<span class='handle'>|||</span><div>" + this.displayName + " (" + targetMask + ") <br><input type='number' min='0' max='100' value='100' class='inputOpacity input' oninput='cardMasterUpdated()'><input type='checkbox' onchange='cardMasterUpdated()'><img src=" + this.image.src + "><img class='cardMasterElementMaskImage' src=" + maskList[maskNameList.indexOf(targetMask.replace(" - Right", ""))].src + "></div><span class='closeCardMasterElement' onclick='deleteCardMasterElement(event)'>x</span>";
return tempElement
}
framePickerElement(targetElement) {
@@ -247,6 +247,7 @@ function cardMasterUpdated() {
} else {
newFrameInsertionLocation = 0;
}
frameFinalContext.drawImage(watermarkCanvas, 0, 0, cardWidth, cardHeight)
frameFinalContext.drawImage(textCanvas, 0, 0, cardWidth, cardHeight);
} else {
var frameToDraw = frameList[parseInt(targetChild.id.replace("frameIndex", ""))];
@@ -298,7 +299,6 @@ function cardImageUpdated() {
if (version.currentVersion == "planeswalker") {
cardFinalContext.drawImage(planeswalkerCanvas, 0, 0, cardWidth, cardHeight);
}
cardFinalContext.drawImage(watermarkCanvas, 0, 0, cardWidth, cardHeight)
cardFinalContext.drawImage(bottomInfoCanvas, 0, 0, cardWidth, cardHeight);
// cardFinalContext.drawImage(textCanvas, 0, 0, cardWidth, cardHeight);
cardFinalContext.drawImage(setSymbolCanvas, 0, 0, cardWidth, cardHeight)
@@ -497,7 +497,7 @@ function updateWatermark() {
} else {
watermarkContext.clearRect(0, 0, cardWidth, cardHeight)
}
cardImageUpdated()
cardMasterUpdated();
}
//Custom text function! This acts on any codes and makes things look nice :)
@@ -942,6 +942,15 @@ function loadSampleImages() {
}
sampleImage.src = "data/site/images/samples/" + randomIndex + ".png";
}
//Donate card stuff!
var cardWishlist = [["Thrasios, Triton Hero", "https://img.scryfall.com/cards/large/front/2/1/21e27b91-c7f1-4709-aa0d-8b5d81b22a0a.jpg?1562391653"], ["Arcane Signet", "https://img.scryfall.com/cards/large/front/8/4/84128e98-87d6-4c2f-909b-9435a7833e63.jpg?1572482845"], ["Kenrith, the Returned King", "https://img.scryfall.com/cards/large/front/5/6/56c1227e-bea7-47cb-bbec-389a3d585af5.jpg?1571282458"], ["Ramunap Excavator", "https://img.scryfall.com/cards/large/front/9/0/90a54d18-8403-441d-a115-ee462fabdabb.jpg?1562806928"], ["Meloku the Clouded Mirror", "https://img.scryfall.com/cards/large/front/a/1/a19601ac-48a7-40c2-9159-af15af8520ca.jpg?1561968062"]];
var randomWishlistCard = cardWishlist[Math.floor(Math.random() * cardWishlist.length)];
document.getElementById("wishlistCardName").innerHTML = randomWishlistCard[0];
var wishlistCardImage = new Image();
wishlistCardImage.onload = function() {
document.getElementById("wishlistCardImage").src = this.src;
}
wishlistCardImage.src = randomWishlistCard[1];
}
@@ -981,7 +990,7 @@ function inputCardNameNumberTextImport(index) {
var importCardTextResponse = savedImportResponse[index]//.split('{"object":"related_card"')[0]
importText(beforeAfter(importCardTextResponse, '"name":"', '",'), "Title");
importText(beforeAfter(importCardTextResponse, '"type_line":"', '",'), "Type");
importText(beforeAfter(importCardTextResponse, '"oracle_text":"', '",').replace(/\\n/g, "\n").replace(/ \\"/g, ' \u201C').replace(/\\"/g, '\u201D'), "Rules Text");
importText(beforeAfter(importCardTextResponse, '"oracle_text":"', '",').replace(/\\n/g, "\n").replace(/ \\"/g, ' \u201C').replace(/\\"/g, '\u201D').replace(/\(/g, "{i}(").replace(/\)/g, "){/i}"), "Rules Text");
if (importCardTextResponse.includes('"power":"')) {
importText(beforeAfter(importCardTextResponse, '"power":"', '",') + "/" + beforeAfter(importCardTextResponse, '"toughness":"', '",'), "Power Toughness");
} else {

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -57,7 +57,7 @@ html {
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
font-size: 8pt;
font-size: 16pt;
}
body {
margin: 0;
@@ -71,8 +71,8 @@ body {
}
footer {
background-color: var(--dark-color);
padding: 2.5em;
font: 1.3em gothammedium;
padding: 2rem;
font: 0.5em gothammedium;
color: var(--light-color);
}
@@ -91,11 +91,10 @@ canvas {
/*Grids*/
.mainGrid {
padding: 0.3em;
display: grid;
grid-gap: 1.5em;
grid-gap: 1rem;
grid-template-columns: auto;
font: 1.6em mplantin;
padding-bottom: 1rem;
}
.splitGrid {
display: grid;
@@ -103,17 +102,17 @@ canvas {
}
.frameGrid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(4em, 1fr));
grid-template-columns: repeat(auto-fit, minmax(3rem, 1fr));
grid-auto-rows: min-content;
}
.footerGrid {
display: grid;
grid-template-columns: auto;
grid-gap: 2em;
grid-gap: 1rem;
}
.autoGrid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(6em, 1fr));
grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
grid-auto-rows: min-content;
}
@@ -121,12 +120,12 @@ canvas {
/*Misc elements*/
.download {
text-align: center;
font: 1.5em belerenbsc;
font: 1.5rem belerenbsc;
}
.pageTitle {
font: 5em belerenbsc;
font: 3rem belerenbsc;
text-align: center;
padding-top: 0.3em;
padding-top: 0.5rem;
}
.bar {
background-image: url(../images/manaSymbols/63.png);
@@ -134,17 +133,16 @@ canvas {
background-repeat: no-repeat;
background-size: 100% 2px;
width: 100%;
height: 1em;
height: 1rem;
}
.imgPreview {
width: 100%;
}
.layer {
padding: 2em 2em;
padding: 2rem 2rem;
color: black;
font-size: 2em;
text-align: center;
margin-bottom: 3em;
margin-bottom: 3rem;
background-color: var(--light-color);
background-image: url(images/layerBackground.png);
background-position: center;
@@ -152,23 +150,27 @@ canvas {
}
/*Donate Grid Stuff!*/
.donateHalfGrid > img {
width: 90%;
margin-bottom: 1rem;
}
/*Various text modifications*/
.title {
text-align: center;
font: 1.5em belerenbsc;
font: 1.5rem belerenbsc;
}
.truncate {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-indent: 0em;
word-break: break-word;
}
.paragraph {
font: 1em mplantin;
font: mplantin;
text-align: left;
}
.indent {
text-indent: 2em;
text-indent: 2rem;
}
@@ -203,11 +205,11 @@ footer a:hover {
@media screen and (min-width: 905pt) {
/*Makes room for the canvas and controls to be side by side*/
.mainGrid {
padding: 1.5em;
padding: 1rem;
grid-template-columns: calc(750px + 2px) auto;
}
}
@media screen and (min-width: calc(750px + 2em)) {
@media screen and (min-width: calc(750px + 2rem)) {
/*The canvas can be full size and doesn't have to scale anymore*/
canvas {
width: 750px;
@@ -215,16 +217,16 @@ footer a:hover {
}
}
/*The screen is big enough (larger than phone, likely) to use a larger font*/
@media screen and (min-width: 263pt) {
@media screen and (min-width: 375pt) {
html {
font-size: 10pt;
font-size: 24pt;
}
}
/*The screen is big enough for the samples to lay side by side*/
/*The screen is big enough for the samples to lay side by side. Also, the donate section can be displayed horizontally.*/
@media screen and (min-width: 750pt) {
.samples {
grid-template-columns: 33.33% 33.33% 33.33% !important;
margin-bottom: 2em;
margin-bottom: 2rem;
}
.samples #sample1 {
width: 90%;
@@ -237,6 +239,15 @@ footer a:hover {
width: 90%;
transform: rotate(10deg) translate(-10%, 8%);
}
.donateHalfGrid {
display: grid;
grid-template-columns: 16rem auto;
margin-top: 0.5rem;
}
.donateHalfGrid > img {
width: 15rem;
margin-bottom: 0;
}
}
/*These control tooltips for mobile devices vs. desktops/laptops*/
/*@media screen and (min-width: 1024px) {
@@ -256,7 +267,7 @@ footer a:hover {
.footerGrid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
grid-gap: 1em;
grid-gap: 1rem;
}
}
@@ -264,11 +275,11 @@ footer a:hover {
/*WIP (or I'm too lazy to sort these)*/
.tabMenu {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(8em, 1fr));
grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
grid-auto-rows: min-content;
}
.tabOption, .textTabButton {
font: 1.5em belerenbsc;
font: 1rem belerenbsc;
text-align: center;
background-color: var(--clear-light);
border: 1px solid var(--light-color);
@@ -286,28 +297,28 @@ footer a:hover {
}
.cardMasterElement {
font: 1em belerenbsc;
font: 0.75rem belerenbsc;
background-color: var(--clear-light);
border: 1px solid var(--light-color);
border-radius: 0.25em;
margin-top: 0.25em;
border-radius: 0.5rem;
margin-top: 0.25rem;
display: grid;
grid-template-columns: 2em auto 1em;
grid-template-columns: 2rem auto 1rem;
align-items: center;
}
.cardMasterElement > .handle {
cursor: all-scroll;
padding: 1em 0.5em;
padding: 1rem 0.5rem;
text-align: center;
}
.cardMasterElement img {
max-height: 1.5em;
max-width: 1.5em;
max-height: 1.3rem;
max-width: 1.3rem;
position: absolute;
transform: translate(0.1em, 0);
transform: translate(0.1rem, 0);
}
.cardmasterElement img.cardMasterElementMaskImage {
transform: translate(1.7em, 0);
transform: translate(1.5rem, 0);
}
.cardMasterElementMoving {
background-color: var(--clear-dark);
@@ -332,17 +343,17 @@ footer a:hover {
border: 1px solid var(--light-color);
}
.frameOption {
height: 4em;
height: 3rem;
text-align: center;
width: 100%;
}
.frameOption img {
max-width: 4em;
max-height: 4em;
max-width: 3rem;
max-height: 3rem;
}
.maskOption img {
max-width: 2em;
max-height: 2em;
max-width: 1.5rem;
max-height: 1.5rem;
}
.frameOption.frameOptionSelected, .maskOption.maskOptionSelected {
background-color: var(--clear-dark);
@@ -350,57 +361,53 @@ footer a:hover {
.maskOption, .frameOption {
background-color: var(--clear-light);
border: 1px solid var(--light-color);
border-radius: 0.25em;
border-radius: 0.25rem;
}
.maskOption {
margin-left: 0.5em;
padding: 0.125em;
width: calc(100% - 1.4em);
font-size: 0.75rem;
margin-left: 0.5rem;
padding: 0.25rem;
width: calc(100% - 1.3rem);
}
.textarea {
width: 100%;
min-height: 8em;
max-height: 24em;
min-height: 6rem;
max-height: 18rem;
resize: vertical;
}
.textTabButton {
font-size: 1em;
font-size: 0.75rem;
}
.textTab {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(6em, 1fr));
grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
grid-auto-rows: min-content;
}
.input, .textarea, .button, .select {
font: 1em mplantin;
font: 0.75rem mplantin;
background-color: var(--light-color);
border: 1px solid #aaa;
border-radius: 0.2em;
padding: 0px 0.2em;
border-radius: 0.2rem;
padding: 0px 0.2rem;
outline: none;
width: 100%;
}
.inputOpacity {
font: 1em mplantin;
background-color: var(--light-color);
border: 1px solid #aaa;
border-radius: 0.2em;
padding: 0px 0.2em;
outline: none;
width: 2.9em;
.input.inputOpacity {
width: 2.4rem;
}
/* Text code tutorial */
#textCodeTutorial {
font-size: 0.75rem;
display: grid;
grid-template-columns: 6.5em auto;
grid-template-columns: 4.5rem auto;
}
#textCodeTutorial > div {
padding: 0.25em 0;
padding: 0.25rem 0;
background-color: var(--clear-mid);
}
#textCodeTutorial > div:nth-child(4n), #textCodeTutorial > div:nth-child(4n - 1) {
@@ -415,15 +422,19 @@ input[type="checkbox"], .frameOption, .maskOption, .button {
/* image links */
.proxyFactoryLimitedGrid {
margin: 0 auto;
max-width: 32em;
margin: 0;
max-width: calc(100vw - 4rem);
}
.donateGrid {
margin: 0;
max-width: calc(100vw - 4rem);
}
.imageLinkGrid {
margin-top: 1em;
margin-top: 1rem;
display: grid;
justify-items: center;
grid-template-columns: repeat(auto-fit, minmax(13em, 1fr));
grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
/* border: 1px solid red;*/
}
.showBackgroundThrough {
display: inline-block;
@@ -432,31 +443,32 @@ input[type="checkbox"], .frameOption, .maskOption, .button {
background-attachment: fixed;
}
.imageLink {
width: 12em;
padding: 0.5em;
border-radius: 1em;
width: calc(100% - 1rem);
padding: 0.5rem;
border-radius: 1rem;
display: grid;
grid-template-columns: 4em auto;
grid-template-columns: 4rem auto;
align-items: center;
justify-items: left;
justify-items: center;
border: 1px solid var(--dark-color);
}
.imageLink:hover {
background-color: var(--clear-darkerer);
}
.imageLink > img {
max-height: 3em;
max-width: 4em;
max-height: 3rem;
max-width: 4rem;
}
.imageLink > div {
font: 1.5em belerenbsc;
word-break: break-all;
font: 1.5rem belerenbsc;
}
.visitorCount {
display: none;
}
.visitorCount > a > img {
max-height: 1em;
max-height: 0.5rem;
}
.visitorCountTrigger:hover + .visitorCount {
display:inline-block;
@@ -480,3 +492,10 @@ input[type="checkbox"], .frameOption, .maskOption, .button {

View File

@@ -1,6 +1,15 @@
//============================================//
// Card Conjurer, by Kyle Burton //
//============================================//
if (version.currentVersion != "expedition") {
//Name, text, x, y, width, height, font, size, color, other, alternative-function
version.textList = [
["Title", "", scale(64), scale(77), scale(630), 0, "belerenb", 37, "black", "oneLine=true"],
["Type", "", scale(64), scale(875), scale(630), 0, "belerenb", 37, "black", "oneLine=true"],
["Rules Text", "", scale(64), scale(729), scale(616), scale(0), "mplantin", 38, "black", "lineSpace=0.97"],
["Power Toughness", "", scale(587), scale(958), scale(110), 0, "belerenb", 38, "black", "oneLine=true,textAlign='center'"]
]
}
version.currentVersion = "expedition"
version.artX = scale(56)
version.artY = scale(113)
@@ -21,13 +30,6 @@ version.watermarkHeight = scale(250)
version.watermarkY = scale(800)
version.masksToAdd = ["Title Expedition", "Type Expedition", "Rules Text Expedition", "Pinline Expedition"]
filterFramePicker("frameClassExpedition")
//Name, text, x, y, width, height, font, size, color, other, alternative-function
version.textList = [
["Title", "", scale(64), scale(77), scale(630), 0, "belerenb", 37, "black", "oneLine=true"],
["Type", "", scale(64), scale(875), scale(630), 0, "belerenb", 37, "black", "oneLine=true"],
["Rules Text", "", scale(64), scale(729), scale(616), scale(0), "mplantin", 38, "black", "lineSpace=0.97"],
["Power Toughness", "", scale(587), scale(958), scale(110), 0, "belerenb", 38, "black", "oneLine=true,textAlign='center'"]
]
if (!version.addedExpedition) {
version.addedExpedition = true
}

View File

@@ -1,6 +1,16 @@
//============================================//
// Card Conjurer, by Kyle Burton //
//============================================//
if (version.currentVersion != "m15") {
//Name, text, x, y, width, height, font, size, color, other
version.textList = [
["Title", "", scale(64), scale(83), scale(630), 0, "belerenb", 37, "black", "oneLine=true"],
["Type", "", scale(64), scale(615), scale(630), 0, "belerenb", 33, "black", "oneLine=true"],
["Rules Text", "", scale(64), scale(662), scale(616), scale(292), "mplantin", 38, "black", "lineSpace=0.97"],
["Power Toughness", "", scale(587), scale(958), scale(110), 0, "belerenb", 38, "black", "oneLine=true,textAlign='center'"]/*,
["Flip PT", "", scale(588), scale(902), scale(100), 0, "belerenb", 28, "#666", "oneLine=true,textAlign='right'"]*/
]
}
version.currentVersion = "m15"
version.artX = scale(58)
version.artY = scale(118)
@@ -25,14 +35,7 @@ version.watermarkHeight = scale(250)
version.watermarkY = scale(800)
version.masksToAdd = ["Right Half", "Corners", "Full", "Title", "Type", "Rules Text", "Pinline", "Frame", "Border", "Legend", "Legend With Border", "Box Topper"];
filterFramePicker("frameClassRegular");
//Name, text, x, y, width, height, font, size, color, other
version.textList = [
["Title", "", scale(64), scale(83), scale(630), 0, "belerenb", 37, "black", "oneLine=true"],
["Type", "", scale(64), scale(615), scale(630), 0, "belerenb", 33, "black", "oneLine=true"],
["Rules Text", "", scale(64), scale(662), scale(616), scale(292), "mplantin", 38, "black", "lineSpace=0.97"],
["Power Toughness", "", scale(587), scale(958), scale(110), 0, "belerenb", 38, "black", "oneLine=true,textAlign='center'"]/*,
["Flip PT", "", scale(588), scale(902), scale(100), 0, "belerenb", 28, "#666", "oneLine=true,textAlign='right'"]*/
]
function m15BottomInfo() {
//remember to ctrl+f for 'artistBrushWidth' and adjust that when fixing these values!

View File

@@ -1,6 +1,16 @@
//============================================//
// Card Conjurer, by Kyle Burton //
//============================================//
if (version.currentVersion != "m15") {
//Name, text, x, y, width, height, font, size, color, other
version.textList = [
["Title", "", scale(64), scale(83), scale(630), 0, "belerenb", 37, "black", "oneLine=true"],
["Type", "", scale(64), scale(615), scale(630), 0, "belerenb", 33, "black", "oneLine=true"],
["Rules Text", "", scale(64), scale(662), scale(616), scale(292), "mplantin", 38, "black", "lineSpace=0.97"],
["Power Toughness", "", scale(587), scale(958), scale(110), 0, "belerenb", 38, "black", "oneLine=true,textAlign='center'"]/*,
["Flip PT", "", scale(588), scale(902), scale(100), 0, "belerenb", 28, "#666", "oneLine=true,textAlign='right'"]*/
]
}
version.currentVersion = "m15"
version.artX = scale(58)
version.artY = scale(118)
@@ -21,14 +31,6 @@ version.watermarkHeight = scale(250)
version.watermarkY = scale(800)
version.masksToAdd = []
filterFramePicker("frameClassRegular");
//Name, text, x, y, width, height, font, size, color, other
version.textList = [
["Title", "", scale(64), scale(83), scale(630), 0, "belerenb", 37, "black", "oneLine=true"],
["Type", "", scale(64), scale(615), scale(630), 0, "belerenb", 33, "black", "oneLine=true"],
["Rules Text", "", scale(64), scale(662), scale(616), scale(292), "mplantin", 38, "black", "lineSpace=0.97"],
["Power Toughness", "", scale(587), scale(958), scale(110), 0, "belerenb", 38, "black", "oneLine=true,textAlign='center'"]/*,
["Flip PT", "", scale(588), scale(902), scale(100), 0, "belerenb", 28, "#666", "oneLine=true,textAlign='right'"]*/
]
m15BottomInfo()
finishChangingVersion("data/images/m15Extras/m15ExtrasCSV.csv")

View File

@@ -1,6 +1,18 @@
//============================================//
// Card Conjurer, by Kyle Burton //
//============================================//
if (version.currentVersion != "planeswalker") {
//Name, text, x, y, width, height, font, size, color, other, alternative-function
version.textList = [
["Title", "", scale(65), scale(65), scale(630), 0, "belerenb", scale(39), "black", "oneLine=true"],
["Type", "", scale(65), scale(615), scale(630), 0, "belerenb", scale(33), "black", "oneLine=true"],
["First Ability","",,,,,,,,,"planeswalkerAbilities"],
["Second Ability", "",,,,,,,,,"ignore"],
["Third Ability", "",,,,,,,,,"ignore"],
["Fourth Ability", "",,,,,,,,,"ignore"],
["Loyalty", "", scale(615), scale(958), scale(79), 0, "belerenb", scale(38), "white", "oneLine=true,textAlign='center'"]
]
}
version.currentVersion = "planeswalker"
version.artX = scale(50)
version.artY = scale(95)
@@ -21,16 +33,7 @@ version.watermarkHeight = scale(250)
version.watermarkY = scale(800)
version.masksToAdd = ["Title Planeswalker", "Type Planeswalker", "Pinline Planeswalker", "Frame Planeswalker", "Border Planeswalker", "Loyalty Planeswalker", "Rules Text Planeswalker"]
filterFramePicker("frameClassPlaneswalker")
//Name, text, x, y, width, height, font, size, color, other, alternative-function
version.textList = [
["Title", "", scale(65), scale(65), scale(630), 0, "belerenb", scale(39), "black", "oneLine=true"],
["Type", "", scale(65), scale(615), scale(630), 0, "belerenb", scale(33), "black", "oneLine=true"],
["First Ability","",,,,,,,,,"planeswalkerAbilities"],
["Second Ability", "",,,,,,,,,"ignore"],
["Third Ability", "",,,,,,,,,"ignore"],
["Fourth Ability", "",,,,,,,,,"ignore"],
["Loyalty", "", scale(615), scale(958), scale(79), 0, "belerenb", scale(38), "white", "oneLine=true,textAlign='center'"]
]
function m15PlaneswalkerBottomInfo() { //remember to ctrl+f for 'artistBrushWidth' and adjust that when fixing these values!
bottomInfoContext.clearRect(0, 0, cardWidth, cardHeight)
bottomInfoContext.writeText(document.getElementById("inputInfoNumber").value + " " + document.getElementById("inputInfoRarity").value + " *Not For Sale*", scale(46), scale(982), scale(329), 0, "gothammedium", scale(17), "white", "oneLine=true")

View File

@@ -1,6 +1,13 @@
//============================================//
// Card Conjurer, by Kyle Burton //
//============================================//
if (version.currentVersion != "unhinged") {
//Name, text, x, y, width, height, font, size, color, other
version.textList = [
["Title", "", scale(280), scale(56), scale(174), 0, "belerenb", 37, "black", "oneLine=true,textAlign='center'"],/*,
["Flip PT", "", scale(588), scale(902), scale(100), 0, "belerenb", 28, "#666", "oneLine=true,textAlign='right'"]*/
]
}
version.currentVersion = "unhinged"
version.artX = scale(59)
version.artY = scale(58)
@@ -21,11 +28,7 @@ version.watermarkHeight = scale(250)
version.watermarkY = scale(800)
version.masksToAdd = ["Title Unhinged", "Pinline Unhinged", "Frame Unhinged", "Border Unhinged"]
filterFramePicker("frameClassUnhinged")
//Name, text, x, y, width, height, font, size, color, other
version.textList = [
["Title", "", scale(280), scale(56), scale(174), 0, "belerenb", 37, "black", "oneLine=true,textAlign='center'"],/*,
["Flip PT", "", scale(588), scale(902), scale(100), 0, "belerenb", 28, "#666", "oneLine=true,textAlign='right'"]*/
]
function unhingedBottomInfo() {
//remember to ctrl+f for 'artistBrushWidth' and adjust that when fixing these values!

View File

@@ -162,10 +162,38 @@
Hi! My name is Kyle Burton and I am currently a high school student. I used to play Pokemon, but when a friend introduced me to Magic in 2013 I sold my pocket monsters and bought an M14 Intro Pack. Ever since that day Magic has been my all time favorite game. In addition to playing games, I've always <a href="https://www.youtube.com/watch?v=ERCzN91JicA" target="blank">loved technology</a>. During the 2017-18 school year I tought myself how to code Javascript, and a little bit of HTML and CSS. The following summer I created Kyle's Card Imager (<a href="https://scryfall.com/card/5dn/134/krark-clan-ironworks" target="blank">KCI</a>). It was pretty simple but I soon began to add more border images like Miracle or Nyx. After a few months I decided to share my creation, so I renamed it Card Conjurer and uploaded it to Github, and then in April of 2019 I bought the domain <a href="#" onclick="alert('You\'re already there, silly!')">cardconjurer.com</a>.
</div>
</div>
<div class="layer">
<div class="title">Check Out Some Samples!</div>
<div class="samples">
<img id="sample1" alt="loading sample...">
<img id="sample2" alt="loading sample...">
<img id="sample3" alt="loading sample...">
</div>
</div>
<div class="layer">
<div class="title">How You Can Help</div>
<div class="donateHalfGrid">
<img id="wishlistCardImage" placeholder="loading...">
<div>
<div class="paragraph indent">I play Commander, which can be expensive for a student! Right now, one of the cards that I'm saving up for is <label id="wishlistCardName">loading..</label>. If you've enjoyed using Card Conjurer, a small donation, even as low as a single cent, would be incredibly appreciated and put to good use!</div>
<div class="donateGrid">
<div class="imageLinkGrid">
<a class="imageLink showBackgroundThrough" style="color: #012d8a;" href="https://www.paypal.me/kyleburtondonate" target="_blank"><img src="data/site/icons/paypal.png"><div>PayPal</div></a>
</div>
</div>
</div>
</div>
</div>
<div class="layer">
<div class="title">Looking for the Original?</div>
<div class="paragraph indent">
This version of the website is currently a work in progress, so it doesn't have the same features that the original Card Conjurer had. If you want to go back to the old version, <a href="old/index.html">click here</a>.
This version of the website doesn't have the same features that the original Card Conjurer had. If you want to go back to the old version, <a href="old/index.html">click here</a>.
</div>
</div>
<div class="layer">
<div class="title">Have Any Questions?</div>
<div class="paragraph indent">
If you have any questions please don't hesitate to email me at <label class="truncate"><a href="https://mail.google.com/mail/u/0/?view=cm&fs=1&to=CardConjurerMTG@gmail.com&su=Card%20Conjurer&tf=1" target="_blank">CardConjurerMTG@gmail.com</a></label>. Even if you made a cool card and want to share, I'd love to see it!
</div>
</div>
<div class="layer">
@@ -177,20 +205,6 @@
<a class="imageLink showBackgroundThrough" style="color: #738adb;" href="https://discordapp.com/invite/xBCQprM" target="_blank"><img src="data/site/icons/discord.png"><div>Discord</div></a>
</div>
</div>
</div>
<div class="layer">
<div class="title">Have Any Questions?</div>
<div class="paragraph indent">
If you have any questions please don't hesitate to email me at: <div class="truncate"><a href="https://mail.google.com/mail/u/0/?view=cm&fs=1&to=CardConjurerMTG@gmail.com&su=Card%20Conjurer&tf=1" target="_blank">CardConjurerMTG@gmail.com</a></div>Even if you made a cool card and want to share, I'd love to see it!
</div>
</div>
<div class="layer">
<div class="title">Check Out Some Samples!</div>
<div class="samples">
<img id="sample1" alt="loading sample...">
<img id="sample2" alt="loading sample...">
<img id="sample3" alt="loading sample...">
</div>
</div>
</div>
</body>