mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
8th ed upgrades
This commit is contained in:
1
img/frames/8th/border.svg
Normal file
1
img/frames/8th/border.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="343" height="480" viewBox="0 0 343 480" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path d="M342.845,0l-342.845,0l0,479.984l342.845,-0l0,-479.984Zm-17.828,17.828l-307.189,-0l-0,444.556l307.189,0l0,-444.556Z"/></svg>
|
After Width: | Height: | Size: 572 B |
BIN
img/frames/8th/borderThumb.png
Normal file
BIN
img/frames/8th/borderThumb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 821 B |
BIN
img/frames/8th/c.png
Normal file
BIN
img/frames/8th/c.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
BIN
img/frames/8th/cThumb.png
Normal file
BIN
img/frames/8th/cThumb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.0 KiB |
@@ -1,5 +1,6 @@
|
|||||||
//Create objects for common properties across available frames
|
//Create objects for common properties across available frames
|
||||||
var masks = [{src:'/img/frames/8th/pinline.png', name:'Pinline'}, {src:'/img/frames/8th/title.png', name:'Title'}, {src:'/img/frames/8th/type.png', name:'Type'}, {src:'/img/frames/8th/rules.png', name:'Rules'}, {src:'/img/frames/8th/frame.png', name:'Frame'}];
|
var masks = [{src:'/img/frames/8th/pinline.png', name:'Pinline'}, {src:'/img/frames/8th/title.png', name:'Title'}, {src:'/img/frames/8th/type.png', name:'Type'}, {src:'/img/frames/8th/rules.png', name:'Rules'}, {src:'/img/frames/8th/frame.png', name:'Frame'}];
|
||||||
|
var masks2 = [{src:'/img/frames/8th/border.svg', name:'Border'}];
|
||||||
var bounds = {x:0.7227, y:0.8796, width:0.2147, height:0.0839};
|
var bounds = {x:0.7227, y:0.8796, width:0.2147, height:0.0839};
|
||||||
//defines available frames
|
//defines available frames
|
||||||
availableFrames = [
|
availableFrames = [
|
||||||
@@ -10,6 +11,7 @@ availableFrames = [
|
|||||||
{name:'Green Frame', src:'/img/frames/8th/g.png', masks:masks},
|
{name:'Green Frame', src:'/img/frames/8th/g.png', masks:masks},
|
||||||
{name:'Multicolored Frame', src:'/img/frames/8th/m.png', masks:masks},
|
{name:'Multicolored Frame', src:'/img/frames/8th/m.png', masks:masks},
|
||||||
{name:'Artifact Frame', src:'/img/frames/8th/a.png', masks:masks},
|
{name:'Artifact Frame', src:'/img/frames/8th/a.png', masks:masks},
|
||||||
|
{name:'Colorless Frame', src:'/img/frames/8th/c.png', masks:masks},
|
||||||
{name:'Land Frame', src:'/img/frames/8th/l.png', masks:masks},
|
{name:'Land Frame', src:'/img/frames/8th/l.png', masks:masks},
|
||||||
{name:'White Land Frame', src:'/img/frames/8th/wl.png', masks:masks},
|
{name:'White Land Frame', src:'/img/frames/8th/wl.png', masks:masks},
|
||||||
{name:'Blue Land Frame', src:'/img/frames/8th/ul.png', masks:masks},
|
{name:'Blue Land Frame', src:'/img/frames/8th/ul.png', masks:masks},
|
||||||
@@ -24,7 +26,10 @@ availableFrames = [
|
|||||||
{name:'Green Power/Toughness', src:'/img/frames/8th/pt/g.png', bounds:bounds},
|
{name:'Green Power/Toughness', src:'/img/frames/8th/pt/g.png', bounds:bounds},
|
||||||
{name:'Multicolored Power/Toughness', src:'/img/frames/8th/pt/m.png', bounds:bounds},
|
{name:'Multicolored Power/Toughness', src:'/img/frames/8th/pt/m.png', bounds:bounds},
|
||||||
{name:'Artifact Power/Toughness', src:'/img/frames/8th/pt/a.png', bounds:bounds},
|
{name:'Artifact Power/Toughness', src:'/img/frames/8th/pt/a.png', bounds:bounds},
|
||||||
{name:'Colorless Power/Toughness', src:'/img/frames/8th/pt/l.png', bounds:bounds}
|
{name:'Colorless Power/Toughness', src:'/img/frames/8th/pt/l.png', bounds:bounds},
|
||||||
|
{name:'White Border', src:'/img/frames/white.png', masks:masks2, noDefaultMask:true},
|
||||||
|
{name:'Silver Border', src:'/img/frames/silver.png', masks:masks2, noDefaultMask:true},
|
||||||
|
{name:'Gold Border', src:'/img/frames/gold.png', masks:masks2, noDefaultMask:true}
|
||||||
];
|
];
|
||||||
//disables/enables the "Load Frame Version" button
|
//disables/enables the "Load Frame Version" button
|
||||||
document.querySelector('#loadFrameVersion').disabled = false;
|
document.querySelector('#loadFrameVersion').disabled = false;
|
||||||
@@ -53,9 +58,9 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
|
|||||||
});
|
});
|
||||||
//bottom info
|
//bottom info
|
||||||
loadBottomInfo({
|
loadBottomInfo({
|
||||||
top: {text:'{conditionalcolor:Black_Frame,Land_Frame:white}\uFFEE {elemidinfo-artist}', x:0.094, y:1904/2100, width:0.8107, height:0.0248, oneLine:true, font:'matrixb', size:0.0248, color:'black', shadowX:0.0007, shadowY:0.0005},
|
top: {text:'{conditionalcolor:Black_Frame,Land_Frame,Colorless_Frame:white}\uFFEE {elemidinfo-artist}', x:0.094, y:1904/2100, width:0.8107, height:0.0248, oneLine:true, font:'matrixb', size:0.0248, color:'black', shadowX:0.0007, shadowY:0.0005},
|
||||||
wizards: {name:'wizards', text:'{conditionalcolor:Black_Frame,Land_Frame:white}\u2122 & \u00a9 1993-{elemidinfo-year} Wizards of the Coast, Inc. {elemidinfo-number}', x:0.094, y:1958/2100, width:0.8107, height:0.0153, oneLine:true, font:'mplantin', size:0.0153, color:'black', shadowX:0.0007, shadowY:0.0005},
|
wizards: {name:'wizards', text:'{conditionalcolor:Black_Frame,Land_Frame,Colorless_Frame:white}\u2122 & \u00a9 1993-{elemidinfo-year} Wizards of the Coast, Inc. {elemidinfo-number}', x:0.094, y:1958/2100, width:0.8107, height:0.0153, oneLine:true, font:'mplantin', size:0.0153, color:'black', shadowX:0.0007, shadowY:0.0005},
|
||||||
bottom: {text:'{conditionalcolor:Black_Frame,Land_Frame:white}NOT FOR SALE CardConjurer.com', x:0.094, y:1994/2100, width:0.8107, height:0.0134, oneLine:true, font:'mplantin', size:0.0134, color:'black', shadowX:0.0007, shadowY:0.0005}
|
bottom: {text:'{conditionalcolor:Black_Frame,Land_Frame,Colorless_Frame:white}NOT FOR SALE CardConjurer.com', x:0.094, y:1994/2100, width:0.8107, height:0.0134, oneLine:true, font:'mplantin', size:0.0134, color:'black', shadowX:0.0007, shadowY:0.0005}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
//loads available frames
|
//loads available frames
|
||||||
|
Reference in New Issue
Block a user