feat: add player camera

This commit is contained in:
2026-04-15 16:40:52 +02:00
parent d486f6f381
commit 61d7495ec9
12 changed files with 306 additions and 143 deletions
+15
View File
@@ -13,6 +13,7 @@ body,
body {
overflow: hidden;
background: #04070d;
}
button,
@@ -25,3 +26,17 @@ select {
canvas {
display: block;
}
.crosshair {
position: fixed;
top: 50%;
left: 50%;
width: 12px;
height: 12px;
border: 2px solid rgba(255, 255, 255, 0.92);
border-radius: 999px;
transform: translate(-50%, -50%);
box-sizing: border-box;
pointer-events: none;
z-index: 10;
}