Add Universes Beyond Saga frame
BIN
img/frames/saga/ub/l.png
Normal file
After Width: | Height: | Size: 724 KiB |
BIN
img/frames/saga/ub/lThumb.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
img/frames/saga/ub/sagaFrameB.png
Normal file
After Width: | Height: | Size: 868 KiB |
BIN
img/frames/saga/ub/sagaFrameBThumb.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
img/frames/saga/ub/sagaFrameG.png
Normal file
After Width: | Height: | Size: 952 KiB |
BIN
img/frames/saga/ub/sagaFrameGThumb.png
Normal file
After Width: | Height: | Size: 9.8 KiB |
BIN
img/frames/saga/ub/sagaFrameM.png
Normal file
After Width: | Height: | Size: 940 KiB |
BIN
img/frames/saga/ub/sagaFrameMThumb.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
img/frames/saga/ub/sagaFrameR.png
Normal file
After Width: | Height: | Size: 908 KiB |
BIN
img/frames/saga/ub/sagaFrameRThumb.png
Normal file
After Width: | Height: | Size: 9.9 KiB |
BIN
img/frames/saga/ub/sagaFrameU.png
Normal file
After Width: | Height: | Size: 938 KiB |
BIN
img/frames/saga/ub/sagaFrameUThumb.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
img/frames/saga/ub/sagaFrameW.png
Normal file
After Width: | Height: | Size: 879 KiB |
BIN
img/frames/saga/ub/sagaFrameWThumb.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
img/frames/saga/ub/sagaMaskBanner.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
img/frames/saga/ub/sagaMaskBannerRight.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
img/frames/saga/ub/sagaMaskBannerRightThumb.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
img/frames/saga/ub/sagaMaskBannerThumb.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
img/frames/saga/ub/sagaMaskBorder.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
img/frames/saga/ub/sagaMaskBorderThumb.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
img/frames/saga/ub/sagaMaskFrame.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
img/frames/saga/ub/sagaMaskFrameThumb.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
img/frames/saga/ub/sagaMaskPinline.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
img/frames/saga/ub/sagaMaskPinlineThumb.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
img/frames/saga/ub/sagaMaskText.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
img/frames/saga/ub/sagaMaskTextRight.png
Normal file
After Width: | Height: | Size: 278 KiB |
BIN
img/frames/saga/ub/sagaMaskTextRightThumb.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
img/frames/saga/ub/sagaMaskTextThumb.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
img/frames/saga/ub/sagaMaskType.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
img/frames/saga/ub/sagaMaskTypeThumb.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
img/frames/saga/ub/sagaMidStripe.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
img/frames/saga/ub/sagaMidStripeThumb.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
img/frames/saga/ub/sagamaskTitle.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
img/frames/saga/ub/sagamaskTitleThumb.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
img/frames/saga/ub/stamp.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
img/frames/saga/ub/stampGray.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
img/frames/saga/ub/stampGrayThumb.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
img/frames/saga/ub/stampThumb.png
Normal file
After Width: | Height: | Size: 11 KiB |
@@ -98,6 +98,7 @@ const frameNames = new Map ([
|
|||||||
['Planeswalker Transform Icons', 'PlaneswalkerTransformIcons'],
|
['Planeswalker Transform Icons', 'PlaneswalkerTransformIcons'],
|
||||||
//saga
|
//saga
|
||||||
['Sagas', 'SagaRegular'],
|
['Sagas', 'SagaRegular'],
|
||||||
|
['Sagas (Universes Beyond)', 'SagaUB'],
|
||||||
//dfc
|
//dfc
|
||||||
['Transform (Front)', 'M15TransformFront'],
|
['Transform (Front)', 'M15TransformFront'],
|
||||||
['Transform (Back)', 'M15TransformBack'],
|
['Transform (Back)', 'M15TransformBack'],
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
loadFramePacks([
|
loadFramePacks([
|
||||||
{name:'Regular Frames', value:'SagaRegular'},
|
{name:'Regular Frames', value:'SagaRegular'},
|
||||||
|
{name:'Universes Beyond Frames', value:'SagaUB'},
|
||||||
{name:'Addons', value:'disabled'},
|
{name:'Addons', value:'disabled'},
|
||||||
{name:'Legend Crowns', value:'M15LegendCrowns'},
|
{name:'Legend Crowns', value:'M15LegendCrowns'},
|
||||||
{name:'Inner Crowns', value:'M15InnerCrowns'},
|
{name:'Inner Crowns', value:'M15InnerCrowns'},
|
||||||
|
49
js/frames/packSagaUB.js
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
//Create objects for common properties across available frames
|
||||||
|
var masks = [{src:'/img/frames/saga/ub/sagaMaskPinline.png', name:'Pinline'}, {src:'/img/frames/saga/ub/sagaMaskTitle.png', name:'Title'}, {src:'/img/frames/saga/ub/sagaMaskType.png', name:'Type'}, {src:'/img/frames/saga/ub/sagaMaskFrame.png', name:'Frame'}, {src:'/img/frames/saga/ub/sagaMaskBanner.png', name:'Banner'}, {src:'/img/frames/saga/ub/sagaMaskBannerRight.png', name:'Banner (Right)'}, {src:'/img/frames/saga/ub/sagaMaskText.png', name:'Text'}, {src:'/img/frames/saga/ub/sagaMaskTextRight.png', name:'Text (Right)'}, {src:'/img/frames/saga/ub/sagaMaskBorder.png', name:'Border'}];
|
||||||
|
//defines available frames
|
||||||
|
var stampBounds = {x:666/1500, y:1905/2100, width:171/1500, height:95/2100};
|
||||||
|
availableFrames = [
|
||||||
|
{name:'White Frame', src:'/img/frames/saga/ub/sagaFrameW.png', masks:masks},
|
||||||
|
{name:'Blue Frame', src:'/img/frames/saga/ub/sagaFrameU.png', masks:masks},
|
||||||
|
{name:'Black Frame', src:'/img/frames/saga/ub/sagaFrameB.png', masks:masks},
|
||||||
|
{name:'Red Frame', src:'/img/frames/saga/ub/sagaFrameR.png', masks:masks},
|
||||||
|
{name:'Green Frame', src:'/img/frames/saga/ub/sagaFrameG.png', masks:masks},
|
||||||
|
{name:'Multicolored Frame', src:'/img/frames/saga/ub/sagaFrameM.png', masks:masks},
|
||||||
|
{name:'Land Frame', src:'/img/frames/saga/ub/l.png', masks:masks},
|
||||||
|
{name:'Banner Pinstripe (Multicolored)', src:'/img/frames/saga/ub/sagaMidStripe.png', bounds:{x:112/1500, y:630/2100, width:15/1500, height:985/2100}},
|
||||||
|
{name:'Holo Stamp', src:'/img/frames/saga/ub/stamp.png', bounds:stampBounds},
|
||||||
|
{name:'Gray Stamp', src:'/img/frames/saga/ub/stampGray.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() {
|
||||||
|
//resets things so that every frame doesn't have to
|
||||||
|
await resetCardIrregularities();
|
||||||
|
//sets card version
|
||||||
|
card.version = 'sagaUB';
|
||||||
|
card.onload = '/js/frames/versionSaga.js';
|
||||||
|
loadScript('/js/frames/versionSaga.js');
|
||||||
|
//art bounds
|
||||||
|
card.artBounds = {x:753/1500, y:240/2100, width:630/1500, height:1517/2100};
|
||||||
|
autoFitArt();
|
||||||
|
//set symbol bounds
|
||||||
|
card.setSymbolBounds = {x:0.9227, y:1829/2100, width:0.12, height:0.0381, vertical:'center', horizontal: 'right'};
|
||||||
|
resetSetSymbol();
|
||||||
|
//watermark bounds
|
||||||
|
card.watermarkBounds = {x:0.3027, y:0.4748, width:0.3547, height:0.6767};
|
||||||
|
resetWatermark();
|
||||||
|
//text
|
||||||
|
loadTextOptions({
|
||||||
|
mana: {name:'Mana Cost', text:'', y:0.0613, width:0.9292, 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:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381},
|
||||||
|
type: {name:'Type', text:'', x:0.0854, y:1775/2100, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324},
|
||||||
|
ability0: {name:'Ability 1', text:'', x:0.1334, y:0.2896, width:0.35, height:0.1786, size:0.0305},
|
||||||
|
ability1: {name:'Ability 2', text:'', x:0.1334, y:0, width:0.35, height:0.1786, size:0.0305},
|
||||||
|
ability2: {name:'Ability 3', text:'', x:0.1334, y:0, width:0.35, height:0.1786, size:0.0305},
|
||||||
|
ability3: {name:'Ability 4', text:'', x:0.1334, y:0, width:0.35, height:0, size:0.0305},
|
||||||
|
reminder: {name:'Reminder Text', text:'{i}(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)', x:0.0867, y:0.1129, width:0.404, height:0.1772, size:0.03, shadowColor:'white'}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
//loads available frames
|
||||||
|
loadFramePack();
|