feat: Add player sprinting with stamina, flashlight and environmental shadows, and introduce new monster entities with expanded world furniture and safe zones.
This commit is contained in:
31
style.css
31
style.css
@@ -54,4 +54,33 @@ h1 {
|
||||
bottom: 20px;
|
||||
left: 20px;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
#stamina-container {
|
||||
width: 200px;
|
||||
height: 10px;
|
||||
border: 2px solid #555;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
#stamina-bar {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
transition: width 0.1s linear;
|
||||
|
||||
#test-dot {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: red;
|
||||
border-radius: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
pointer-events: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
Reference in New Issue
Block a user