use timer based mechanic instead

This commit is contained in:
pobadoba
2026-05-10 17:13:54 +09:00
parent 9b68630764
commit c28a1d1f6a
6 changed files with 79 additions and 12 deletions

View File

@@ -78,6 +78,22 @@ canvas {
line-height: 1;
color: #eef5ff;
text-shadow: 0 0 12px rgba(121, 174, 242, 0.35);
transition: all 0.2s ease;
}
.canvas-hud-value.low-time {
color: #ff4444;
text-shadow: 0 0 16px rgba(255, 68, 68, 0.6);
animation: pulse-warning 0.6s infinite;
}
@keyframes pulse-warning {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
.canvas-hud-row {