amelioration jeu

This commit is contained in:
2025-12-01 22:46:43 +01:00
parent 502a462ec5
commit eab98868ef
3 changed files with 185 additions and 15 deletions

View File

@ -452,7 +452,7 @@ h1 {
flex-wrap: wrap;
}
.score, .level, .lives {
.score, .level, .lives, .dots-remaining {
font-size: 0.9em;
font-weight: bold;
background: rgba(0, 0, 0, 0.4);
@ -462,6 +462,10 @@ h1 {
transition: all 0.3s;
}
.dots-remaining {
color: #00ffff;
}
.score.updated {
animation: scoreUp 0.3s ease-out;
}
@ -490,6 +494,39 @@ h1 {
text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
/* === INDICATEUR DE poursuite === */
.pursuit-indicator {
margin: 15px auto;
padding: 12px 25px;
background: linear-gradient(180deg, rgba(255, 0, 0, 0.3), rgba(255, 0, 0, 0.1));
border: 2px solid #ff0000;
border-radius: 10px;
text-align: center;
animation: pursuitPulse 1s ease-in-out infinite;
max-width: 300px;
}
@keyframes pursuitPulse {
0%, 100% {
box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}
50% {
box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}
}
.pursuit-text {
font-size: 0.8em;
color: #ff0000;
text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}
#pursuitTimer {
color: #ffff00;
font-weight: bold;
font-size: 1.2em;
}
/* === CANVAS AVEC GLOW ET EFFET 3D === */
#gameCanvas {
border: 4px solid #ffd700;