slavic_game_jam/index.html
kuhyx a91a61a288 Initial commit: Danger Field Game with directional audio
- Open field gameplay with boundary walls only
- Three types of squares: safe (white), visual danger (red), audio danger (hidden)
- Directional audio system with stereo panning and pitch variation
- Proximity warnings with spatial audio cues
- Multi-sensory feedback (visual, audio, haptic)
- HTML5 Canvas rendering with smooth animations
- Web Audio API integration for rich sound effects
- Responsive design and modern JavaScript ES6+ modules
2025-08-01 16:40:12 +02:00

29 lines
1.0 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Danger Field Game</title>
</head>
<body>
<div id="app">
<div class="game-container">
<h1>Danger Field Game</h1>
<div class="game-info">
<p>Use WASD or Arrow Keys to move</p>
<p class="visual-warning">⚠️ Red squares are visually dangerous!</p>
<p class="audio-warning">🔊 Listen carefully - directional audio warns of hidden dangers!</p>
<p class="audio-hint">🎧 Use headphones for best directional audio experience</p>
</div>
<canvas id="gameCanvas" width="800" height="600"></canvas>
<div class="controls">
<button id="soundToggle">🔊 Sound: ON</button>
<button id="vibrationToggle">📳 Vibration: ON</button>
</div>
</div>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>