Spaces:
Running
Running
Update play.html
Browse files
play.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700;800&display=swap" rel="stylesheet">
|
| 9 |
<style>
|
| 10 |
:root { --neon-green: #00ff41; --legacy-gold: #ffb700; --error-red: #ff0055; --bg-dark: #0a0a0a; }
|
| 11 |
-
body { background: #0a0a0a; color: #e0e0e0; font-family: 'JetBrains Mono', monospace; overflow: hidden; user-select: none; touch-action: none;
|
| 12 |
canvas { display: block; width: 100%; height: 100%; }
|
| 13 |
|
| 14 |
.scanlines { background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1)); background-size: 100% 4px; position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 10; }
|
|
@@ -24,13 +24,13 @@
|
|
| 24 |
.floating-message {
|
| 25 |
position: absolute;
|
| 26 |
font-weight: 800;
|
| 27 |
-
font-size: 1.
|
| 28 |
text-align: left;
|
| 29 |
pointer-events: none;
|
| 30 |
text-shadow: 2px 2px 0px #000;
|
| 31 |
z-index: 50;
|
| 32 |
white-space: nowrap;
|
| 33 |
-
animation: floatRightUp
|
| 34 |
}
|
| 35 |
|
| 36 |
@keyframes floatRightUp {
|
|
@@ -40,8 +40,8 @@
|
|
| 40 |
100% { opacity: 0; transform: translate(60px, -120px) scale(0.9); }
|
| 41 |
}
|
| 42 |
|
| 43 |
-
.motivational-banner { position: absolute; top: 20%; width: 100%; text-align: center; font-size: 1.
|
| 44 |
-
.combo-display { position: absolute; top: 45%; right: 8%; font-size:
|
| 45 |
.hidden { display: none !important; }
|
| 46 |
</style>
|
| 47 |
</head>
|
|
@@ -116,6 +116,16 @@
|
|
| 116 |
</div>
|
| 117 |
|
| 118 |
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
/**
|
| 120 |
* ==========================================================================================
|
| 121 |
* ⚙️ CONFIGURAZIONE DI GIOCO - MATTEO INNOVATION LAB EDITION
|
|
|
|
| 8 |
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700;800&display=swap" rel="stylesheet">
|
| 9 |
<style>
|
| 10 |
:root { --neon-green: #00ff41; --legacy-gold: #ffb700; --error-red: #ff0055; --bg-dark: #0a0a0a; }
|
| 11 |
+
body { background: #0a0a0a; color: #e0e0e0; font-family: 'JetBrains Mono', monospace; overflow: hidden; user-select: none; touch-action: none; position: fixed;}
|
| 12 |
canvas { display: block; width: 100%; height: 100%; }
|
| 13 |
|
| 14 |
.scanlines { background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1)); background-size: 100% 4px; position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 10; }
|
|
|
|
| 24 |
.floating-message {
|
| 25 |
position: absolute;
|
| 26 |
font-weight: 800;
|
| 27 |
+
font-size: 1.40rem;
|
| 28 |
text-align: left;
|
| 29 |
pointer-events: none;
|
| 30 |
text-shadow: 2px 2px 0px #000;
|
| 31 |
z-index: 50;
|
| 32 |
white-space: nowrap;
|
| 33 |
+
animation: floatRightUp 1.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
|
| 34 |
}
|
| 35 |
|
| 36 |
@keyframes floatRightUp {
|
|
|
|
| 40 |
100% { opacity: 0; transform: translate(60px, -120px) scale(0.9); }
|
| 41 |
}
|
| 42 |
|
| 43 |
+
.motivational-banner { position: absolute; top: 20%; width: 100%; text-align: center; font-size: 1.9rem; font-weight: 800; color: #fff; text-shadow: 0 0 20px var(--neon-green); pointer-events: none; z-index: 40; opacity: 0; transition: all 0.5s; letter-spacing: 2px; }
|
| 44 |
+
.combo-display { position: absolute; top: 45%; right: 8%; font-size: 2.3rem; font-weight: 900; color: #fff; text-shadow: 4px 4px 0px #ff0055; opacity: 0; transition: all 0.3s; z-index: 45; transform: rotate(-10deg); text-align: right; pointer-events: none; font-style: italic; }
|
| 45 |
.hidden { display: none !important; }
|
| 46 |
</style>
|
| 47 |
</head>
|
|
|
|
| 116 |
</div>
|
| 117 |
|
| 118 |
<script>
|
| 119 |
+
document.addEventListener('gesturestart', function(e) {
|
| 120 |
+
e.preventDefault();
|
| 121 |
+
});
|
| 122 |
+
|
| 123 |
+
document.addEventListener('touchmove', function(e) {
|
| 124 |
+
if (e.scale !== 1) {
|
| 125 |
+
e.preventDefault();
|
| 126 |
+
}
|
| 127 |
+
}, { passive: false });
|
| 128 |
+
|
| 129 |
/**
|
| 130 |
* ==========================================================================================
|
| 131 |
* ⚙️ CONFIGURAZIONE DI GIOCO - MATTEO INNOVATION LAB EDITION
|