Survive In The Forest

Seele01-Flash
By
Survive In The Forest is an immersive 3D survival simulation where you must build shelter and survive in the wilderness using only an axe and natural resources around you.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Survive In The Forest". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** "Indie Realism" with a Low-Poly focus. Use earth tones (browns, dull greens) and a desaturated, slightly foggy atmosphere (greyish-purple sky color code #8a8a9a) to mimic the screenshot's overcast look. * **Terrain:** A procedural heightmap terrain using `THREE.PlaneGeometry` with noise-based displacement to create gentle hills. Apply a tiling grass/dirt texture mix. * **Flora (Instanced Rendering):** * **Coniferous Trees:** Simple cone-stacked models for pine trees. * **Deciduous Trees:** Low-poly trunks with "billboard" style foliage clusters. * **Optimization:** Use `THREE.InstancedMesh` for all trees and rocks to ensure 60FPS on mobile devices. * **Building Assets:** Modular log cabin parts (Wall, Window-Wall, Door-Frame, Roof-Slope, Wooden-Floor). Textures should look like rough-hewn wood planks. * **Lighting:** A main DirectionalLight (Sun/Moon) that rotates to simulate Day/Night cycles. Use gentle Fog (`THREE.FogExp2`) to hide the edge of the world and improve performance. ### 2. Audio Requirements * **BGM:** A solitary, acoustic guitar track mixed with wind ambiance. It should feel calm but slightly isolated. * **Sound Effects (SFX):** * **Chopping:** A satisfying, heavy "Thud/Crack" sound when the axe hits a tree. * **Footsteps:** Distinct sounds for walking on Grass (soft rustle) vs. Wood Floor (hollow thud). * **UI:** A "click" sound for picking up items and a "plank" sound when placing a building part. * **Ambience:** Birds chirping during the Day; Crickets and an owl hooting during the Night. ### 3. Gameplay Loop * **Resource Gathering:** The player spawns with an Axe. Approaching a tree and pressing the "Action" button depletes the tree's health (visualized by shaking or particles). When destroyed, the tree drops "Wood Logs". * **Inventory System:** A simplified slot system. Player picks up logs by walking over them (magnet effect). * **Building Mechanism:** * Toggle "Build Mode" to see a holographic preview of building parts. * Parts should snap to a grid logic relative to the terrain or other parts. * Consumes "Wood Logs" to place walls, floors, and roofs. * **Survival Cycle:** Implement a Day/Night cycle. At night, visibility drops, and the audio shifts. The goal is to build a complete shelter before complete darkness. ### 4. Mobile Controls & Interaction * **Movement (Left Hand):** A dynamic Virtual Joystick located in the bottom-left area for WASD movement. * **Camera (Right Hand):** Swipe anywhere on the right half of the screen to rotate the camera (Pitch and Yaw). * **Action Buttons (Right Hand):** * **Main Action Button (Big):** Context-sensitive. Shows an Axe icon when near a tree, and a Hammer icon when in Build Mode. Needs a visual "press" animation. * **Jump Button (Small):** Located near the Action button. * **Build Toggle:** A specific icon to switch between Combat/Harvest mode and Construction mode. * **UI Layout:** All interactable UI elements must have a minimum touch target of 44x44px. Keep the HUD minimal (Health bar, Wood count) at the top of the screen. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` when the axe hits a tree or a building part is placed, providing tactile weight to the actions. * **Orientation:** Force Landscape mode for the best field of view. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Survive In The Forest is a challenging 3D survival simulation that tests your wilderness skills and resourcefulness. Armed with nothing but an axe, you must gather resources, build shelter, and survive both day and night in a dense forest environment. This engaging survival game combines realistic building mechanics with immersive 3D graphics to create an authentic wilderness survival experience.

Core Features

Realistic Survival Mechanics

  • Resource Management : Start with only an axe and gather wood, stones, and other materials from the forest
  • Day/Night Cycle : Experience two distinct gameplay phases with different challenges and opportunities
  • Shelter Building : Construct wooden cabins and structures using collected resources
  • Immersive 3D Environment : Explore a detailed forest world with realistic trees, terrain, and weather effects

Complete Building System

The game features a comprehensive building system that allows you to: - Cut down various types of trees for lumber - Collect natural resources scattered throughout the forest - Design and construct custom shelters from the ground up - Create multi-room log cabins with windows, doors, and foundations - Build functional structures that provide protection from the elements

Dynamic Forest Environment

Experience a living, breathing forest ecosystem where: - Trees sway in the wind and cast realistic shadows - Day and night cycles affect visibility and gameplay strategy - Natural sounds create an immersive wilderness atmosphere - Weather patterns influence your survival decisions

Gameplay Mechanics

Survival Strategy

Success in the forest requires careful planning and resource management. You'll need to: - Prioritize Shelter : Build basic protection before nightfall - Gather Efficiently : Collect wood and materials during daylight hours - Plan Construction : Design shelters that provide maximum protection - Adapt to Conditions : Adjust strategies based on day/night cycles

Building Process

Construction follows realistic building principles: 1. Foundation : Start with a solid base for your structure 2. Walls : Use logs to create sturdy walls with proper support 3. Roof : Add weather protection with wooden roofing 4. Details : Install windows, doors, and interior elements

Controls and Interface

Movement Controls

  • WASD or Arrow Keys : Navigate through the forest terrain
  • Space Bar : Jump over obstacles and terrain features
  • Shift : Run to move quickly between resource locations

Interaction System

  • E Key : Pick up items, resources, and building materials
  • R Key : Drop items when inventory management is needed
  • Left Mouse Button : Primary action for cutting trees and building structures
  • ESC : Access the game menu for settings and options

Why Play Survive In The Forest

This survival game offers a perfect blend of creativity and challenge. Whether you're interested in testing your survival instincts, enjoying peaceful building sessions, or experiencing the satisfaction of creating something from nothing, this game delivers. The realistic 3D graphics and intuitive controls make it accessible to players of all skill levels, while the depth of the building system provides endless possibilities for creative construction.

Key Benefits: - Completely Free : No payments required, play the full game at no cost - Browser-Based : No downloads needed, play instantly in your web browser - Cross-Platform : Works on any device with a modern web browser - Stress Relief : Peaceful building combined with engaging survival elements - Creative Freedom : Design and build shelters exactly as you envision them

Frequently Asked Questions (FAQ)