Apple Knight: Mini Dungeons

Seele01-Flash
By
Apple Knight: Mini Dungeons is a charming action-RPG platformer featuring pixel art graphics, dungeon exploration, and apple-throwing combat. Play as a brave knight on epic adventures through magical kingdoms.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Apple Knight: Mini Dungeons". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Side-Scrolling Platformer using a Pixel Art aesthetic. Use an **Orthographic Camera** to maintain the retro "flat" look while utilizing Three.js depth for parallax scrolling backgrounds. * **Character Models**: The hero should be rendered as a `THREE.Sprite` or a flat `PlaneGeometry` with a texture from a sprite sheet. The hero wears a helmet, brown armor, and wields a disproportionately large, glowing blue sword. * **Environment**: Create "Magical Forest" and "Dungeon" biomes. Use tile-based level generation. Foreground tiles (ground) should be dark and distinct. Background layers (trees, mountains, clouds) should move at different speeds (parallax effect) and have a slight atmospheric fog. * **Effects**: * **Lighting**: Attach a dynamic cyan `PointLight` to the player's sword to illuminate the immediate surroundings in dark dungeon areas. * **Particles**: Simple square particle emitters for: dust when jumping/landing, sparkles when collecting gems, and hit-flashes when striking enemies. * **Mobile Optimization**: Use **Texture Atlases** (Sprite Sheets) for all 2D assets to minimize draw calls. Use `InstancedMesh` for repetitive environment tiles to ensure high FPS on mobile GPUs. ### 2. Audio Requirements * **BGM**: A heroic, upbeat **Chiptune/8-bit Fantasy Adventure** track. It should loop seamlessly and have high energy. * **Sound Effects (SFX)**: * *Jump*: A classic rising 8-bit "boing" or "whoosh". * *Sword Attack*: A sharp, retro "schwing" noise. * *Apple Throw*: A quick "thwip" sound. * *Collection*: A high-pitched "ding" for gold/gems and a "crunch" sound for picking up health apples. * *Damage*: A low-bit "ugh" or distinct impact noise. ### 3. Gameplay Loop * **Core Mechanics**: The player traverses a level from left to right. * **Movement**: Run left/right, Jump (support Double Jump), Dash (short burst of speed/invulnerability). * **Combat**: Two modes: 1. **Melee**: Close-range sword swing (destroys boxes, hits enemies). 2. **Ranged**: Throw Apples (consumes ammo count, travels in a slight arc). * **Enemies**: "Spooky foes" (e.g., slimes, bats, skeletons). They patrol platforms and deal contact damage. * **Collectibles**: * **Gold/Gems**: Increase score. * **Apples**: Restore health or serve as ammo. * **Chests**: Hidden in secret walls, containing large loot. * **Win Condition**: Reach the portal/door at the end of the level. * **Fail Condition**: Player Health (hearts) reaches zero or player falls into a bottomless pit. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Mode** is mandatory. * **Touch Controls (Virtual Overlay)**: * **Left Side**: A floating **Virtual Joystick** or large Left/Right arrow buttons for movement. * **Right Side**: An ergonomic cluster of action buttons: * **Button A (Largest)**: Jump. * **Button B**: Sword Attack. * **Button C (Small)**: Throw Apple. * **Button D (Small)**: Dash. * **UI/UX**: * All buttons must have a minimum touch target of **44x44px** (preferably larger for action buttons). * HUD (Heads-Up Display) positioned at the top corners (Health Hearts top-left, Score/Apple Count top-right) to avoid being covered by fingers. * Implement **Touch Feedback**: Buttons should visually depress (scale down slightly) when pressed. If the browser supports it (`navigator.vibrate`), trigger a tiny haptic pulse on Attack and Damage events. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Apple Knight: Mini Dungeons is a captivating action-RPG platformer that combines classic retro aesthetics with modern gameplay mechanics. This free-to-play adventure game features beautiful pixel art graphics and offers an engaging fantasy experience where you embark on heroic quests through mysterious dungeons and magical forests.

The game stands out with its unique apple-throwing mechanic alongside traditional sword combat, creating a distinctive and memorable gameplay experience that appeals to both casual and hardcore gamers.

Core Features

Engaging Action-RPG Gameplay

Experience the perfect blend of platforming action and RPG elements. Navigate through challenging levels while developing your character's abilities and discovering new combat techniques. The game offers smooth controls and responsive gameplay that makes every jump, dash, and attack feel satisfying.

Beautiful Pixel Art Style

Immerse yourself in stunning retro-inspired pixel art that brings the fantasy world to life. Every character, enemy, and environment is crafted with attention to detail, creating a visually appealing experience that pays homage to classic gaming while feeling fresh and modern.

Dungeon Exploration and Treasure Hunting

Delve into hidden dungeons filled with valuable treasures, gold coins, and precious gems. Each dungeon presents unique challenges and rewards, encouraging thorough exploration and rewarding curious players with valuable loot and secret discoveries.

Character Customization

Unlock exciting new outfits and equipment as you progress through your adventure. Customize your knight's appearance while enhancing their combat effectiveness with various gear options that affect both style and performance.

Epic Boss Battles

Test your skills against formidable bosses that require strategy, timing, and mastery of all your abilities. Each boss encounter is uniquely designed to challenge different aspects of your gameplay skills.

Gameplay Mechanics

Unique Apple Combat System

Master the art of apple throwing - a signature mechanic that sets this game apart from other platformers. Combine apple projectiles with sword attacks to create devastating combo attacks and solve environmental puzzles.

Fluid Movement System

Utilize a comprehensive movement system including jumping, dashing, and wall interactions to navigate complex level designs. The responsive controls ensure precise platforming and satisfying exploration.

Controls Guide

Movement Controls: - WASD or Arrow Keys : Move your character in all directions - Z, J, or Spacebar : Jump over obstacles and reach higher platforms - V, Semicolon, or Alt : Perform quick dash moves for combat and traversal

Combat Controls: - X, K, or Control : Execute sword attacks against enemies - C, L, or Shift : Throw apples at distant targets or activate switches

The intuitive control scheme ensures that players can quickly master the game mechanics and focus on enjoying the adventure.

Why Play Apple Knight: Mini Dungeons

Completely Free Experience

Enjoy the full game experience without any cost. No hidden fees, no pay-to-win mechanics - just pure gaming enjoyment accessible to everyone.

Cross-Platform Compatibility

Play seamlessly across multiple devices including desktop computers, smartphones, and tablets. Your adventure continues wherever you are, with no downloads or installations required.

Perfect for All Skill Levels

Whether you're a platformer veteran or new to the genre, the game offers accessible gameplay with optional challenges for more experienced players. The learning curve is designed to be enjoyable rather than frustrating.

Rich Fantasy World

Explore a beautifully crafted fantasy kingdom filled with magical forests, mysterious dungeons, and diverse environments. The world feels alive and invites thorough exploration.

Nostalgic Yet Modern

Experience the charm of retro gaming enhanced with modern design sensibilities. The game captures the essence of classic adventure games while offering contemporary quality-of-life improvements.

Frequently Asked Questions (FAQ)