Add Mystical Archive margin pinline masks

This commit is contained in:
Josh birnholz
2023-11-10 13:57:03 -05:00
parent 67134c5f78
commit 6a5f18d556
5 changed files with 9 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -1,16 +1,17 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/mysticalArchive/margin/maskPinline.png', name:'Pinline'}, {src:'/img/frames/mysticalArchive/margin/maskPinlineRight.png', name:'Pinline (Right)'}];
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/mysticalArchive/margin/w.png', bounds:bounds, ogBounds:ogBounds},
{name:'Blue Extension', src:'/img/frames/mysticalArchive/margin/u.png', bounds:bounds, ogBounds:ogBounds},
{name:'Black Extension', src:'/img/frames/mysticalArchive/margin/b.png', bounds:bounds, ogBounds:ogBounds},
{name:'Red Extension', src:'/img/frames/mysticalArchive/margin/r.png', bounds:bounds, ogBounds:ogBounds},
{name:'Green Extension', src:'/img/frames/mysticalArchive/margin/g.png', bounds:bounds, ogBounds:ogBounds},
{name:'Multicolored Extension', src:'/img/frames/mysticalArchive/margin/m.png', bounds:bounds, ogBounds:ogBounds},
{name:'Artifact Extension', src:'/img/frames/mysticalArchive/margin/a.png', bounds:bounds, ogBounds:ogBounds},
{name:'Land Extension', src:'/img/frames/mysticalArchive/margin/l.png', bounds:bounds, ogBounds:ogBounds}
{name:'White Extension', src:'/img/frames/mysticalArchive/margin/w.png', bounds:bounds, ogBounds:ogBounds, masks:masks},
{name:'Blue Extension', src:'/img/frames/mysticalArchive/margin/u.png', bounds:bounds, ogBounds:ogBounds, masks:masks},
{name:'Black Extension', src:'/img/frames/mysticalArchive/margin/b.png', bounds:bounds, ogBounds:ogBounds, masks:masks},
{name:'Red Extension', src:'/img/frames/mysticalArchive/margin/r.png', bounds:bounds, ogBounds:ogBounds, masks:masks},
{name:'Green Extension', src:'/img/frames/mysticalArchive/margin/g.png', bounds:bounds, ogBounds:ogBounds, masks:masks},
{name:'Multicolored Extension', src:'/img/frames/mysticalArchive/margin/m.png', bounds:bounds, ogBounds:ogBounds, masks:masks},
{name:'Artifact Extension', src:'/img/frames/mysticalArchive/margin/a.png', bounds:bounds, ogBounds:ogBounds, masks:masks},
{name:'Land Extension', src:'/img/frames/mysticalArchive/margin/l.png', bounds:bounds, ogBounds:ogBounds, masks:masks}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false;