-
@@ -36,6 +35,7 @@
diff --git a/src/css/game.css b/src/css/game.css index 9f5a4d2..1ccc11e 100644 --- a/src/css/game.css +++ b/src/css/game.css @@ -239,3 +239,20 @@ transform: translate(-50%, -150%) scale(1.5) } } + +.dmg{ + width: 800px; + + position: absolute; + top: 40%; + left: 50%; + transform: translate(-50%,-50%); + + z-index: 9999; + pointer-events: none; + + display: none; + image-rendering: pixelated; + background-repeat: no-repeat; + background-size: cover; +} diff --git a/src/game/firstperson.html b/src/game/firstperson.html index 50ade11..6836fa0 100644 --- a/src/game/firstperson.html +++ b/src/game/firstperson.html @@ -19,7 +19,6 @@
-
@@ -36,6 +35,7 @@