This commit is contained in:
Kyle
2018-11-02 12:56:08 -07:00
parent 2994a3556b
commit 284eab6d4f
8 changed files with 1086 additions and 1 deletions

View File

@@ -407,6 +407,7 @@ for (i = 0; i < imgListUser.length; i ++) {
var imgName = "img" + imgListUser[i].charAt(0).toUpperCase() + imgListUser[i].slice(1) var imgName = "img" + imgListUser[i].charAt(0).toUpperCase() + imgListUser[i].slice(1)
window[imgName] = new Image() window[imgName] = new Image()
} }
imgArt.crossOrigin = "anonymous"
//Load static images //Load static images
var imgListStatic = ["artistBrush", "foil", "stampGradient", "multiGradient", "rareStamp", "cardMask", "bar", "identity"] var imgListStatic = ["artistBrush", "foil", "stampGradient", "multiGradient", "rareStamp", "cardMask", "bar", "identity"]
for (i = 0; i < imgListStatic.length; i ++) { for (i = 0; i < imgListStatic.length; i ++) {
@@ -1066,7 +1067,7 @@ function downloadCardImage(linkElement) {
} }
//Randomizes the sample cards at the bottom of the page. Runs it here too //Randomizes the sample cards at the bottom of the page. Runs it here too
randomizeSampleCards(6) randomizeSampleCards(3)
function randomizeSampleCards(count) { function randomizeSampleCards(count) {
var cardNumbers = [] var cardNumbers = []
while (cardNumbers.length < 3) { while (cardNumbers.length < 3) {

1084
sampleCards/card (1).png Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 901 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB