Laser Quest - Crystal Illumination Puzzle Game

Seele01-Flash
By
Laser Quest is an engaging 3D puzzle game that challenges your strategic thinking. Control a laser gun to illuminate crystals in mysterious floating castles by finding the perfect beam path through various obstacles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Laser Quest". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Minimalist Sci-Fi with a "Low Poly" aesthetic. The scene should look like a floating diorama in a deep space void. Use a cool color palette (deep blues, purples) for the background and environment, contrasted by bright, emissive colors (Neon Red, Cyan, Green) for lasers and active elements. * **Key Models:** * **Laser Turret (Player):** A sleek, white mechanical turret with emissive details (as seen in the screenshot). It must have a barrel that indicates direction. * **Crystals (Targets):** Floating geometric shapes (e.g., Icosahedrons) that are dim by default and glow intensely when hit by a laser. * **Reflectors/Mirrors:** Angled surfaces on rotating pedestals that bounce the laser beam 90 degrees. * **Environment:** Simple grey floating block platforms. The background should be a dark gradient (dark blue to black) with subtle twinkling stars. * **Graphics & Optimization:** * Use `THREE.Line` or thin glowing Cylinders for the laser beams. * Implement **Post-Processing Bloom (UnrealBloomPass)** to make the lasers and lit crystals glow against the dark background. * Keep geometry low-poly for mobile frame rates (target 60fps). Use baked shadows or simple directional lighting to save performance. ### 2. Audio Requirements * **BGM:** An ethereal, ambient space soundtrack. It should be relaxing and loop seamlessly, similar to "Zen" puzzle games (slow tempo, synthesizer pads). * **Sound Effects (SFX):** * **Rotation:** A satisfying mechanical "servo" or "click" sound when the user taps to rotate a turret or mirror. * **Laser Hum:** A low, continuous electrical hum (looping) when the laser is active. * **Success Chime:** A resonant, high-pitched crystal resonance sound when a target is illuminated. * **Level Complete:** A harmonious major chord progression. ### 3. Gameplay Loop * **Objective:** The player must illuminate all "Crystal" objects in the level simultaneously using the laser beam. * **Mechanics:** * The laser source emits a raycast continuously. * The ray stops at walls, lights up crystals, or reflects off mirrors. * **Interaction:** The player cannot move objects, only **rotate** them. Tapping a Turret or a Mirror rotates it clockwise by 90 degrees. * **Win Condition:** Code must constantly check if `litCrystalsCount == totalCrystalsCount`. If true for > 0.5 seconds (to prevent accidental sweeping wins), trigger "Level Complete" particle effect and UI. * **Demo Level Layout:** Set up a solvable test scene: One Laser Turret, one Angled Mirror, and one Crystal, positioned so the player must rotate the mirror to hit the crystal. ### 4. Mobile Controls & Interaction * **Camera:** Fixed Isometric or high-angle Perspective view. The camera should act as a static observer to prevent motion sickness; no pinch-to-zoom needed for this puzzle type. * **Touch Input:** * Implement `Raycaster` for touch detection. * **Tap/Click:** Tapping any interactive object (Turret/Mirror) triggers a 90-degree rotation animation (use TWEEN.js or similar for smooth rotation, do not snap instantly). * **UI/UX:** * Portrait mode preferred, but responsive to landscape. * Provide a visual "highlight" (outline or brightness boost) on objects when the user touches them to confirm input. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` on every successful rotation tap to simulate mechanical tactile feel. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Laser Quest is a captivating thinking puzzle game that combines precision, strategy, and problem-solving skills. Set in mysterious floating castles, this brain-training adventure challenges players to master the art of laser manipulation. Your mission is simple yet intellectually demanding: illuminate all crystals using your laser gun while navigating through complex obstacles that can block your light beam.

This free online puzzle game offers a perfect blend of point-and-click mechanics and 3D visual appeal, making it accessible to puzzle enthusiasts of all skill levels. With dozens of challenging levels and multiple laser guns to unlock, Laser Quest provides hours of mind-bending entertainment.

Core Features

Strategic Laser Control

The heart of Laser Quest lies in its innovative laser beam mechanics. Players must carefully analyze each level's layout, identifying the optimal path for their laser to reach every crystal. The game requires spatial reasoning and forward-thinking as you plan your beam's trajectory.

Progressive Difficulty System

Starting with simple layouts, Laser Quest gradually introduces more complex obstacles and challenging configurations. Each level builds upon previous concepts, ensuring a smooth learning curve while maintaining engaging difficulty progression.

Multiple Laser Guns

As you advance through the game, you'll unlock various laser guns, each potentially offering different capabilities or visual styles. This progression system adds motivation and variety to the gameplay experience.

Obstacle Navigation

The floating castles are filled with barriers, mirrors, and other interactive elements that can either help or hinder your laser beam. Understanding how these obstacles affect light propagation is key to solving each puzzle.

Gameplay Mechanics

Laser Quest employs intuitive point-and-click controls that make the game immediately accessible. The core gameplay revolves around strategic positioning and angle adjustment of your laser gun to create the perfect light path.

Crystal Illumination Challenge

Each level presents a unique arrangement of crystals that must all be illuminated simultaneously. This requires careful planning and often involves using reflective surfaces or finding creative beam paths that can reach multiple targets.

Environmental Puzzles

The mysterious floating castles serve as more than just backdrop – they're integral to the puzzle-solving experience. Walls, platforms, and other architectural elements create the maze-like challenges that define each level.

Gameplay Guide

Basic Controls

The game uses simple mouse controls for maximum accessibility: - Click on laser gun : Change the direction and angle of your laser beam - Click on interactive items : Manipulate moveable objects that can redirect your beam - Strategic clicking : Plan your moves carefully as each adjustment affects the entire light path

Winning Strategy Tips

  • Analyze the entire level layout before making your first move
  • Look for reflective surfaces that can help redirect your beam
  • Consider how obstacles can be used advantageously
  • Think several steps ahead when planning your beam path
  • Experiment with different angles if your initial approach doesn't work

Level Progression

Success in each level unlocks the next challenge, gradually introducing new mechanics and more complex puzzle configurations. The game rewards both logical thinking and creative problem-solving approaches.

Why Play Laser Quest?

Mental Exercise : This brain training game enhances spatial reasoning, logical thinking, and problem-solving abilities through engaging puzzle challenges.

Accessible Gaming : The simple point-and-click interface makes it easy for anyone to start playing, while the strategic depth keeps experienced puzzle fans engaged.

Free Entertainment : Enjoy dozens of levels completely free with no hidden costs or premium barriers blocking your progress.

Cross-Platform Compatibility : Play seamlessly on desktop computers, tablets, and smartphones without any downloads or installations required.

Progressive Challenge : The carefully designed difficulty curve ensures you're always appropriately challenged without becoming frustrated.

Whether you're looking for a quick mental break or an extended puzzle-solving session, Laser Quest delivers satisfying gameplay that exercises your mind while providing entertainment.

Frequently Asked Questions (FAQ)