From 6130549fb5f3e63ace349747bb18c86458f4ab8e Mon Sep 17 00:00:00 2001 From: NatureFreshMilk <naturefreshmilk@github.com> Date: Mon, 25 Feb 2019 08:15:58 +0100 Subject: [PATCH] half hearts and bubbles --- server/static/js/overlays/PlayerOverlay.js | 4 ++-- server/static/pics/bubble_half.png | Bin 0 -> 522 bytes server/static/pics/heart_half.png | Bin 0 -> 508 bytes 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 server/static/pics/bubble_half.png create mode 100644 server/static/pics/heart_half.png diff --git a/server/static/js/overlays/PlayerOverlay.js b/server/static/js/overlays/PlayerOverlay.js index 74eba0f..3f049cf 100644 --- a/server/static/js/overlays/PlayerOverlay.js +++ b/server/static/js/overlays/PlayerOverlay.js @@ -37,7 +37,7 @@ var PlayerOverlay = L.LayerGroup.extend({ html += "<img src='pics/heart.png'>"; if (player.hp % 2 == 1) - html += "<img src='pics/heart.png' width='8'>"; + html += "<img src='pics/heart_half.png'>"; html += "<br>"; @@ -45,7 +45,7 @@ var PlayerOverlay = L.LayerGroup.extend({ html += "<img src='pics/bubble.png'>"; if (player.breath % 2 == 1) - html += "<img src='pics/bubble.png' width='8'>"; + html += "<img src='pics/bubble_half.png'>"; marker.bindPopup(html); diff --git a/server/static/pics/bubble_half.png b/server/static/pics/bubble_half.png new file mode 100644 index 0000000000000000000000000000000000000000..33f1e9e852bbadb2cd3502a9f1afb9fa8f9cccad GIT binary patch literal 522 zcmeAS@N?(olHy`uVBq!ia0vp^96&6<!3-p2LeBXEDVB6cUq=Rpjs4tz5?O(Kg=CK) zUj~LMH3o);76yi2K%s^g3=E|P3=FRl7#OT(FffQ0%-I!a1C%HV@Ck7R(w*IX9lev^ zef#$G!}m8|f9%}*Z{?c*^B4Vp^#13oFF!wh|FdQLzh8g;oxJjE_vH_J4*orM?$5@} z{}!Ekz3Iy9=}XsNc=c`FrMK5!e|h)q_xIm_|NsAg^xpfG7hf+s_h#MsHyf^g*nHvT z?#pkd?0vC#^TAnb_Zp?~W&&*$D+%%oW)Rg&dboRfd%gHWy@@irI_IqK{qxnYtWa(a zPz7U>x4VlpQ^J)cKn{C}r>`sfV<tvHDe0Y8cz*(g1d<c|%0M&}11Sau?~jMsfmFDs zi(?4K_0+TOVhsucE(gV!6V9!earp0g4QB26dw-g)X0-b(vH5FrT;Sov9*et&RkpCD z*v#Tmn5i6m=#VdG_NxiGJ2yCNoX+<tAk??PX8p3#{kwi2%-6SKW9fGf_}~MyLbb#- zq9i4;B-JXpC>2OC7#SE^>KYj78d!uFSXh}FS{a&X8yH#{7)-Ca?17>oH$NpatrDTZ eFvQTz$_R+eAsRGHXJ-I4FnGH9xvX<aXaWEo`O~og literal 0 HcmV?d00001 diff --git a/server/static/pics/heart_half.png b/server/static/pics/heart_half.png new file mode 100644 index 0000000000000000000000000000000000000000..b4b8745cf543a3f411ca9f4521d9991c03165e01 GIT binary patch literal 508 zcmeAS@N?(olHy`uVBq!ia0vp^96&6<!3-p2LeBXEDVB6cUq=Rpjs4tz5?O(Kg=CK) zUj~LMRR)HJW(J0z|AF*N28L1t28LG&3=CE?7#PI!C&eFi1FB66@CkAK|Ns9228M+U z3=<g`CNMDkW@Pv+%J4*-V~&K#Zy;Ay`nRdxZ(EC}DpJ2q^nM5U{EmzM?eG0NF6MV_ zO&0^hMWC8Mzl}iB#{9R6R3ebU&+wa<A(Me&Cj&zk1H&c;2A~xYk1|gIZDcG7@(X5g zcy=QV#7XjYcVXyYmGuB}I14-?iy0WWg+Z8+Vb&Z8pdfpRr>`sfV<tvHDe0Y8cz*(g z1d<c|%0M&}11Sau?~jMsfmEoci(?4K_2h&DToN;995mt9mbPY}koM@wqh}9UJvV&( z$j#A|a-*W9g|&f4Ffh+hu}+~ma?a#vC!r<YUNKQ^!fWEg`h*W9Ob~B3l2{^=u<b;0 z6c59xHfFwWW?3NTtCqM%l%yn<q*^5xr2;7iBLhQAT>~Rs1B(y?3oBD2D-#oK14AnV t1CzCB`Y0N5^HVa@DiInCLk!KVjDW}-qCvxSb_P%bgQu&X%Q~loCIBq;lGy+N literal 0 HcmV?d00001