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:
2026-01-03 11:07:34 +00:00
parent 94b6d7ac80
commit d588433d8a
8 changed files with 1197 additions and 16 deletions

View File

@@ -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;
}