From d588c24267586ae2cb6dfee8725baefc2b5b5b7f Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Thu, 15 Sep 2022 10:13:28 -0700 Subject: [PATCH] stained glass masks --- creator/index.php | 1 + img/frames/dmu/stainedGlass/crown.svg | 7 ++++++ img/frames/dmu/stainedGlass/crownThumb.png | Bin 0 -> 864 bytes img/frames/dmu/stainedGlass/rules.svg | 7 ++++++ img/frames/dmu/stainedGlass/rulesThumb.png | Bin 0 -> 971 bytes js/frames/packDMUStainedGlass.js | 26 +++++++++++---------- 6 files changed, 29 insertions(+), 12 deletions(-) create mode 100644 img/frames/dmu/stainedGlass/crown.svg create mode 100644 img/frames/dmu/stainedGlass/crownThumb.png create mode 100644 img/frames/dmu/stainedGlass/rules.svg create mode 100644 img/frames/dmu/stainedGlass/rulesThumb.png diff --git a/creator/index.php b/creator/index.php index a69e81e2..4e7f9012 100644 --- a/creator/index.php +++ b/creator/index.php @@ -728,6 +728,7 @@ include('../globalHTML/header-1.php');

Justin J.

Sam B.

Damian Z.

+

Montana K.

And of course, thank you to all of those who have made donations in the past.

