Sand King - Desert Dinosaur Fossil Collection Game

Seele01-Flash
By
Sand King combines thrilling desert driving with paleontology adventure. Drive your specialized vacuum car through colorful desert landscapes, collecting sand and uncovering ancient dinosaur fossils in this relaxing yet engaging collection game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Sand King**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a stylized, cartoon-shaded 3D aesthetic with high color saturation. The palette should feature bright orange sand (`#FF8C00`), reddish-purple rocky canyon walls (`#5D2E46`), and a vibrant yellow player vehicle (`#FFD700`). * **Player Character:** A stylized off-road jeep with oversized tires and a front-mounted "vacuum/plow" attachment. The vacuum should have purple hoses connecting to the engine. * **Terrain & Digging Mechanic:** * Implement a **multi-layered terrain system**. The top layer is a grid of "Sand Block" instances (or a destructible mesh). * When the player drives over the sand, the sand blocks are removed (vacuumed), revealing the "Bedrock" layer underneath. * Hidden within the sand/bedrock are **Dinosaur Fossil models** (white bones: skulls, ribs) that become visible only after the covering sand is removed. * **Mobile Optimization:** Use `InstancedMesh` for the sand blocks to ensure 60 FPS performance on mobile devices. Use baked lighting or simple directional light with soft shadows to minimize GPU load. ### 2. Audio Requirements * **BGM:** A relaxing, lo-fi acoustic guitar track with a steady, plodding rhythm suitable for desert exploration (looping). * **Sound Effects (SFX):** * **Engine:** A low, rumbly idle sound that increases in pitch slightly when moving. * **Vacuum:** A continuous "whoosh" or suction white noise that plays only when the car is moving and "eating" sand. * **Discovery:** A distinct, rewarding "chime" or "shiny" sound when a fossil is fully uncovered. * **UI:** Soft "pop" sounds for button clicks. ### 3. Gameplay Loop * **Core Mechanic:** The player drives the jeep to "clean" the level of orange sand. * **Collection Logic:** As the car moves, check for collision with Sand Blocks. If colliding, remove the block, increment the "Sand Collected" counter, and play a particle effect (sand dust). * **Objective:** The level is complete when the player has uncovered all hidden Dinosaur Fossils (e.g., 3 fossils per level). * **Progression:** Display a progress bar showing "Fossils Found: X/3". Once completed, a "Level Clear" UI appears with a "Next Level" button. ### 4. Mobile Controls & Interaction * **Control Scheme:** Implement a **Floating Virtual Joystick**. * The player can touch and drag anywhere on the screen. * The joystick center anchors to the initial touch position. * Dragging acts as the throttle and steering (360-degree movement). * **Camera:** Use an isometric or high-angle top-down Follow Camera (`lookAt` player) that smooth-damps the movement to prevent motion sickness. * **Screen Orientation:** Lock to **Landscape Mode** for a wider view of the digging area. * **Haptic Feedback:** Trigger a light vibration (using `navigator.vibrate`) whenever the player uncovers a fossil piece to provide tactile reward. * **UI Layout:** Place the "Fossils Found" counter in the top-left corner and a "Settings/Pause" button in the top-right corner. Ensure all buttons have a hit area of at least 44x44px. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Sand King

Sand King is a unique combination of driving simulation and paleontology adventure that takes you on an extraordinary desert expedition. In this captivating collection game, you become both a skilled driver and expert paleontologist, exploring vast desert landscapes to uncover ancient dinosaur remains hidden beneath colorful sand dunes.

Core Features

Unique Vacuum Collection System

Your specialized desert vehicle comes equipped with a powerful vacuum system designed to collect colored sand efficiently. As you drive across the desert terrain, use this innovative tool to clear away sand layers and reveal hidden dinosaur bones beneath the surface.

Progressive Discovery Gameplay

Start with simple fossil discoveries and progress to more complex paleontological challenges. Each level introduces new types of dinosaur remains to uncover, keeping the gameplay fresh and engaging as you build your prehistoric collection.

Immersive Desert Environment

Explore beautifully crafted desert landscapes featuring vibrant red and orange sand dunes, rocky formations, and atmospheric lighting. The game's visual design creates a captivating prehistoric world that enhances your fossil hunting experience.

Relaxing Yet Engaging Experience

While Sand King offers exciting discovery moments, it maintains a relaxing gameplay pace perfect for casual gaming sessions. The soothing desert atmosphere combined with captivating background music creates an ideal environment for stress-free entertainment.

Game Mechanics

Driving and Exploration

Navigate your robust desert vehicle across varied terrain using intuitive controls. Your car is specially designed for desert conditions, allowing you to traverse sand dunes and rocky areas with ease while searching for fossil sites.

Sand Collection Strategy

Different colored sands may indicate various types of fossil deposits. Learn to identify promising areas and efficiently use your vacuum system to clear sand and expose valuable dinosaur remains.

Collection and Progression

Build your dinosaur fossil collection as you progress through levels. Each successful discovery adds to your paleontological achievements and unlocks access to new desert areas with different challenges.

Controls Guide

Desktop Controls: - WASD Keys or Arrow Keys : Drive your vehicle in all directions - Left Mouse Button (Drag) : Alternative steering control - Mouse : Navigate menus and interact with game elements

Mobile Controls: - Touch and Drag : Steer your vehicle across the desert - Tap : Interact with game interface elements

The game features responsive controls that work seamlessly on both desktop and mobile devices, ensuring smooth gameplay regardless of your preferred platform.

Why Play Sand King

Sand King offers a unique gaming experience that combines the thrill of exploration with the satisfaction of scientific discovery. Unlike typical racing games, this title focuses on methodical exploration and collection, making it perfect for players who enjoy:

  • Educational Entertainment : Learn about paleontology while having fun
  • Stress-Free Gaming : Relaxing gameplay without time pressure
  • Progressive Challenges : Gradually increasing difficulty keeps you engaged
  • Cross-Platform Accessibility : Play anywhere on any device
  • No Download Required : Instant access through your web browser

Whether you're a dinosaur enthusiast, casual gamer, or someone looking for a unique desert adventure, Sand King delivers an engaging experience that's both entertaining and educational.

Frequently Asked Questions (FAQ)