Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Android FPS RPG Adventure - Retro Edition</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Courier New', monospace; | |
| } | |
| :root { | |
| --primary-color: #8a2be2; | |
| --secondary-color: #00ff00; | |
| --accent-color: #ff4500; | |
| --dark-bg: #0a0a0a; | |
| --darker-bg: #050505; | |
| --neon-glow: 0 0 10px var(--secondary-color), 0 0 20px var(--secondary-color); | |
| } | |
| body { | |
| background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%); | |
| color: var(--secondary-color); | |
| overflow-x: hidden; | |
| min-height: 100vh; | |
| } | |
| .header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 1.5rem 2rem; | |
| border-bottom: 2px solid var(--primary-color); | |
| box-shadow: var(--neon-glow); | |
| position: relative; | |
| } | |
| .logo { | |
| font-size: 2rem; | |
| font-weight: bold; | |
| text-shadow: var(--neon-glow); | |
| letter-spacing: 2px; | |
| } | |
| .built-with { | |
| color: var(--accent-color); | |
| text-decoration: none; | |
| font-size: 0.9rem; | |
| padding: 0.5rem 1rem; | |
| border: 1px solid var(--accent-color); | |
| border-radius: 4px; | |
| transition: all 0.3s ease; | |
| } | |
| .built-with:hover { | |
| background-color: var(--accent-color); | |
| color: var(--dark-bg); | |
| box-shadow: 0 0 15px var(--accent-color); | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 2rem; | |
| } | |
| .game-header { | |
| text-align: center; | |
| margin-bottom: 3rem; | |
| } | |
| .game-title { | |
| font-size: 3.5rem; | |
| margin-bottom: 1rem; | |
| text-shadow: var(--neon-glow); | |
| letter-spacing: 4px; | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.7; } | |
| } | |
| .game-subtitle { | |
| font-size: 1.5rem; | |
| color: var(--primary-color); | |
| margin-bottom: 2rem; | |
| } | |
| .game-content { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 2rem; | |
| margin-bottom: 3rem; | |
| } | |
| @media (max-width: 768px) { | |
| .game-content { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| .game-screen { | |
| background: rgba(10, 10, 10, 0.8); | |
| border: 2px solid var(--primary-color); | |
| border-radius: 8px; | |
| padding: 1.5rem; | |
| box-shadow: var(--neon-glow); | |
| position: relative; | |
| overflow: hidden; | |
| min-height: 400px; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| } | |
| .screen-title { | |
| font-size: 1.8rem; | |
| margin-bottom: 1.5rem; | |
| text-align: center; | |
| color: var(--accent-color); | |
| } | |
| .character-container { | |
| display: flex; | |
| justify-content: center; | |
| margin: 1.5rem 0; | |
| } | |
| .character { | |
| width: 120px; | |
| height: 180px; | |
| background: linear-gradient(45deg, #333, #555); | |
| border: 2px solid var(--secondary-color); | |
| border-radius: 8px; | |
| position: relative; | |
| box-shadow: var(--neon-glow); | |
| } | |
| .character::before { | |
| content: ''; | |
| position: absolute; | |
| top: 30px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 50px; | |
| height: 50px; | |
| background: #444; | |
| border-radius: 50%; | |
| border: 2px solid var(--secondary-color); | |
| } | |
| .character::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: 30px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 80px; | |
| height: 60px; | |
| background: #444; | |
| border-radius: 8px; | |
| } | |
| .stats-container { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 1rem; | |
| margin-top: 1.5rem; | |
| } | |
| .stat { | |
| background: rgba(0, 0, 0, 0.6); | |
| border: 1px solid var(--primary-color); | |
| border-radius: 4px; | |
| padding: 0.8rem; | |
| text-align: center; | |
| } | |
| .stat-value { | |
| font-size: 1.5rem; | |
| color: var(--accent-color); | |
| } | |
| .controls { | |
| display: grid; | |
| grid-template-columns: repeat(3, 1fr); | |
| gap: 1rem; | |
| margin-top: 2rem; | |
| } | |
| .control-btn { | |
| background: rgba(0, 0, 0, 0.7); | |
| border: 1px solid var(--secondary-color); | |
| color: var(--secondary-color); | |
| padding: 0.8rem; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| text-align: center; | |
| font-size: 1.1rem; | |
| } | |
| .control-btn:hover { | |
| background: var(--secondary-color); | |
| color: var(--dark-bg); | |
| box-shadow: var(--neon-glow); | |
| } | |
| .inventory { | |
| display: grid; | |
| grid-template-columns: repeat(4, 1fr); | |
| gap: 0.8rem; | |
| margin-top: 1.5rem; | |
| } | |
| .inventory-item { | |
| background: rgba(0, 0, 0, 0.6); | |
| border: 1px solid var(--primary-color); | |
| border-radius: 4px; | |
| height: 60px; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| font-size: 1.5rem; | |
| transition: all 0.3s ease; | |
| } | |
| .inventory-item:hover { | |
| border-color: var(--accent-color); | |
| box-shadow: 0 0 10px var(--accent-color); | |
| } | |
| .game-info { | |
| display: grid; | |
| grid-template-columns: repeat(2, 1fr); | |
| gap: 2rem; | |
| margin-top: 3rem; | |
| } | |
| .info-card { | |
| background: rgba(10, 10, 10, 0.8); | |
| border: 2px solid var(--primary-color); | |
| border-radius: 8px; | |
| padding: 1.5rem; | |
| box-shadow: var(--neon-glow); | |
| } | |
| .info-title { | |
| font-size: 1.5rem; | |
| margin-bottom: 1rem; | |
| color: var(--accent-color); | |
| text-align: center; | |
| } | |
| .features-list { | |
| list-style-type: none; | |
| } | |
| .features-list li { | |
| padding: 0.5rem 0; | |
| border-bottom: 1px dotted var(--primary-color); | |
| } | |
| .features-list li:before { | |
| content: '▶'; | |
| color: var(--secondary-color); | |
| margin-right: 0.5rem; | |
| } | |
| .download-section { | |
| text-align: center; | |
| margin-top: 3rem; | |
| padding: 2rem; | |
| background: rgba(0, 0, 0, 0.6); | |
| border-radius: 8px; | |
| border: 2px solid var(--accent-color); | |
| } | |
| .download-btn { | |
| display: inline-block; | |
| background: var(--accent-color); | |
| color: var(--dark-bg); | |
| padding: 1rem 2rem; | |
| font-size: 1.5rem; | |
| font-weight: bold; | |
| text-decoration: none; | |
| border-radius: 8px; | |
| margin-top: 1.5rem; | |
| transition: all 0.3s ease; | |
| box-shadow: 0 0 15px var(--accent-color); | |
| } | |
| .download-btn:hover { | |
| transform: scale(1.05); | |
| box-shadow: 0 0 25px var(--accent-color); | |
| } | |
| .footer { | |
| text-align: center; | |
| padding: 2rem; | |
| margin-top: 3rem; | |
| border-top: 1px solid var(--primary-color); | |
| color: var(--primary-color); | |
| } | |
| .scanlines { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| pointer-events: none; | |
| z-index: 100; | |
| background: linear-gradient( | |
| to bottom, | |
| rgba(255, 255, 255, 0) 0%, | |
| rgba(255, 255, 255, 0.03) 50%, | |
| rgba(255, 255, 255, 0) 100% | |
| ); | |
| background-size: 100% 4px; | |
| opacity: 0.2; | |
| } | |
| .pixel-grid { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background-image: | |
| linear-gradient(rgba(18, 16, 16, 0.1) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(18, 16, 16, 0.1) 1px, transparent 1px); | |
| background-size: 20px 20px; | |
| pointer-events: none; | |
| z-index: 99; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="scanlines"></div> | |
| <div class="pixel-grid"></div> | |
| <header class="header"> | |
| <div class="logo">RETRO FPS RPG</div> | |
| <a href="https://huggingface.co/spaces/akhaliq/anycoder" class="built-with">Built with anycoder</a> | |
| </header> | |
| <div class="container"> | |
| <div class="game-header"> | |
| <h1 class="game-title">ANDROID FPS RPG ADVENTURE</h1> | |
| <p class="game-subtitle">Experience the ultimate 3D retro gaming adventure on your Android device!</p> | |
| </div> | |
| <div class="game-content"> | |
| <div class="game-screen"> | |
| <h2 class="screen-title">CHARACTER CUSTOMIZATION</h2> | |
| <div class="character-container"> | |
| <div class="character"></div> | |
| </div> | |
| <div class="stats-container"> | |
| <div class="stat"> | |
| <div>HEALTH</div> | |
| <div class="stat-value">100/100</div> | |
| </div> | |
| <div class="stat"> | |
| <div>ARMOR</div> | |
| <div class="stat-value">75/100</div> | |
| </div> | |
| <div class="stat"> | |
| <div>AMMO</div> | |
| <div class="stat-value">30/30</div> | |
| </div> | |
| <div class="stat"> | |
| <div>LEVEL</div> | |
| <div class="stat-value">5</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="game-screen"> | |
| <h2 class="screen-title">GAME CONTROLS</h2> | |
| <div class="controls"> | |
| <div class="control-btn">MOVE</div> | |
| <div class="control-btn">AIM</div> | |
| <div class="control-btn">SHOOT</div> | |
| <div class="control-btn">JUMP</div> | |
| <div class="control-btn">RELOAD</div> | |
| <div class="control-btn">INVENTORY</div> | |
| <div class="control-btn">SKILLS</div> | |
| <div class="control-btn">MAP</div> | |
| <div class="control-btn">PAUSE</div> | |
| </div> | |
| <h2 class="screen-title" style="margin-top: 2rem;">INVENTORY</h2> | |
| <div class="inventory"> | |
| <div class="inventory-item"><i class="fas fa-gun"></i></div> | |
| <div class="inventory-item"><i class="fas fa-syringe"></i></div> | |
| <div class="inventory-item"><i class="fas fa-key"></i></div> | |
| <div class="inventory-item"><i class="fas fa-shield-alt"></i></div> | |
| <div class="inventory-item"><i class="fas fa-bolt"></i></div> | |
| <div class="inventory-item"><i class="fas fa-bomb"></i></div> | |
| <div class="inventory-item"><i class="fas fa-radio"></i></div> | |
| <div class="inventory-item"><i class="fas fa-map"></i></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="game-info"> | |
| <div class="info-card"> | |
| <h3 class="info-title">GAME FEATURES</h3> | |
| <ul class="features-list"> | |
| <li>Retro 3D Graphics with Pixel Art Style</li> | |
| <li>Immersive FPS Combat System</li> | |
| <li>Deep RPG Character Progression</li> | |
| <li>Open World Exploration</li> | |
| <li>Multiple Weapon Types</li> | |
| <li>Skill Trees and Abilities</li> | |
| <li>Quest System with NPC Interactions</li> | |
| <li>Dynamic Day/Night Cycle</li> | |
| </ul> | |
| </div> | |
| <div class="info-card"> | |
| <h3 class="info-title">SYSTEM REQUIREMENTS</h3> | |
| <ul class="features-list"> | |
| <li>Android 8.0 or Higher</li> | |
| <li>2GB RAM Minimum</li> | |
| <li>500MB Storage Space</li> | |
| <li>OpenGL ES 3.0 Support</li> | |
| <li>Multi-touch Screen</li> | |
| <li>Gyroscope (Optional)</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="download-section"> | |
| <h2 class="info-title">DOWNLOAD NOW!</h2> | |
| <p>Get ready for the ultimate retro FPS RPG adventure on your Android device</p> | |
| <a href="#" class="download-btn">DOWNLOAD FOR ANDROID</a> | |
| <p style="margin-top: 1rem; font-size: 0.9rem;">Available on Google Play Store</p> | |
| </div> | |
| </div> | |
| <footer class="footer"> | |
| <p>© 2023 Retro FPS RPG Adventure. All rights reserved.</p> | |
| <p>This is a demo application created for demonstration purposes.</p> | |
| </footer> | |
| <script> | |
| // Add interactive elements | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Control buttons animation | |
| const controlButtons = document.querySelectorAll('.control-btn'); | |
| controlButtons.forEach(button => { | |
| button.addEventListener('click', function() { | |
| this.style.transform = 'scale(0.95)'; | |
| setTimeout(() => { | |
| this.style.transform = 'scale(1)'; | |
| }, 150); | |
| }); | |
| }); | |
| // Inventory items animation | |
| const inventoryItems = document.querySelectorAll('.inventory-item'); | |
| inventoryItems.forEach(item => { | |
| item.addEventListener('click', function() { | |
| this.style.backgroundColor = 'rgba(138, 43, 226, 0.3)'; | |
| setTimeout(() => { | |
| this.style.backgroundColor = 'rgba(0, 0, 0, 0.6)'; | |
| this.style.boxShadow = '0 0 15px var(--accent-color)'; | |
| setTimeout(() => { | |
| this.style.boxShadow = 'none'; | |
| }, 500); | |
| }, 300); | |
| }); | |
| }); | |
| // Health bar animation | |
| let health = 100; | |
| const healthElement = document.querySelector('.stat-value'); | |
| function decreaseHealth() { | |
| if (health > 0) { | |
| health -= 10; | |
| healthElement.textContent = `${health}/100`; | |
| // Visual feedback | |
| if (health <= 30) { | |
| healthElement.style.color = 'red'; | |
| } else if (health <= 70) { | |
| healthElement.style.color = 'yellow'; | |
| } | |
| setTimeout(() => { | |
| if (health < 100) { | |
| health += 10; | |
| healthElement.textContent = `${health}/100`; | |
| if (health > 30) healthElement.style.color = 'var(--accent-color)'; | |
| } | |
| }, 2000); | |
| } | |
| } | |
| // Simulate taking damage every 10 seconds | |
| setInterval(decreaseHealth, 10000); | |
| }); | |
| </script> | |
| </body> | |
| </html> |