Spaces:
Running
Running
Update game.js
Browse files
game.js
CHANGED
@@ -1377,6 +1377,18 @@ class Game {
|
|
1377 |
transform: translateX(-50%) scale(1.1);
|
1378 |
}
|
1379 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1380 |
`;
|
1381 |
document.head.appendChild(style);
|
1382 |
}
|
|
|
1377 |
transform: translateX(-50%) scale(1.1);
|
1378 |
}
|
1379 |
}
|
1380 |
+
@keyframes box-pulse {
|
1381 |
+
0%, 100% {
|
1382 |
+
background: rgba(255, 0, 0, 0.9);
|
1383 |
+
box-shadow: 0 0 20px rgba(255, 0, 0, 0.8),
|
1384 |
+
0 0 40px rgba(255, 0, 0, 0.4);
|
1385 |
+
}
|
1386 |
+
50% {
|
1387 |
+
background: rgba(255, 50, 50, 1);
|
1388 |
+
box-shadow: 0 0 30px rgba(255, 100, 100, 1),
|
1389 |
+
0 0 60px rgba(255, 0, 0, 0.8);
|
1390 |
+
}
|
1391 |
+
}
|
1392 |
`;
|
1393 |
document.head.appendChild(style);
|
1394 |
}
|