Temple of Fire - Action Survival Game

Seele01-Flash
By
Temple of Fire is an intense action survival game where players defend their sacred temple from relentless waves of shadow monsters. Launch blazing fireballs, collect powerful upgrades, and survive 15 minutes of escalating terror to face the ultimate boss.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Temple of Fire". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Dark Fantasy / Dungeon Crawler aesthetic. The camera should be a top-down orthographic view to simulate a classic 2D survival feel but with 3D depth. * **Environment**: Create an infinite tiling floor that resembles cracked stone or obsidian tiles. Between the cracks, animate a pulsing lava glow (shader-based orange/red emission) to emphasize the "Fire" theme. The lighting should be dim and atmospheric, with a point light attached to the player to simulate a torch effect. * **Player Character**: A simplified mage or monk figure (low-poly) glowing with an orange aura. * **Enemies**: "Shadow Monsters" represented by dark, shadowy geometries (e.g., spiders, blob-like shapes) with glowing green or purple eyes. They should have a slightly transparent, ghostly material. * **Projectiles**: Player attacks are bright orange/yellow fireballs (sphere geometries with trail particles). Enemy projectiles are purple plasma orbs. * **Mobile Optimization**: Use instanced mesh rendering for the hordes of enemies to maintain 60 FPS on mobile devices. Limit dynamic lights to the player and key projectiles. ### 2. Audio Requirements * **BGM**: An intense, rhythmic orchestral track featuring deep war drums and low brass to build tension, overlaid with subtle ambient sounds of crackling fire and distant monster screeches. The tempo should increase as the survival timer progresses. * **SFX**: * **Shooting**: A "woosh" or sizzling sound for fireballs. * **Impact**: A satisfying "crunch" or sizzling burn sound when hitting enemies. * **Coin Collection**: A high-pitched metallic "ching" or magical sparkle sound. * **UI**: Stone grinding sounds for menu clicks; a heavy thud for game over. * **Power-up**: A loud, echoing roar or explosion sound when "Firelord" mode is activated. ### 3. Gameplay Loop * **Core Mechanics**: A "Vampire Survivors" style horde survival. The player is constantly besieged by waves of enemies that spawn from the edges of the screen and move toward the player. * **Combat**: The player automatically shoots the nearest enemy (Auto-shoot is the default for mobile). Fireballs deal damage and knock back enemies slightly. * **Progression**: Enemies drop gold coins upon death. Collecting coins fills an XP bar. Upon leveling up, pause the game and offer a choice of 3 random upgrades (e.g., "Multishot", "Fire Rate Up", "Move Speed", "Explosive Fireballs"). * **Survival Goal**: Survive for a fixed duration (scale down from 15 mins to 3-5 mins for the web prototype). At the end of the timer, spawn a massive boss (The Unspoken Horror) with increased health and bullet-hell attack patterns. * **Defeat**: If player HP reaches 0, show a "You Died" screen with stats (Time Survived, Enemies Slain). ### 4. Mobile Controls & Interaction * **Movement**: Implement a dynamic virtual joystick on the left side of the screen. The center appears wherever the player first touches. The player character moves relative to the joystick drag. * **Orientation**: Landscape mode is mandatory. * **Action Buttons**: * Place a large, circular "Ultimate" button (for "Firelord" mode) on the bottom right, distinct from the movement area. It should have a cooldown fill effect. * Pause button in the top right corner (minimum 44x44px touch area). * **UI Feedback**: * Damage numbers pop up and float upwards when enemies are hit. * Screen shake effect (mild) when the player takes damage or uses the Ultimate ability. * Haptic feedback (using `navigator.vibrate` if available) on taking damage. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Temple of Fire is a thrilling 2D action survival game that puts you in the role of a temple guardian defending sacred ground from an invasion of shadow monsters. This free online browser game combines fast-paced combat with strategic upgrade mechanics, challenging players to survive increasingly difficult waves of enemies over 15 intense minutes.

The game features a dark, atmospheric setting where your temple serves as the last bastion against supernatural forces. Armed with the power of fire magic, you must launch blazing fireballs at approaching shadow creatures while collecting coins and upgrades to strengthen your defenses.

Core Features

Intense Survival Combat

Temple of Fire delivers heart-pounding survival action where every second counts. Face endless waves of shadow monsters that become progressively more dangerous as time passes. The game's horde survival mechanics keep you constantly engaged, requiring quick reflexes and strategic thinking.

Fire Magic System

Harness the power of fire to defend your temple. Launch blazing fireballs at enemies with precise aim, or activate auto-shoot mode for continuous bombardment. Master the Firelord transformation ability to unleash devastating attacks when the situation becomes desperate.

Progressive Upgrade System

Collect coins from defeated enemies to purchase powerful upgrades between waves. Enhance your fire magic, increase damage output, improve movement speed, and unlock special abilities. The upgrade system allows for diverse playstyles and strategic customization.

Epic Boss Encounter

Survive the full 15-minute onslaught to face the terrifying final boss - the Unspoken Horror. This climactic battle tests all the skills and upgrades you've accumulated throughout your survival journey.

Atmospheric 2D Graphics

Immerse yourself in the game's dark, mystical atmosphere with detailed 2D graphics that bring the temple and its supernatural enemies to life. The visual design creates a perfect balance of beauty and terror.

Gameplay Mechanics

Temple of Fire follows classic horde survival principles with unique twists. Players must constantly move to avoid enemy attacks while positioning themselves for optimal firing angles. The game rewards both offensive aggression and defensive positioning.

The coin collection system adds a strategic layer - do you risk venturing closer to enemies for more coins, or play it safe with fewer upgrade opportunities? This risk-reward balance keeps every playthrough engaging.

Wave progression ensures that difficulty scales appropriately, introducing new enemy types and attack patterns as you advance. Each wave survived brings you closer to powerful upgrade opportunities and the final boss encounter.

Operation Guide

Movement Controls: - Use WASD keys, arrow keys, or ZQSD (AZERTY keyboards) to move your character - Keep moving to avoid enemy attacks and position for better shots

Combat Controls: - Left mouse button to manually aim and shoot fireballs - X key or right mouse button to activate auto-shoot mode - Space bar to transform into Firelord (when unlocked)

Game Management: - P key to pause and unpause the game - Plan your upgrade purchases during brief moments between waves

Strategy Tips: - Prioritize movement upgrades early for better survival - Balance offensive and defensive upgrades based on your playstyle - Save the Firelord transformation for overwhelming situations - Learn enemy movement patterns to optimize your positioning

Why Play This Game

Temple of Fire offers an addictive survival experience that's perfect for both casual and hardcore gamers. The game is completely free to play in your browser - no downloads, installations, or payments required. Each 15-minute session provides intense, focused gameplay that respects your time while delivering maximum excitement.

The combination of simple controls and deep strategic elements makes it easy to learn but challenging to master. Whether you're looking for a quick gaming session or aiming to perfect your survival strategies, Temple of Fire delivers consistent thrills.

The game's replay value comes from experimenting with different upgrade paths and trying to achieve longer survival times or higher scores. Each playthrough feels fresh thanks to the dynamic enemy spawning and upgrade combinations.

For fans of action games, survival challenges, or monster-fighting adventures, Temple of Fire provides an excellent blend of all these elements in one polished package.

Frequently Asked Questions (FAQ)