Add LTR Ring frame
BIN
img/frames/lotr/a.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
img/frames/lotr/aThumb.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
img/frames/lotr/b.png
Normal file
After Width: | Height: | Size: 1011 KiB |
BIN
img/frames/lotr/bThumb.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
img/frames/lotr/border.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
img/frames/lotr/borderThumb.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
img/frames/lotr/crown/a.png
Normal file
After Width: | Height: | Size: 83 KiB |
BIN
img/frames/lotr/crown/aThumb.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
img/frames/lotr/crown/b.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
img/frames/lotr/crown/bThumb.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
img/frames/lotr/crown/g.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
img/frames/lotr/crown/gThumb.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
img/frames/lotr/crown/l.png
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
img/frames/lotr/crown/lThumb.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
img/frames/lotr/crown/m.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
img/frames/lotr/crown/mThumb.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
img/frames/lotr/crown/r.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
img/frames/lotr/crown/rThumb.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
img/frames/lotr/crown/u.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
img/frames/lotr/crown/uThumb.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
img/frames/lotr/crown/w.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
img/frames/lotr/crown/wThumb.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
img/frames/lotr/g.png
Normal file
After Width: | Height: | Size: 1017 KiB |
BIN
img/frames/lotr/gThumb.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
img/frames/lotr/l.png
Normal file
After Width: | Height: | Size: 946 KiB |
BIN
img/frames/lotr/lThumb.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
img/frames/lotr/m.png
Normal file
After Width: | Height: | Size: 956 KiB |
BIN
img/frames/lotr/mThumb.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
img/frames/lotr/margin/a.png
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
img/frames/lotr/margin/aThumb.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
img/frames/lotr/margin/b.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
img/frames/lotr/margin/bThumb.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
img/frames/lotr/margin/g.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
img/frames/lotr/margin/gThumb.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
img/frames/lotr/margin/l.png
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
img/frames/lotr/margin/lThumb.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
img/frames/lotr/margin/m.png
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
img/frames/lotr/margin/mThumb.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
img/frames/lotr/margin/r.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
img/frames/lotr/margin/rThumb.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
img/frames/lotr/margin/u.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
img/frames/lotr/margin/uThumb.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
img/frames/lotr/margin/w.png
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
img/frames/lotr/margin/wThumb.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
img/frames/lotr/maskRightHalf.png
Normal file
After Width: | Height: | Size: 116 KiB |
BIN
img/frames/lotr/pt/a.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
img/frames/lotr/pt/aThumb.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
img/frames/lotr/pt/b.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
img/frames/lotr/pt/bThumb.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
img/frames/lotr/pt/g.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
img/frames/lotr/pt/gThumb.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
img/frames/lotr/pt/l.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
img/frames/lotr/pt/lThumb.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
img/frames/lotr/pt/m.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
img/frames/lotr/pt/mThumb.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
img/frames/lotr/pt/r.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
img/frames/lotr/pt/rThumb.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
img/frames/lotr/pt/u.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
img/frames/lotr/pt/uThumb.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
img/frames/lotr/pt/w.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
img/frames/lotr/pt/wThumb.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
img/frames/lotr/r.png
Normal file
After Width: | Height: | Size: 947 KiB |
BIN
img/frames/lotr/rThumb.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
img/frames/lotr/rules.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
img/frames/lotr/rulesThumb.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
img/frames/lotr/stamp/a.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/lotr/stamp/aThumb.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
img/frames/lotr/stamp/b.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/lotr/stamp/bThumb.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
img/frames/lotr/stamp/g.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/lotr/stamp/gThumb.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
img/frames/lotr/stamp/gold.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
img/frames/lotr/stamp/goldThumb.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
img/frames/lotr/stamp/gray.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
img/frames/lotr/stamp/grayThumb.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
img/frames/lotr/stamp/l.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/lotr/stamp/lThumb.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
img/frames/lotr/stamp/m.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/lotr/stamp/mThumb.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
img/frames/lotr/stamp/r.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/lotr/stamp/rThumb.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
img/frames/lotr/stamp/u.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/lotr/stamp/uThumb.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
img/frames/lotr/stamp/w.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
img/frames/lotr/stamp/wThumb.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
img/frames/lotr/title.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
img/frames/lotr/titleThumb.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
img/frames/lotr/type.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
img/frames/lotr/typeThumb.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
img/frames/lotr/u.png
Normal file
After Width: | Height: | Size: 937 KiB |
BIN
img/frames/lotr/uThumb.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
img/frames/lotr/w.png
Normal file
After Width: | Height: | Size: 752 KiB |
BIN
img/frames/lotr/wThumb.png
Normal file
After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.0 KiB |
@@ -30,6 +30,7 @@ const frameNames = new Map ([
|
||||
['Colorshifted (Planar Chaos)', 'Colorshifted'],
|
||||
['Brawl Legend Crowns', 'Brawl'],
|
||||
//showcase
|
||||
['Ring (LTR)', 'Ring'],
|
||||
['Ixalan Coin (MOM)', 'IxalanCoin'],
|
||||
['Ikoria Crystal (MOM)', 'Crystal'],
|
||||
['Ravnica Architecture (MOM)', 'Ravnica'],
|
||||
|
@@ -1,5 +1,6 @@
|
||||
loadFramePacks([
|
||||
{name:'Generic Margins', value:'Margin-1'},
|
||||
{name:'LTR Ring Margins', value:'MarginRing'},
|
||||
{name:'D&D Module Margins', value:'MarginDNDModule'},
|
||||
{name:'Mystical Archive Margins', value:'MarginMysticalArchive'},
|
||||
{name:'Unstable Basics Margins', value:'MarginUnstable'},
|
||||
|
@@ -1,5 +1,6 @@
|
||||
loadFramePacks([
|
||||
{name:'Set Showcase Frames (Chronological)', value:'disabled'},
|
||||
{name:'Ring (LTR)', value:'Ring'},
|
||||
{name:'Ixalan Coin (MOM)', value:'IxalanCoin'},
|
||||
{name:'Tarkir Sketch (MOM)', value:'Tarkir'},
|
||||
{name:'Ikoria Crystal (MOM)', value:'Crystal'},
|
||||
|
20
js/frames/packMarginRing.js
Normal file
@@ -0,0 +1,20 @@
|
||||
//Create objects for common properties across available frames
|
||||
var bounds = {x:-0.044, y:-1/35, width:1.088, height:37/35};
|
||||
var ogBounds = {x:0, y:0, width:1, height:1};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Extension', src:'/img/frames/lotr/margin/w.png', bounds:bounds, ogBounds:ogBounds},
|
||||
{name:'Blue Extension', src:'/img/frames/lotr/margin/u.png', bounds:bounds, ogBounds:ogBounds},
|
||||
{name:'Black Extension', src:'/img/frames/lotr/margin/b.png', bounds:bounds, ogBounds:ogBounds},
|
||||
{name:'Red Extension', src:'/img/frames/lotr/margin/r.png', bounds:bounds, ogBounds:ogBounds},
|
||||
{name:'Green Extension', src:'/img/frames/lotr/margin/g.png', bounds:bounds, ogBounds:ogBounds},
|
||||
{name:'Multicolored Extension', src:'/img/frames/lotr/margin/m.png', bounds:bounds, ogBounds:ogBounds},
|
||||
{name:'Artifact Extension', src:'/img/frames/lotr/margin/a.png', bounds:bounds, ogBounds:ogBounds},
|
||||
{name:'Land Extension', src:'/img/frames/lotr/margin/l.png', bounds:bounds, ogBounds:ogBounds}
|
||||
];
|
||||
//disables/enables the "Load Frame Version" button
|
||||
document.querySelector('#loadFrameVersion').disabled = false;
|
||||
//defines process for loading this version, if applicable
|
||||
document.querySelector('#loadFrameVersion').onclick = loadMarginVersion;
|
||||
//loads available frames
|
||||
loadFramePack();
|
75
js/frames/packRing.js
Normal file
@@ -0,0 +1,75 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [{src:'/img/frames/lotr/title.png', name:'Title'}, {src:'/img/frames/lotr/type.png', name:'Type'}, {src:'/img/frames/lotr/rules.png', name:'Rules'}, {src:'/img/frames/lotr/border.png', name:'Border'}];
|
||||
var ptBounds = {x:1148/1500, y:1857/2100, width:268/1500, height:134/2100};
|
||||
var crownBounds = {x:0/1500, y:0/2100, width:1500/1500, height:272/2100};
|
||||
var stampBounds = {x:644/1500, y:1893/2100, width:212/1500, height:95/2100};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Frame', src:'/img/frames/lotr/w.png', masks:masks},
|
||||
{name:'Blue Frame', src:'/img/frames/lotr/u.png', masks:masks},
|
||||
{name:'Black Frame', src:'/img/frames/lotr/b.png', masks:masks},
|
||||
{name:'Red Frame', src:'/img/frames/lotr/r.png', masks:masks},
|
||||
{name:'Green Frame', src:'/img/frames/lotr/g.png', masks:masks},
|
||||
{name:'Multicolored Frame', src:'/img/frames/lotr/m.png', masks:masks},
|
||||
{name:'Artifact Frame', src:'/img/frames/lotr/a.png', masks:masks},
|
||||
{name:'Land Frame', src:'/img/frames/lotr/l.png', masks:masks},
|
||||
|
||||
{name:'White Power/Toughness', src:'/img/frames/lotr/pt/w.png', bounds:ptBounds},
|
||||
{name:'Blue Power/Toughness', src:'/img/frames/lotr/pt/u.png', bounds:ptBounds},
|
||||
{name:'Black Power/Toughness', src:'/img/frames/lotr/pt/b.png', bounds:ptBounds},
|
||||
{name:'Red Power/Toughness', src:'/img/frames/lotr/pt/r.png', bounds:ptBounds},
|
||||
{name:'Green Power/Toughness', src:'/img/frames/lotr/pt/g.png', bounds:ptBounds},
|
||||
{name:'Multicolored Power/Toughness', src:'/img/frames/lotr/pt/m.png', bounds:ptBounds},
|
||||
{name:'Artifact Power/Toughness', src:'/img/frames/lotr/pt/a.png', bounds:ptBounds},
|
||||
{name:'Land Power/Toughness', src:'/img/frames/lotr/pt/l.png', bounds:ptBounds},
|
||||
|
||||
{name:'White Legendary Crown', src:'/img/frames/lotr/crown/w.png', bounds:crownBounds},
|
||||
{name:'Blue Legendary Crown', src:'/img/frames/lotr/crown/u.png', bounds:crownBounds},
|
||||
{name:'Black Legendary Crown', src:'/img/frames/lotr/crown/b.png', bounds:crownBounds},
|
||||
{name:'Red Legendary Crown', src:'/img/frames/lotr/crown/r.png', bounds:crownBounds},
|
||||
{name:'Green Legendary Crown', src:'/img/frames/lotr/crown/g.png', bounds:crownBounds},
|
||||
{name:'Multicolored Legendary Crown', src:'/img/frames/lotr/crown/m.png', bounds:crownBounds},
|
||||
{name:'Artifact Legendary Crown', src:'/img/frames/lotr/crown/a.png', bounds:crownBounds},
|
||||
{name:'Land Legendary Crown', src:'/img/frames/lotr/crown/l.png', bounds:crownBounds},
|
||||
|
||||
{name:'White Holo Stamp', src:'/img/frames/lotr/stamp/w.png', bounds:stampBounds},
|
||||
{name:'Blue Holo Stamp', src:'/img/frames/lotr/stamp/u.png', bounds:stampBounds},
|
||||
{name:'Black Holo Stamp', src:'/img/frames/lotr/stamp/b.png', bounds:stampBounds},
|
||||
{name:'Red Holo Stamp', src:'/img/frames/lotr/stamp/r.png', bounds:stampBounds},
|
||||
{name:'Green Holo Stamp', src:'/img/frames/lotr/stamp/g.png', bounds:stampBounds},
|
||||
{name:'Multicolored Holo Stamp', src:'/img/frames/lotr/stamp/m.png', bounds:stampBounds},
|
||||
{name:'Artifact Holo Stamp', src:'/img/frames/lotr/stamp/a.png', bounds:stampBounds},
|
||||
{name:'Land Holo Stamp', src:'/img/frames/lotr/stamp/l.png', bounds:stampBounds},
|
||||
{name:'Gray Holo Stamp', src:'/img/frames/lotr/stamp/gray.png', bounds:stampBounds},
|
||||
{name:'Gold Holo Stamp', src:'/img/frames/lotr/stamp/gold.png', bounds:stampBounds},
|
||||
];
|
||||
//disables/enables the "Load Frame Version" button
|
||||
document.querySelector('#loadFrameVersion').disabled = false;
|
||||
//defines process for loading this version, if applicable
|
||||
document.querySelector('#loadFrameVersion').onclick = async function() {
|
||||
// notify("To change the color of your mana cost, use {manacolor#}, but replace '#' with your desired color. 'white', 'blue', 'black', 'red', and 'green', as well as hex/html color codes are currently supported.", 15)
|
||||
//resets things so that every frame doesn't have to
|
||||
await resetCardIrregularities();
|
||||
replacementMasks = {'Right Half':'img/frames/lotr/maskRightHalf.png'};
|
||||
//sets card version
|
||||
card.version = 'ring';
|
||||
//art bounds
|
||||
card.artBounds = {x:149/1500, y:252/2100, width:1202/1500, height:918/2100};
|
||||
autoFitArt();
|
||||
//set symbol bounds
|
||||
card.setSymbolBounds = {x:1376/1500, y:1242/2100, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'};
|
||||
resetSetSymbol();
|
||||
//watermark bounds
|
||||
card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305};
|
||||
resetWatermark();
|
||||
//text
|
||||
loadTextOptions({
|
||||
mana: {name:'Mana Cost', text:'', y:143/2100, width:1384/1500, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0},
|
||||
title: {name:'Title', text:'', x:0.0854, y:120/2100, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381, color:'white'},
|
||||
type: {name:'Type', text:'', x:0.0854, y:0.5664, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, color:'white'},
|
||||
rules: {name:'Rules Text', text:'', x:0.086, y:0.6303, width:0.828, height:0.2875, size:0.0362},
|
||||
pt: {name:'Power/Toughness', text:'', x:1184/1500, y:1887/2100, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', color:'white'}
|
||||
});
|
||||
}
|
||||
//loads available frames
|
||||
loadFramePack();
|