feat: add player camera
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user