diff --git a/img/frames/custom/brawl/a.png b/img/frames/custom/brawl/a.png new file mode 100644 index 00000000..3f7cd88b Binary files /dev/null and b/img/frames/custom/brawl/a.png differ diff --git a/img/frames/custom/brawl/aThumb.png b/img/frames/custom/brawl/aThumb.png new file mode 100644 index 00000000..02da4cf4 Binary files /dev/null and b/img/frames/custom/brawl/aThumb.png differ diff --git a/img/frames/custom/brawl/b.png b/img/frames/custom/brawl/b.png new file mode 100644 index 00000000..4df0e413 Binary files /dev/null and b/img/frames/custom/brawl/b.png differ diff --git a/img/frames/custom/brawl/bThumb.png b/img/frames/custom/brawl/bThumb.png new file mode 100644 index 00000000..623d745e Binary files /dev/null and b/img/frames/custom/brawl/bThumb.png differ diff --git a/img/frames/custom/brawl/center.svg b/img/frames/custom/brawl/center.svg new file mode 100644 index 00000000..56cae2d3 --- /dev/null +++ b/img/frames/custom/brawl/center.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/img/frames/custom/brawl/centerThumb.png b/img/frames/custom/brawl/centerThumb.png new file mode 100644 index 00000000..3a7eaafe Binary files /dev/null and b/img/frames/custom/brawl/centerThumb.png differ diff --git a/img/frames/custom/brawl/cover.svg b/img/frames/custom/brawl/cover.svg new file mode 100644 index 00000000..f03a4960 --- /dev/null +++ b/img/frames/custom/brawl/cover.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/img/frames/custom/brawl/coverThumb.png b/img/frames/custom/brawl/coverThumb.png new file mode 100644 index 00000000..6a561b57 Binary files /dev/null and b/img/frames/custom/brawl/coverThumb.png differ diff --git a/img/frames/custom/brawl/floating.svg b/img/frames/custom/brawl/floating.svg new file mode 100644 index 00000000..a606f1c3 --- /dev/null +++ b/img/frames/custom/brawl/floating.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/img/frames/custom/brawl/floatingThumb.png b/img/frames/custom/brawl/floatingThumb.png new file mode 100644 index 00000000..4edfec16 Binary files /dev/null and b/img/frames/custom/brawl/floatingThumb.png differ diff --git a/img/frames/custom/brawl/g.png b/img/frames/custom/brawl/g.png new file mode 100644 index 00000000..5f6544cb Binary files /dev/null and b/img/frames/custom/brawl/g.png differ diff --git a/img/frames/custom/brawl/gThumb.png b/img/frames/custom/brawl/gThumb.png new file mode 100644 index 00000000..3eda95ac Binary files /dev/null and b/img/frames/custom/brawl/gThumb.png differ diff --git a/img/frames/custom/brawl/l.png b/img/frames/custom/brawl/l.png new file mode 100644 index 00000000..67adb952 Binary files /dev/null and b/img/frames/custom/brawl/l.png differ diff --git a/img/frames/custom/brawl/lThumb.png b/img/frames/custom/brawl/lThumb.png new file mode 100644 index 00000000..a5e68de1 Binary files /dev/null and b/img/frames/custom/brawl/lThumb.png differ diff --git a/img/frames/custom/brawl/m.png b/img/frames/custom/brawl/m.png new file mode 100644 index 00000000..e38b5d14 Binary files /dev/null and b/img/frames/custom/brawl/m.png differ diff --git a/img/frames/custom/brawl/mThumb.png b/img/frames/custom/brawl/mThumb.png new file mode 100644 index 00000000..378b9808 Binary files /dev/null and b/img/frames/custom/brawl/mThumb.png differ diff --git a/img/frames/custom/brawl/r.png b/img/frames/custom/brawl/r.png new file mode 100644 index 00000000..8b193bd4 Binary files /dev/null and b/img/frames/custom/brawl/r.png differ diff --git a/img/frames/custom/brawl/rThumb.png b/img/frames/custom/brawl/rThumb.png new file mode 100644 index 00000000..cc60a327 Binary files /dev/null and b/img/frames/custom/brawl/rThumb.png differ diff --git a/img/frames/custom/brawl/second.svg b/img/frames/custom/brawl/second.svg new file mode 100644 index 00000000..b500c3c1 --- /dev/null +++ b/img/frames/custom/brawl/second.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/img/frames/custom/brawl/secondThumb.png b/img/frames/custom/brawl/secondThumb.png new file mode 100644 index 00000000..ace2a310 Binary files /dev/null and b/img/frames/custom/brawl/secondThumb.png differ diff --git a/img/frames/custom/brawl/third.svg b/img/frames/custom/brawl/third.svg new file mode 100644 index 00000000..ddf37365 --- /dev/null +++ b/img/frames/custom/brawl/third.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/img/frames/custom/brawl/thirdThumb.png b/img/frames/custom/brawl/thirdThumb.png new file mode 100644 index 00000000..dc9a7a9b Binary files /dev/null and b/img/frames/custom/brawl/thirdThumb.png differ diff --git a/img/frames/custom/brawl/u.png b/img/frames/custom/brawl/u.png new file mode 100644 index 00000000..b5035329 Binary files /dev/null and b/img/frames/custom/brawl/u.png differ diff --git a/img/frames/custom/brawl/uThumb.png b/img/frames/custom/brawl/uThumb.png new file mode 100644 index 00000000..dd258c00 Binary files /dev/null and b/img/frames/custom/brawl/uThumb.png differ diff --git a/img/frames/custom/brawl/w.png b/img/frames/custom/brawl/w.png new file mode 100644 index 00000000..16d3e5a0 Binary files /dev/null and b/img/frames/custom/brawl/w.png differ diff --git a/img/frames/custom/brawl/wThumb.png b/img/frames/custom/brawl/wThumb.png new file mode 100644 index 00000000..b1871a12 Binary files /dev/null and b/img/frames/custom/brawl/wThumb.png differ diff --git a/img/frames/custom/brawl/wings.svg b/img/frames/custom/brawl/wings.svg new file mode 100644 index 00000000..06f0fd82 --- /dev/null +++ b/img/frames/custom/brawl/wings.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/img/frames/custom/brawl/wingsThumb.png b/img/frames/custom/brawl/wingsThumb.png new file mode 100644 index 00000000..bb9cd7dc Binary files /dev/null and b/img/frames/custom/brawl/wingsThumb.png differ diff --git a/js/frames/groupCustom.js b/js/frames/groupCustom.js index e84be477..1fba33c6 100644 --- a/js/frames/groupCustom.js +++ b/js/frames/groupCustom.js @@ -1,4 +1,6 @@ loadFramePacks([ {name:'Cartoony - Sheepwave', value:'Cartoony'}, - {name:'Classic-Shifted', value:'Classicshifted'} + {name:'Classic-Shifted', value:'Classicshifted'}, + {name:'Custom Addons', value:'disabled'}, + {name:'Brawl Legend Crowns', value:'Brawl'} ]) \ No newline at end of file diff --git a/js/frames/groupStandard-3.js b/js/frames/groupStandard-3.js index 642f7145..ab78e0f1 100644 --- a/js/frames/groupStandard-3.js +++ b/js/frames/groupStandard-3.js @@ -14,5 +14,7 @@ loadFramePacks([ {name:'Devoid', value:'M15Devoid'}, {name:'Special', value:'disabled'}, {name:'Nickname', value:'M15Nickname'}, - {name:'Box Toppers', value:'M15BoxTopper'} + {name:'Box Toppers', value:'M15BoxTopper'}, + {name:'Custom Addons', value:'disabled'}, + {name:'Brawl Legend Crowns', value:'Brawl'} ]) \ No newline at end of file diff --git a/js/frames/packBrawl.js b/js/frames/packBrawl.js new file mode 100644 index 00000000..bb50067c --- /dev/null +++ b/js/frames/packBrawl.js @@ -0,0 +1,21 @@ +//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.1848}; +//defines available frames +availableFrames = [ + {name:'Brawl Crown Border Cover', src:'/img/frames/custom/brawl/cover.svg'}, + {name:'White Crown', src:'/img/frames/custom/brawl/w.png', masks:masks, bounds:bounds}, + {name:'Blue Crown', src:'/img/frames/custom/brawl/u.png', masks:masks, bounds:bounds}, + {name:'Black Crown', src:'/img/frames/custom/brawl/b.png', masks:masks, bounds:bounds}, + {name:'Red Crown', src:'/img/frames/custom/brawl/r.png', masks:masks, bounds:bounds}, + {name:'Green Crown', src:'/img/frames/custom/brawl/g.png', masks:masks, bounds:bounds}, + {name:'Multicolored Crown', src:'/img/frames/custom/brawl/m.png', masks:masks, bounds:bounds}, + {name:'Artifact Crown', src:'/img/frames/custom/brawl/a.png', masks:masks, bounds:bounds}, + {name:'Land Crown', src:'/img/frames/custom/brawl/l.png', masks:masks, bounds:bounds} +]; +//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(); \ No newline at end of file