Files
green-gaming/pages/fase1.html
T

68 lines
2.9 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<title>Semplice Island FPS</title>
<link rel="stylesheet" href="css/fase1.css">
</head>
<body>
<!-- SCHERMATA DI CARICAMENTO -->
<div id="loading-screen" style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 9999;">
<div style="width: 80%; max-width: 600px; background: #222; height: 20px; border-radius: 10px; overflow: hidden; margin-bottom: 10px;">
<div id="loading-bar" style="width: 0%; height: 100%; background: #4CAF50; transition: width 0.3s;"></div>
</div>
<div id="loading-text" style="color: #fff; font-family: monospace; font-size: 14px;">Loading...</div>
</div>
<!-- SCHERMATA INIZIALE -->
<div id="start">
<video autoplay muted loop id="bg-video">
<source src="assets/media/video/background.mp4" type="video/mp4">
</video>
<div class="overlay"></div>
<div class="content">
<div class="top-section">
<img src="assets/media/img/titolo.png" alt="titolo" class="main-title" />
</div>
<div class="container bottom-section">
<div class="item left">
<div class="controls-box">
<h3>Controlli</h3>
<p>Movimento</p>
<p><kbd>Freccia su / W</kbd> Avanti</p>
<p><kbd>Freccia giù / S</kbd> Indietro</p>
<p><kbd>Freccia destra / D</kbd> Destra</p>
<p><kbd>Freccia sinistra / A</kbd> Sinistra</p>
<p><kbd>Mouse</kbd> Punto di vista</p>
</div>
</div>
<div class="item center">
<span class="pulse-text">Clicca per giocare</span>
</div>
<div class="item right">
<div class="instructions-box">
<h3>Istruzioni</h3>
<p>Obiettivo: raccogliere tutti i rifiuti sullisola</p>
<p>Attenzione allo scadere del tempo!</p>
<p>Usa i comandi per esplorare e ripulire</p>
</div>
</div>
</div>
</div>
</div>
<!-- INTERFACCIA GRAFICA DEL GIOCO -->
<div id="punti">Rifiuti: <span id="score">0</span></div>
<div id="tempo">Tempo: <span id="minuti">XX</span>:<span id="secondi">XX</span></div>
<div id="crosshair">+</div>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/three@0.160.0/build/three.module.js",
"three/addons/": "https://unpkg.com/three@0.160.0/examples/jsm/"
}
}
</script>
<script type="module" src="js/fase1.js"></script>
</body>
</html>