Kingdom of Pixels

Seele01-Flash
By
Kingdom of Pixels is a nostalgic 2D pixel-art MOBA that combines classic side-scrolling platformer mechanics with strategic multiplayer battles. Choose from diverse heroes and destroy enemy crystals in fast-paced 15-minute matches.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Kingdom of Pixels: Pocket MOBA**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Pixel Art aesthetic. Use an **Orthographic Camera** to maintain a flat, retro look while allowing for 3D depth in the background parallax. * **World Construction**: * Create a "Side-Scrolling Lane" structure. The ground should be tiled block textures (grass/stone). * Implement "Brushes" as semi-transparent sprite layers that obscure the character when overlapped (simulating hiding). * Background should be a multi-layered parallax scrolling sky (teal/bright blue) with distant pixelated mountains. * **Characters**: Use `THREE.Sprite` with pixel-art textures for the Hero, Minions, and Enemies. The Hero should have a distinct outline to stand out on mobile screens. * **Performance**: Use texture atlases for all sprites to reduce draw calls. Limit particle effects (for magic attacks) to simple low-poly meshes or instanced sprites to maintain 60 FPS on mobile. ### 2. Audio Requirements * **BGM**: An energetic, looping **Chiptune/8-bit Orchestral** track. It should feel adventurous but intense, similar to retro RPG battle themes. * **Sound Effects (SFX)**: * *UI*: Crisp "blip" sounds for button presses; a "kaching" sound when gaining Gold. * *Combat*: 8-bit "crunch" or "hit" noises for melee attacks; retro "zap" sounds for magic projectiles. * *Environment*: A low-frequency "rumble" when a Tower is destroyed. ### 3. Gameplay Loop * **Core Logic**: A condensed 1v1 side-scrolling MOBA. * **Phase 1 (Laning)**: Minions spawn every 15 seconds from the "Nexus" and move automatically to the right. The player must kill enemy minions to gain Gold and XP. * **Phase 2 (Pushing)**: The player must escort their minions to the Enemy Tower. The Tower has high defense and deals heavy damage; it prioritizes targeting Minions over the Hero unless the Hero attacks an enemy Champion under the tower. * **Win Condition**: The game ends when the player's minions destroy the enemy "Crystal" (Nexus) at the far right of the map. * **Economy**: Implement a simple "Gold" counter. Gold is earned by Last Hits on minions. * **Shop System**: A simplified shop zone at the spawn point (left side) where the player can press a button to buy a "Stat Boost" item. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Mode** only. * **Touch Controls**: * **Left Thumb**: A dynamic **Virtual Joystick** for movement (Left/Right run, Up to aim skills mostly). * **Right Thumb**: A cluster of action buttons: * **Big Button (Attack)**: Basic auto-attack. * **Medium Button (Jump)**: Standard platformer jump. * **Small Button (Skill 1)**: Fires a projectile (Magic). * **UI Layout**: * Top-left: Player Health/Mana bars and Gold count. * Top-center: Match Timer. * Top-right: K/D Scoreboard and Settings. * **Feedback**: * Implement `navigator.vibrate(20)` on successful hits or taking damage. * Show "Floating Damage Numbers" (pixel font) popping off targets when hit. * UI buttons must have a "pressed" visual state (scale down slightly) for 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

Kingdom of Pixels brings the excitement of traditional MOBA gameplay to a charming 2D pixel-art world. This free-to-play multiplayer arena game combines the strategic depth of games like League of Legends with nostalgic side-scrolling platformer mechanics. Each match lasts approximately 15 minutes, making it perfect for quick gaming sessions while still delivering deep strategic gameplay.

The game features a diverse roster of heroes, each with unique abilities and playstyles. Players must work together to destroy towers, control map objectives, and ultimately destroy the enemy's crystal to achieve victory. The pixel-art aesthetic creates a nostalgic feel while maintaining modern MOBA mechanics and competitive gameplay.

Core Features

Strategic Hero-Based Combat

Choose from a wide variety of heroes, each specializing in different combat roles. Select between melee and ranged heroes that deal either Normal or Magic damage types. Every hero has unique abilities and can be customized through itemization to match your preferred playstyle.

Multiple Game Modes

  • 1v1 Ranked Matches : Intense head-to-head duels testing individual skill
  • 2v2 Ranked Matches : Team-based cooperation requiring coordination and strategy
  • Practice Mode : Solo training to experiment with different hero and item combinations

Dynamic Map Elements

Utilize strategic map features to gain advantages: - Gold Runes : Spawn at match start for early economic advantage - Buff Runes : Appear every minute starting at 01:00, providing powerful temporary bonuses - Brushes : Provide tactical positioning opportunities - Towers : Must be destroyed to advance toward the enemy crystal

Itemization System

Build and upgrade items using gold earned from defeating minions and enemy heroes. Strategic item selection is crucial as you can only purchase items at your spawn point. Save gold for essential items like Health Potions to maintain lane presence.

Gameplay Mechanics

Victory Conditions

Win matches by destroying the enemy crystal using your minions. Players cannot damage crystals directly - minions are your primary win condition. Destroying enemy towers boosts your minions' stats significantly, creating strategic opportunities to push for victory.

Resource Management

Gain gold by eliminating enemy minions and heroes, then invest wisely in items and upgrades. Experience points level up your hero, making them stronger throughout the match. Managing both resources effectively determines success in battles.

Strategic Timing

Each match begins with a 45-second preparation phase. Use this time to position near the Gold Rune spawn location for early economic advantage. Understanding spawn timings for runes and minion waves creates tactical opportunities.

How to Play

Basic Controls

  • WASD or Arrow Keys : Move your hero around the battlefield
  • Spacebar : Jump over obstacles and terrain
  • J or Left-Click : Execute basic attacks
  • K or Ctrl : Activate first special ability
  • L or Alt : Use second special ability
  • B Key : Recall back to spawn safely
  • Number Keys 1-5 : Activate item abilities
  • Right-Click : Sell unwanted items

Strategic Tips

  • Position yourself near Gold Rune spawn before match start for economic advantage
  • Always keep Health Potions in inventory for sustained lane presence
  • Avoid taking damage while using Health Potions to prevent healing interruption
  • Contest Buff Runes at 01:00 and every minute thereafter for powerful advantages
  • Coordinate with teammates in 2v2 matches for maximum effectiveness

Why Play Kingdom of Pixels

This game perfectly captures the nostalgia of classic pixel games while delivering modern competitive MOBA gameplay. The shorter match length makes it accessible for players with limited time, while the strategic depth ensures long-term engagement. Whether you're a MOBA veteran or newcomer to the genre, Kingdom of Pixels offers an approachable yet challenging experience.

The combination of platformer mechanics with MOBA strategy creates a unique gaming experience unavailable elsewhere. Regular updates and improvements ensure the game continues evolving, making now the perfect time to join this growing community of pixel warriors.

Frequently Asked Questions (FAQ)