diff --git "a/index.html" "b/index.html" --- "a/index.html" +++ "b/index.html" @@ -10,6 +10,8 @@ body { overflow: hidden; touch-action: none; + margin: 0; + padding: 0; } #gameCanvas { display: block; @@ -145,6 +147,42 @@ pointer-events: none; animation: pulse 1.5s infinite; } + .joystick { + position: absolute; + width: 100px; + height: 100px; + background: rgba(255, 255, 255, 0.2); + border-radius: 50%; + bottom: 30px; + left: 30px; + pointer-events: auto; + display: none; + } + .joystick-handle { + position: absolute; + width: 40px; + height: 40px; + background: rgba(255, 255, 255, 0.4); + border-radius: 50%; + top: 30px; + left: 30px; + } + .boss-health-bar { + position: absolute; + top: 10px; + left: 50%; + transform: translateX(-50%); + width: 200px; + height: 20px; + background: rgba(0, 0, 0, 0.5); + border-radius: 10px; + overflow: hidden; + } + .boss-health-fill { + height: 100%; + background: linear-gradient(to right, #ff0000, #ff9900); + width: 100%; + }
@@ -159,7 +197,7 @@ -