Xibalba - Ancient Mayan Pyramid Shooter

Seele01-Flash
By
Xibalba is an intense first-person shooter inspired by classic Doom gameplay, set deep within an ancient Mayan pyramid. Battle terrifying monsters using classic FPS mechanics in this challenging browser-based adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Xibalba: Retro Mayan FPS**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: "Doom-clone" aesthetic (2.5D Retro FPS). Use low-poly geometry for walls/floors but apply low-resolution **pixel-art textures**. * **Texture Filtering**: Crucial: All textures must use `THREE.NearestFilter` for `magFilter` to preserve the crisp, pixelated retro look (no blurring). * **Environment**: A dark, maze-like Mayan pyramid interior. Textures should feature mossy stone blocks, ancient glyphs, and dirt floors. * **Lighting & Atmosphere**: Use `THREE.FogExp2` (dark blue/purple color) to simulate the humid, dark underworld and limit draw distance for performance. Use simple point lights for torches. * **Enemy & Item Assets**: Use **Billboarding techniques** (2D sprites on `PlaneGeometry` that always face the camera) for enemies (mud monsters, ancient warriors) and pickups (medkits, ammo), mimicking the sprite-based look of 90s shooters. * **Weapon**: A centered or slightly right-aligned 2D sprite of a pixelated hand-cannon/weapon at the bottom of the screen. ### 2. Audio Requirements * **BGM**: A dark, rhythmic track combining retro midi-style synths with tribal percussion (drums, rattles) to build tension. * **SFX**: * **Shooting**: Low-bitrate, punchy "boom" sound. * **Enemies**: Guttural growls or hisses when active; a "splat" sound upon death. * **Movement**: Footsteps that vary slightly in pitch to avoid repetition. * **UI**: Retro "blip" sounds for button presses. ### 3. Gameplay Loop * **Core Mechanic**: Navigate a procedural or pre-defined maze to find the exit (a teleporter or elevator) while surviving enemy waves. * **Combat**: Fast-paced shooting. Enemies move toward the player. The player must strafe and shoot. * **Resources**: Manage Health and Ammo. Pickups are scattered throughout the maze. * **Win Condition**: Reach the level exit. * **Lose Condition**: Health reaches 0 (screen flashes red). ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape Locked** (Full screen). * **Virtual Joystick (Left)**: A floating virtual thumbstick for movement (Forward, Backward, Strafe Left, Strafe Right). * **Touch Look (Right)**: The right half of the screen is a touch area for rotating the camera (Yaw only needed for retro feel, Pitch can be limited or locked). * **Action Buttons**: * **Fire Button**: A large, distinct button (min 64x64px) on the bottom right for shooting. * **Interact/Open**: Context-sensitive button for opening doors. * **Haptic Feedback**: Trigger `navigator.vibrate(50)` when shooting and `navigator.vibrate(200)` when taking damage to enhance mobile immersion. * **UI Layout**: Keep HUD (Health/Ammo) at the top corners with large, readable pixel-art fonts, clear of thumb interaction zones. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Xibalba is a thrilling first-person shooter that pays homage to the legendary Doom series while incorporating rich Mayan mythology. Set deep within the mysterious corridors of an ancient pyramid, this HTML5 game delivers classic FPS action directly in your web browser. Named after the Mayan underworld, Xibalba challenges players to survive against hordes of ancient monsters in atmospheric, dungeon-like environments.

This free-to-play shooter combines retro gaming aesthetics with modern browser technology, offering an authentic old-school FPS experience without requiring any downloads or installations.

Core Features

Classic Doom-Inspired Gameplay

Xibalba captures the essence of 90s first-person shooters with fast-paced action, strategic combat, and exploration elements. The game features the iconic run-and-gun mechanics that made classic FPS games legendary.

Atmospheric Mayan Setting

Explore the dark, mysterious chambers of an ancient Mayan pyramid filled with supernatural creatures and ancient secrets. The game's unique cultural theme sets it apart from typical space-marine shooters.

Challenging Difficulty

Tagged as a "Hard" game, Xibalba offers a genuine challenge for FPS enthusiasts. Expect intense combat situations that require skill, strategy, and quick reflexes to overcome.

Browser-Based Convenience

  • No Downloads Required : Play instantly through your web browser
  • HTML5 Technology : Smooth performance across different devices
  • Embeddable : Can be played on various gaming platforms
  • Free Access : Complete game experience at no cost

Mature Content Warning

The game features bloody combat and intense action sequences, making it suitable for players who enjoy more visceral gaming experiences.

Gameplay Mechanics

Xibalba follows classic FPS principles with modern browser optimization. Navigate through interconnected pyramid chambers, collect weapons and ammunition, and engage in strategic combat against increasingly difficult enemies. The game emphasizes exploration, resource management, and tactical shooting.

Combat System

Engagement with ancient monsters requires careful ammunition management and positioning. Each enemy type presents unique challenges, from fast-moving creatures to powerful boss-like entities guarding deeper pyramid chambers.

Controls and Operation

The game supports both mouse and keyboard controls for maximum accessibility:

  • Mouse : Aim, look around, and fire weapons
  • Keyboard : Movement, weapon switching, and interaction
  • WASD Keys : Standard movement controls (forward, backward, strafe)
  • Mouse Click : Primary fire
  • Spacebar : Jump or action button
  • Number Keys : Weapon selection

Detailed control instructions are provided within the game interface, allowing players to customize their experience based on personal preferences.

Why Play Xibalba

If you're a fan of classic first-person shooters like Doom, Quake, or Wolfenstein, Xibalba offers a perfect blend of nostalgia and fresh content. The Mayan mythology theme provides a unique cultural backdrop rarely seen in FPS games, while the challenging gameplay ensures hours of engaging entertainment.

The game's browser-based nature means you can jump into action immediately, whether you're looking for a quick gaming session or an extended pyramid exploration adventure. Its free availability and high-quality gameplay make it an excellent choice for both casual and hardcore FPS enthusiasts.

Frequently Asked Questions (FAQ)