Dino Defense - Dinosaur Survival Base Building Game

Seele01-Flash
By
Dino Defense is an exciting survival strategy game where you build and expand your base while defending against prehistoric dinosaur threats. Recruit workers, gather resources, and fight for humanity's survival in this immersive 3D experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Dino Defense**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Hyper-casual 3D aesthetic. Use low-poly geometry with flat, vibrant shading (no complex textures). The lighting should be bright (directional light + ambient light) to cast soft shadows, simulating a sunny day. * **Player Character**: A 3D "Stickman" made of simple cylinders and spheres, colored bright Cyan/Blue. The character must wear a brown **Cowboy Hat** and carry a stylized, chunky orange sci-fi blaster/harpoon gun (as seen in the reference image). * **Enemies (Dinos)**: Low-poly dinosaurs (Raptors as fast/weak units, T-Rexes as slow/boss units). Use distinct colors (e.g., Red for aggressive, Green for basic) to distinguish types. * **Environment**: A clean, tile-based grassy ground plane. The playable area should be enclosed by rocky cliffs or stylized fences. * **Base Building Elements**: "Unlock Zones" displayed as rectangular outlines on the ground with text (e.g., "Cost: $50"). When built, these become turrets, barricades, or worker tents. * **Optimization**: Use `InstancedMesh` for bullets and enemy hoards to maintain 60FPS on mobile devices. ### 2. Audio Requirements * **BGM**: An upbeat, adventurous loop with a "wild west meets arcade" vibe. Moderate tempo to keep the player engaged without causing fatigue. * **Sound Effects**: * **Shooting**: A "pew-pew" or soft laser sound (not harsh realistic gunshots). * **Impact**: A squish or thud sound when dinos are hit. * **Collection**: A satisfying high-pitched "pop" or "ding" when collecting dropped money/bones. * **Building**: A fast ratchet/hammer sound when spending money to unlock a structure. ### 3. Gameplay Loop * **Core Mechanic (Arcade Idle)**: The player controls the character to shoot incoming waves of dinosaurs. * **Economy**: Dead dinosaurs drop "Bones" or "Cash" items on the ground. The player must physically walk over these items to collect them. * **Expansion**: The player carries the collected currency to "Unlock Zones" on the floor. Standing on a zone drains the player's currency and fills a progress bar. Once full, the structure (Turret, Wall, or Worker Bot) appears. * **Worker Recruitment**: Unlockable AI "Stickman Workers" that automatically wander, collect resources, or shoot at enemies, automating the defense. * **Win/Loss**: The game is wave-based. Loss condition: Enemies destroy the central base/totem or the player's health reaches zero. ### 4. Mobile Controls & Interaction * **Movement**: A dynamic **Virtual Joystick** on the bottom-left of the screen for character movement. * **Combat Control**: Auto-shoot mechanism. The character automatically aims and fires at the nearest enemy within range while standing still or moving (Twin-stick shooter style is acceptable but simple auto-aim is preferred for one-handed play). * **Orientation**: **Landscape Mode** is preferred to view the defensive line. * **UI Elements**: * Large, readable text for "Money" count (top center). * World-space UI for upgrade costs (floating text above build zones). * All UI buttons must have a hit area of at least 44x44 pixels. * **Feedback**: Implement screen shake (camera shake) on explosions or heavy hits. Add simple haptic feedback (vibration) when the player takes damage or completes a building. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Dino Defense is a thrilling survival strategy game that combines base building, resource management, and intense dinosaur combat. In this hostile prehistoric world, you must establish and expand your defensive outpost while fending off waves of dangerous dinosaurs threatening human civilization. With its engaging 3D graphics and incremental progression system, the game offers endless hours of strategic gameplay.

Core Features

Comprehensive Base Building System

Start with a basic shelter and gradually expand into a fortified compound. Construct defensive structures, resource-generating facilities, and worker accommodations. Each building serves a strategic purpose in your survival mission against the dinosaur threat.

Dynamic Worker Recruitment

Recruit and manage a team of workers to automate resource collection and base maintenance. Your workforce becomes increasingly important as dinosaur attacks intensify, allowing you to focus on strategic defense planning while your team handles daily operations.

Progressive Dinosaur Encounters

Face increasingly challenging dinosaur species as you advance through the game. Each dinosaur type requires different defensive strategies, from quick raptors to massive T-Rex encounters. Adapt your base layout and weapon systems to counter evolving threats.

Resource Management Economy

Generate income through various activities including resource extraction, completed missions, and successful defense campaigns. Invest wisely in base upgrades, advanced weaponry, and worker improvements to ensure long-term survival.

3D Action Combat

Engage in real-time combat using machine guns and other weapons. The third-person perspective provides excellent battlefield awareness as you navigate around your base, targeting incoming dinosaur threats while coordinating defensive strategies.

Gameplay Mechanics

Base Construction and Expansion

Begin with essential survival structures and progressively unlock advanced facilities. Strategic placement of defensive towers, resource generators, and worker housing determines your base's efficiency and survival capability against dinosaur sieges.

Incremental Progress System

Experience satisfying progression as your base grows from a simple outpost to a thriving defensive complex. Unlock new technologies, weapons, and building types that enhance your survival chances against increasingly powerful dinosaur attacks.

Strategic Resource Allocation

Balance immediate survival needs with long-term base development. Decide whether to invest in immediate defensive upgrades or expand resource generation capabilities for sustained growth and improved dinosaur resistance.

Operation Guide

Movement and Navigation

  • WASD Keys or Arrow Keys : Move your character around the base and battlefield
  • Mouse Movement + Left-Click Hold : Aim and fire weapons while moving for maximum combat effectiveness
  • Strategic Positioning : Use base structures as cover while engaging dinosaur threats

Combat Strategy

Position yourself strategically during dinosaur attacks. Utilize your machine gun effectively by maintaining distance while keeping mobile. Coordinate with your defensive structures to create overlapping fields of fire against incoming prehistoric threats.

Base Management

Regularly check resource generation, worker assignments, and defensive structure integrity. Prioritize upgrades based on upcoming dinosaur threat levels and available resources for optimal survival outcomes.

Why Play Dino Defense

Dino Defense offers a unique blend of survival strategy and action gameplay that appeals to both casual and dedicated strategy gamers. The combination of base building, resource management, and real-time dinosaur combat creates an engaging experience that's easy to learn but challenging to master.

The game's incremental progression system provides constant motivation to improve and expand your base. Whether you enjoy strategic planning or action-packed dinosaur battles, Dino Defense delivers an entertaining experience that grows more complex and rewarding as you advance.

Perfect for players seeking a survival challenge with prehistoric themes, the game offers endless replayability through its dynamic difficulty scaling and multiple upgrade paths for base development and defensive capabilities.

Frequently Asked Questions (FAQ)