improved crowns

This commit is contained in:
Kyle
2021-05-12 20:19:10 -07:00
parent 4d04025af7
commit b2be739810
71 changed files with 83 additions and 2 deletions

View File

@@ -2,5 +2,13 @@ loadFramePacks([
{name:'Transform (Front)', value:'M15TransformFront'},
{name:'Transform (Back)', value:'M15TransformBack'},
{name:'Color Identity Pips', value:'M15CIPips'},
{name:'Transform Icons', value:'M15TransformTypes'}
{name:'Transform Icons', value:'M15TransformTypes'},
{name:'Addons', value:'disabled'},
{name:'Legend Crowns', value:'TransformLegendCrowns'},
{name:'Floating Legend Crowns', value:'TransformLegendCrownsFloating'},
{name:'Inner Crowns', value:'M15InnerCrowns'},
{name:'Holo Stamps', value:'M15HoloStamps'},
{name:'Dark Power/Toughness', value:'M15DarkPT'},
{name:'Custom Addons', value:'disabled'},
{name:'Brawl Crowns', value:'TransformLegendCrownsBrawl'}
])

View File

@@ -1,6 +1,6 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/custom/brawl/center.svg', name:'Center'}, {src:'/img/frames/custom/brawl/second.svg', name:'Second'}, {src:'/img/frames/custom/brawl/third.svg', name:'Third'}, {src:'/img/frames/custom/brawl/wings.svg', name:'Wings'}];
var bounds = {x:0.0087, y:0, width:0.9814, height:0.1262};
var bounds = {x:0.0094, y:0.0005, width:0.9814, height:0.1262};
//defines available frames
availableFrames = [
{name:'White Crown', src:'/img/frames/modal/crowns/brawl/w.png', masks:masks, bounds:bounds, complementary:8},

View File

@@ -0,0 +1,21 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/m15/crowns/m15MaskLegendCrown.png', name:'Crown Without Pinlines'}, {src:'/img/frames/m15/crowns/m15MaskLegendCrownPinline.png', name:'Crown With Pinlines'}];
var bounds = {x:0.0274, y:0.0191, width:0.9454, height:0.1667};
//defines available frames
availableFrames = [
{name:'White Legend Crown', src:'/img/frames/m15/transform/crowns/regular/w.png', masks:masks, bounds:bounds, complementary:8},
{name:'Blue Legend Crown', src:'/img/frames/m15/transform/crowns/regular/u.png', masks:masks, bounds:bounds, complementary:8},
{name:'Black Legend Crown', src:'/img/frames/m15/transform/crowns/regular/b.png', masks:masks, bounds:bounds, complementary:8},
{name:'Red Legend Crown', src:'/img/frames/m15/transform/crowns/regular/r.png', masks:masks, bounds:bounds, complementary:8},
{name:'Green Legend Crown', src:'/img/frames/m15/transform/crowns/regular/g.png', masks:masks, bounds:bounds, complementary:8},
{name:'Multicolored Legend Crown', src:'/img/frames/m15/transform/crowns/regular/m.png', masks:masks, bounds:bounds, complementary:8},
{name:'Artifact Legend Crown', src:'/img/frames/m15/transform/crowns/regular/a.png', masks:masks, bounds:bounds, complementary:8},
{name:'Land Legend Crown', src:'/img/frames/m15/transform/crowns/regular/l.png', masks:masks, bounds:bounds, complementary:8},
{name:'Legend Crown Border Cover', src:'/img/black.png', bounds:{x:0.0394, y:0.0277, width:0.9214, height:0.0177}}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = true;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = null;
//loads available frames
loadFramePack();

View File

@@ -0,0 +1,22 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/custom/brawl/floating.svg', name:'Crown Without Pinlines'}, {src:'/img/frames/custom/brawl/center.svg', name:'Center'}, {src:'/img/frames/custom/brawl/second.svg', name:'Second'}, {src:'/img/frames/custom/brawl/third.svg', name:'Third'}, {src:'/img/frames/custom/brawl/wings.svg', name:'Wings'}];
var bounds = {x:0.0094, y:0.0005, width:0.9814, height:0.1853};
//defines available frames
availableFrames = [
{name:'White Crown', src:'/img/frames/m15/transform/crowns/brawl/w.png', masks:masks, bounds:bounds, complementary:8},
{name:'Blue Crown', src:'/img/frames/m15/transform/crowns/brawl/u.png', masks:masks, bounds:bounds, complementary:8},
{name:'Black Crown', src:'/img/frames/m15/transform/crowns/brawl/b.png', masks:masks, bounds:bounds, complementary:8},
{name:'Red Crown', src:'/img/frames/m15/transform/crowns/brawl/r.png', masks:masks, bounds:bounds, complementary:8},
{name:'Green Crown', src:'/img/frames/m15/transform/crowns/brawl/g.png', masks:masks, bounds:bounds, complementary:8},
{name:'Multicolored Crown', src:'/img/frames/m15/transform/crowns/brawl/m.png', masks:masks, bounds:bounds, complementary:8},
{name:'Artifact Crown', src:'/img/frames/m15/transform/crowns/brawl/a.png', masks:masks, bounds:bounds, complementary:8},
{name:'Land Crown', src:'/img/frames/m15/transform/crowns/brawl/l.png', masks:masks, bounds:bounds, complementary:8},
{name:'Legend Crown Cover', src:'/img/frames/m15/transform/crowns/brawl/cover.svg'},
{name:'Legend Crown Cutout', src:'/img/frames/modal/crowns/cutout.svg', erase:true}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = true;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = null;
//loads available frames
loadFramePack();

View File

@@ -0,0 +1,22 @@
//Create objects for common properties across available frames
var bounds = {x:0.0307, y:0.0191, width:0.9387, height:0.1024};
//defines available frames
availableFrames = [
{name:'White Legend Crown', src:'/img/frames/m15/transform/crowns/floating/w.png', bounds:bounds, complementary:[8,9]},
{name:'Blue Legend Crown', src:'/img/frames/m15/transform/crowns/floating/u.png', bounds:bounds, complementary:[8,9]},
{name:'Black Legend Crown', src:'/img/frames/m15/transform/crowns/floating/b.png', bounds:bounds, complementary:[8,9]},
{name:'Red Legend Crown', src:'/img/frames/m15/transform/crowns/floating/r.png', bounds:bounds, complementary:[8,9]},
{name:'Green Legend Crown', src:'/img/frames/m15/transform/crowns/floating/g.png', bounds:bounds, complementary:[8,9]},
{name:'Multicolored Legend Crown', src:'/img/frames/m15/transform/crowns/floating/m.png', bounds:bounds, complementary:[8,9]},
{name:'Artifact Legend Crown', src:'/img/frames/m15/transform/crowns/floating/a.png', bounds:bounds, complementary:[8,9]},
{name:'Land Legend Crown', src:'/img/frames/m15/transform/crowns/floating/l.png', bounds:bounds, complementary:[8,9]},
{name:'Legend Crown Border Cover', src:'/img/black.png', bounds:{x:0.0394, y:0.0277, width:0.9214, height:0.0177}},
{name:'Legend Crown Lower Cutout', src:'/img/black.png', bounds:{x:0.0767, y:0.1096, width:0.8467, height:0.0143}, erase:true},
{name:'Legend Crown Outline', src:'/img/frames/m15/crowns/m15CrownFloatingOutline.png', bounds:{x:0.028, y:0.0172, width:0.944, height:0.1062}}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = true;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = null;
//loads available frames
loadFramePack();