diff --git a/img/frames/dmu/stainedGlass/crown.svg b/img/frames/dmu/stainedGlass/crown.svg new file mode 100644 index 00000000..61213e8a --- /dev/null +++ b/img/frames/dmu/stainedGlass/crown.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/img/frames/dmu/stainedGlass/crownThumb.png b/img/frames/dmu/stainedGlass/crownThumb.png new file mode 100644 index 0000000000000000000000000000000000000000..44c54d2d05511d47bf85beda07a745f811feffc5 GIT binary patch literal 864 zcmeAS@N?(olHy`uVBq!ia0vp^p+H>0!NkD8SiMNH7)Z5dIy(n=Iy);A6y>L7=A<$( zXiTh~XzOvrKt_ z-J$H_>9Mjgtd1X;k6b+IdC}GDPkc~@;NydZ_V?~q-`UIDQZ;jB+HsZzS<@!=xE}Q> z3w=}N%HQ;&UA|e!_-jR$A@BK*rTp^o@0Dy$|GqPSvH!`LJRdrb6#JO#JmP&c)7Sg? z9)Fo6S5HMdbvg4FO-K4;rpMMjjwy(EFjG-^?i_VK!R}VGX}4#H@=mRoWwB<3)KhNB z>7wVN=UgqCYWn_Uyu^u2ZOwI;WgL0DJCqp(jaF$aKG7a)k$+UmOBXVJ+g zT8$Hv8AVr2kg@+E|L5JcGycB2JR3DG{7kwnzu4ir-h~x6zkT1BYwpMJ-?(7u)<09N z41Rl7tzFvM-|)b!pz!XcC$y`$8b+rF^a{s;`N4v%KgTe~DWM4fOrx?R literal 0 HcmV?d00001 diff --git a/img/frames/dmu/stainedGlass/rules.svg b/img/frames/dmu/stainedGlass/rules.svg new file mode 100644 index 00000000..0d2431ea --- /dev/null +++ b/img/frames/dmu/stainedGlass/rules.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/img/frames/dmu/stainedGlass/rulesThumb.png b/img/frames/dmu/stainedGlass/rulesThumb.png new file mode 100644 index 0000000000000000000000000000000000000000..495c3bf8027f2a7c8cc346d796d6596f5d08eb3b GIT binary patch literal 971 zcmeAS@N?(olHy`uVBq!ia0vp^p+H>0!NkD8SiMNH7)Z5dIy(n=Iy);A6y>L7=A<$( zXiTh~Xzg*>LFU;0WnKJQu5T0`O;~6Z`JvUqOSC&-;TF-TQiGjeSbe1?iHN%&-1^`_ z^2S#W9<5p3yjp?7&Ov7G9Ff>1NB*m}iW$nue1E+Ax81va%q>+jSEe1eSdcYsVvp-l zpR&+5Rj&L^FWeb~g^a&eWEt|F|5(Z|AOBv-=JfA7^B4P{oXPW{^GLCexy~crM>BoB zpYQRPNpkg6v{RQee$jNKKW2Jt-Q$>ohzBzjmFLb;=M(I1HJf&OhA8jUidhzGR!BYN zmYgnnE_%+@qN%3uPsU4}$kf(ccUi`b$GbzBQP60W#zG!$!6?%pAC*k|R}bZj{%{tZ ze4^DjF_}?x#RM7qAM$_RT|49NyUVjt6{)5S5Q;?~=_j(&$6MB46a>oRptJklxL(%_nq1f8C#qy$g%WlkWV!5pwnBskc{NR6m*M zE?4wr?%fX)G;IOa_M}dqf*c9|9m*i zk4$8CKlmNr{H^)6h56rYFFtIRJsAH!Scp(VxcU_w$5SPTR-ge<1TSJIgoJwThn5>RS&? O3=E#GelF{r5}E)@HP?Xv literal 0 HcmV?d00001 diff --git a/js/frames/packDMUStainedGlass.js b/js/frames/packDMUStainedGlass.js index 66d711eb..537cec9b 100644 --- a/js/frames/packDMUStainedGlass.js +++ b/js/frames/packDMUStainedGlass.js @@ -1,26 +1,28 @@ //Create objects for common properties across available frames +var masks = [{src:'/img/frames/dmu/stainedGlass/rules.svg', name:'Rules'}]; +var masks2 = [{src:'/img/frames/dmu/stainedGlass/crown.svg', name:'Inner Crown'}]; var bounds = {x:0.7747, y:0.8872, width:0.1747, height:0.0605}; var bounds2 = {x:0.1134, y:0.0139, width:0.7734, height:0.0262}; //defines available frames availableFrames = [ - {name:'White Frame', src:'/img/frames/dmu/stainedGlass/w.png'}, - {name:'Blue Frame', src:'/img/frames/dmu/stainedGlass/u.png'}, - {name:'Black Frame', src:'/img/frames/dmu/stainedGlass/b.png'}, - {name:'Red Frame', src:'/img/frames/dmu/stainedGlass/r.png'}, - {name:'Green Frame', src:'/img/frames/dmu/stainedGlass/g.png'}, - {name:'Multicolored Frame', src:'/img/frames/dmu/stainedGlass/m.png'}, + {name:'White Frame', src:'/img/frames/dmu/stainedGlass/w.png', masks:masks}, + {name:'Blue Frame', src:'/img/frames/dmu/stainedGlass/u.png', masks:masks}, + {name:'Black Frame', src:'/img/frames/dmu/stainedGlass/b.png', masks:masks}, + {name:'Red Frame', src:'/img/frames/dmu/stainedGlass/r.png', masks:masks}, + {name:'Green Frame', src:'/img/frames/dmu/stainedGlass/g.png', masks:masks}, + {name:'Multicolored Frame', src:'/img/frames/dmu/stainedGlass/m.png', masks:masks}, {name:'White Power/Toughness', src:'/img/frames/dmu/stainedGlass/pt/w.png', bounds:bounds}, {name:'Blue Power/Toughness', src:'/img/frames/dmu/stainedGlass/pt/u.png', bounds:bounds}, {name:'Black Power/Toughness', src:'/img/frames/dmu/stainedGlass/pt/b.png', bounds:bounds}, {name:'Red Power/Toughness', src:'/img/frames/dmu/stainedGlass/pt/r.png', bounds:bounds}, {name:'Green Power/Toughness', src:'/img/frames/dmu/stainedGlass/pt/g.png', bounds:bounds}, {name:'Multicolored Power/Toughness', src:'/img/frames/dmu/stainedGlass/pt/m.png', bounds:bounds}, - {name:'White Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/w.png', bounds:bounds2}, - {name:'Blue Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/u.png', bounds:bounds2}, - {name:'Black Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/b.png', bounds:bounds2}, - {name:'Red Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/r.png', bounds:bounds2}, - {name:'Green Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/g.png', bounds:bounds2}, - {name:'Multicolored Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/m.png', bounds:bounds2}, + {name:'White Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/w.png', bounds:bounds2, masks:masks2}, + {name:'Blue Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/u.png', bounds:bounds2, masks:masks2}, + {name:'Black Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/b.png', bounds:bounds2, masks:masks2}, + {name:'Red Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/r.png', bounds:bounds2, masks:masks2}, + {name:'Green Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/g.png', bounds:bounds2, masks:masks2}, + {name:'Multicolored Legend Crown', src:'/img/frames/dmu/stainedGlass/crowns/m.png', bounds:bounds2, masks:masks2}, {name:'Rare Stamp', src:'/img/frames/dmu/stamp.png', bounds:{x:0.4554, y:0.9172, width:0.0894, height:0.0320}} ]; //disables/enables the "Load Frame Version" button