Lunar Knight

Seele01-Flash
By
Lunar Knight is an engaging pixel-art roguelike adventure game where you battle through randomly generated worlds, unlock permanent skills, and customize your character while facing challenging bosses and hordes of monsters.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Lunar Knight". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Top-Down Aesthetic. Use an **Orthographic Camera** to simulate a retro pixel-art perspective. The world should be constructed using tile-based logic but rendered with Three.js planes. * **Character & Enemies:** Use `THREE.Sprite` with pixel-art textures for the player (Knight with blue armor/sword) and enemies (slimes, skeletons). Apply a "billboard" effect so they always face the camera, maintaining the 2D look. * **Environment:** A procedurally generated "Dark Forest" dungeon. Use green pixel-texture planes for the ground and darker vertical sprites for tree boundaries. * **Atmosphere:** Implement a "Lunar" vibe using `THREE.Fog` in dark purple/navy hues. Add dynamic point lights attached to the player and projectiles to create a glow effect against the dark background. * **Mobile Optimization:** Use a single texture atlas for all sprites to minimize draw calls. Limit particle counts for effects (blood, sparks) to ensure 60FPS on mobile devices. ### 2. Audio Requirements * **BGM:** A fast-paced, heroic **Chiptune / 8-bit Orchestral** track. It should feel adventurous but slightly mysterious (minor key) to fit the "Lunar" theme. * **SFX:** * **Attack:** Crunchy 8-bit "slash" noise. * **Dash:** A high-pitched "whoosh" or synth slide. * **Hit/Damage:** Retro "thud" or "crunch" sound. * **Level Up/Item:** A positive, rising arpeggio chingle. ### 3. Gameplay Loop * **Core Mechanics:** High-speed Hack-and-Slash. The player enters a room, gates close, and waves of enemies spawn. * **Combat Logic:** * **Attack:** Short-range sword arc (hitbox detection). * **Dash:** A quick burst of movement that grants temporary invincibility (i-frames). * **Skills:** A cooldown-based area-of-effect (AOE) attack (e.g., a spinning blade or moonlight beam). * **Roguelike Elements:** Upon clearing a room or leveling up, pause the game and present a UI modal offering 3 random distinct upgrades (e.g., "Attack Speed Up", "Max HP Up", "Double Dash"). * **Win/Loss:** The run ends if HP reaches 0 (Permadeath). Beating the Boss (a giant high-HP sprite) marks victory. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape Mode** only. * **Movement:** Implement a floating **Virtual Joystick** on the bottom-left half of the screen. It should auto-center where the thumb first touches. * **Action Buttons:** Place a cluster of virtual buttons on the bottom-right: * **Large Button:** Main Attack (Sword). * **Medium Button:** Dash (Space equivalent). * **Small Button:** Skill (Q/E equivalent) with a visual cooldown overlay (radial fill). * **Haptic & Visual Feedback:** * Trigger `navigator.vibrate(50)` on taking damage or landing a critical hit. * Implement "Screen Shake" by slightly jittering the camera position during heavy impacts. * Display floating damage numbers (Damage Text) that pop up and fade away over enemy heads. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Lunar Knight

Lunar Knight is a captivating pixel-art adventure game that combines classic roguelike elements with modern gameplay mechanics. This free browser-based game offers an immersive top-down adventure where every playthrough brings new challenges through randomly generated worlds. Players embark on an epic journey filled with monster battles, character progression, and strategic combat.

The game features beautifully crafted pixel art graphics that create a nostalgic yet fresh gaming experience. With its roguelike nature, no two adventures are the same, ensuring endless replayability and constant surprises around every corner.

Core Features

Roguelike Adventure Mechanics

Lunar Knight delivers authentic roguelike gameplay with randomly generated dungeons and worlds. Each run presents unique layouts, enemy placements, and loot opportunities, making every adventure feel fresh and unpredictable.

Character Progression System

Unlock permanent skills that carry over between runs, allowing you to become progressively stronger. The game features a comprehensive character development system where you can:

  • Learn New Combat Skills : Master various abilities to enhance your fighting prowess
  • Permanent Upgrades : Unlock skills that persist across multiple dungeon runs
  • Character Customization : Customize your knight's appearance including head, body, and weapons
  • Equipment Variety : Discover and equip various items to optimize your playstyle

Epic Combat System

Engage in intense battles against hordes of monsters using intuitive controls. The combat system emphasizes skill-based gameplay where timing and strategy matter more than button mashing.

Boss Battles

Test your combat skills against powerful bosses that require different strategies and tactics to defeat. These challenging encounters serve as skill gates that push you to master the game's mechanics.

Rich Storyline

Experience an in-depth story featuring beautifully drawn characters that add narrative depth to your adventure. The game balances action-packed gameplay with engaging storytelling.

Gameplay Mechanics

Survival Elements

Survive increasingly dangerous environments by managing resources, making strategic decisions, and adapting to ever-changing threats in the randomly generated worlds.

Monster Variety

Face diverse enemy types, each requiring different approaches and strategies. Learn enemy patterns and adapt your combat style to overcome various threats.

Loot and Rewards

Discover valuable items and equipment throughout your journey. The reward system encourages exploration and provides meaningful progression incentives.

Operation Guide

Lunar Knight features intuitive controls designed for both keyboard and mouse players:

  • Movement : Use WASD keys to navigate your character through the pixelated world
  • Combat : Attack using left-click, arrow keys, or IJKL keys for versatile combat options
  • Mobility : Press Space to perform a dash, essential for dodging attacks and repositioning
  • Skills : Use Q and E keys to activate your learned skills and abilities

The control scheme is responsive and allows for precise character movement and combat timing, crucial for success in this challenging roguelike adventure.

Why Play Lunar Knight

Lunar Knight stands out as an exceptional roguelike experience that combines the best elements of classic pixel-art games with modern design sensibilities. The game offers:

Complete Freedom : Play entirely free in your browser without downloads, installations, or hidden costs

Endless Replayability : Roguelike mechanics ensure each playthrough offers new challenges and discoveries

Progressive Difficulty : The game scales appropriately, challenging both newcomers and experienced roguelike veterans

Artistic Excellence : Beautiful pixel art and character designs create an immersive fantasy world

Accessible Gameplay : Easy to learn controls with depth that rewards skill development and strategic thinking

Whether you're a roguelike veteran or new to the genre, Lunar Knight provides an engaging adventure that respects your time while offering substantial depth and replay value.

Frequently Asked Questions (FAQ)