Zombie Raft - Survival Adventure

Seele01-Flash
By
Zombie Raft is an addictive survival game where you build and expand your floating base while fighting off zombie hordes. Scavenge resources, rescue survivors, and upgrade your raft to survive the apocalypse.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Zombie Raft**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Hyper-casual 3D aesthetic using Low-poly geometries. * **Characters**: Use "Stickman" or "Blob" style models composed of simple cylinders and spheres. The Player should be Bright Blue; Zombies should be Bright Green; Survivors should be Yellow. * **The Raft**: A grid-based floating vehicle made of wooden textures (Brown/Orange). It should look DIY, with visible planks. It moves over a "Wasteland" terrain (not water), which should be a reddish-brown desert floor. * **Environment**: An infinite scrolling terrain (wasteland) populated with scattered resources (Wood Piles, Metal Scraps) and obstacles (Dead Trees, Rocks). * **Mobile Optimization**: * Use `InstancedMesh` for scattered ground resources and zombies to maintain high FPS on mobile devices. * Limit dynamic lights; use a single DirectionalLight with soft shadows and an AmbientLight. * Implement a fog effect (same color as the background sky) to obscure the rendering edge and improve performance. ### 2. Audio Requirements * **BGM**: A loopable, rhythmic, and driving "Apocalyptic Casual" track—upbeat but with a slight tension. * **SFX**: * **Collection**: A satisfying "pop" or "wood clatter" sound when the raft runs over resources. * **Combat**: A cartoonish "Thwack" or "Bonk" sound when the player hits a zombie with the bat. * **Building**: A construction "ratchet" sound when expanding the raft. * **Zombies**: Low, cartoonish groans (not overly scary). ### 3. Gameplay Loop * **Core Mechanic**: The player pilots a moving raft through a wasteland. The raft moves constantly forward (or is steered by the player). * **Collection & Expansion**: * Steer the raft to run over piles of Wood and Metal. * Resources automatically fly to a "Storage" counter on the UI. * The player can spend resources to add new "Tiles" to the raft, making it larger and allowing more space for survivors. * **Combat & Survival**: * Zombies will spawn and jump onto the raft from the sides. * The Player Character (on the raft) automatically moves towards the nearest zombie and swings a large Bat to knock them off. * **Rescue**: Run over "Stranded Survivors" to add them to your crew. They help attack zombies. * **Game Over**: If zombies overwhelm the raft (destroying the central engine tile or depleting player health), the game ends. ### 4. Mobile Controls & Interaction * **Control Scheme**: **Virtual Joystick**. * Place a transparent joystick overlay at the bottom center of the screen. * Dragging acts as the steering mechanism for the Raft. * **Screen Orientation**: **Portrait Mode** (Vertical) is preferred for one-handed casual play. * **Camera**: Top-down Isometric view (approx 45-degree angle), following the raft smoothly with a slight damping effect. * **Feedback**: * **Haptic**: Trigger a short vibration (using `navigator.vibrate`) when hitting a zombie or collecting a large resource pile. * **Visual**: Display floating text ("+1 Wood") rising from collected items. * **UI Layout**: * Top: Resource Counters (Wood icon, Metal icon). * Bottom: Virtual Joystick area. * Buttons (e.g., "Upgrade") should be at least 44x44px for touch accessibility. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Zombie Raft is an engaging 2D survival game that combines base building, resource management, and zombie combat in one thrilling package. Navigate a post-apocalyptic wasteland on your expandable raft, collecting vital resources while defending against relentless zombie attacks. The game offers endless gameplay where strategy and quick reflexes are key to survival.

Core Features

Endless Survival Adventure

Experience unlimited gameplay in a zombie-infested world where each expedition brings new challenges. The game features procedurally generated encounters, ensuring no two survival runs are exactly the same.

Dynamic Raft Building System

Start with a basic raft and transform it into a formidable floating fortress. Collect wood, metal, and other materials to construct new sections, each serving specific survival purposes. Add defensive structures, resource storage, and survivor quarters to create the ultimate apocalypse shelter.

Resource Scavenging Mechanics

Explore abandoned areas to gather essential materials including: - Construction materials for raft expansion - Weapons and tools for zombie combat - Food and medical supplies for survivor care - Upgrade components for base improvements

Survivor Rescue System

Discover stranded survivors throughout the wasteland and bring them aboard your raft. Each rescued survivor contributes to your base's functionality and provides additional manpower for resource collection and defense.

Gameplay Mechanics

Combat and Defense

Fight off zombie hordes using melee weapons like baseball bats. Zombies will board your raft during expeditions, requiring quick action to protect yourself and your survivors. Strategic positioning and timing are crucial for successful defense.

Base Upgrades and Customization

Return to your main base to purchase powerful upgrades including: - Jet engines for faster movement - Defensive spikes to deter zombie boarders - Advanced tools for improved resource gathering - Structural reinforcements for raft durability

Air Support System

Call in helicopter evacuation when you've cleared an area, allowing safe return to your base with collected resources. This strategic element adds tactical depth to your scavenging expeditions.

Operation Guide

Basic Controls

  • WASD keys or Arrow keys : Navigate your raft through the wasteland
  • Mouse drag : Alternative movement control for precise positioning
  • Left click : Interact with objects, attack zombies, and collect resources
  • Right click : Access context menus and upgrade options

Survival Strategy Tips

  1. Prioritize resource collection during early expeditions to build essential raft components
  2. Rescue survivors quickly as they provide valuable assistance in base management
  3. Upgrade defensively first with spikes and barriers before focusing on speed enhancements
  4. Plan evacuation routes and always know where your air support landing zone is located

Platform Compatibility

Zombie Raft is fully optimized for multiple platforms: - Web browsers : Play directly online without downloads on desktop computers - Mobile devices : Enjoy touch-optimized controls on smartphones and tablets - Cross-platform progress : Your survival progress syncs across all supported devices

Why Play Zombie Raft

This game perfectly balances casual accessibility with deep strategic gameplay. Whether you have five minutes or several hours, Zombie Raft adapts to your schedule with its pick-up-and-play design. The combination of base building, resource management, and zombie action creates an addictive loop that keeps players engaged for hours.

The endless nature of the game means there's always a new challenge waiting, while the upgrade system provides long-term progression goals. Perfect for fans of survival games, zombie adventures, and base-building mechanics.

Frequently Asked Questions (FAQ)