99 Nights Online - Survival Horror Game

Seele01-Flash
By
99 Nights Online is an intense multiplayer survival horror game where you and other players must endure 99 terrifying nights in a mysterious haunted forest, gathering resources, crafting tools, and building shelters while defending against unseen creatures.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "99 Nights Online: Forest Survival". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Use a **stylized Low-Poly aesthetic** similar to Roblox or Fortnite (as seen in the reference). Characters should be blocky but with smooth edges. * **Color Palette**: * **Daytime**: Muted earthy tones (greens, browns) but slightly desaturated to maintain an eerie vibe. * **Nighttime**: Dominant use of deep purples, dark blues, and neon greens (for ghostly enemies). High contrast lighting is essential. * **Environment**: * A dense, procedurally generated forest floor. * **Central Hub**: A campfire that acts as the "safe zone" and main light source at night. * **Atmosphere**: Implement `THREE.FogExp2` to obscure the distance (mobile performance optimization) and create tension. The fog color should shift from grey (day) to dark purple (night). * **Entities**: * **Player**: A simple humanoid mesh with a white hoodie and an axe attachment. * **Enemies**: Floating "Ghost" meshes (purple, translucent) with glowing yellow eyes. * **Resources**: Breakable trees (yield wood) and stones. ### 2. Audio Requirements * **BGM (Background Music)**: * **Day**: Minimalist ambient wind, rustling leaves, distant crows. * **Night**: A low-frequency drone/synth pad that increases in pitch as enemies approach. * **SFX (Sound Effects)**: * **Environmental**: Crackling fire (3D positional audio), footsteps on grass. * **Combat**: A heavy "whoosh" for axe swings, a squishy impact sound for hitting ghosts. * **UI**: A retro "click" for inventory selection and a distinct "thud" when placing built objects. ### 3. Gameplay Loop * **The Day/Night Cycle (Core Mechanic)**: * **Day Phase (Safe)**: The player uses the joystick to explore, chop trees (using the Axe), and collect wood. The player can build simple walls or barricades near the fire. * **Night Phase (Survival)**: The sky turns dark. Ghosts spawn from the fog and move toward the player/campfire. * **Combat**: The player must swing the axe to destroy ghosts. If a ghost touches the player, HP decreases. * **Objective**: Survive as many "Nights" as possible. Each night, the number of ghosts increases. * **Win/Loss**: * **Loss**: Player Health drops to 0. * **Win**: Technically surviving 99 nights (for this prototype, simply display a "Night X Survived" counter). ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape** mode only. * **Virtual Joystick (Left Thumb)**: Implement a dynamic nipple-style joystick on the bottom-left for character movement (replaces WASD). * **Camera Control (Right Thumb)**: Dragging anywhere on the right half of the screen rotates the camera (OrbitControls or PointerLock adapted for touch). * **Action Buttons (Right Bottom)**: * **Main Button (Large, Icon: Axe)**: Attacks (swings weapon) or Gathers resources depending on proximity to trees/enemies. * **Secondary Button (Medium, Icon: Hand)**: Context-sensitive interaction (Pick up item / Open door). Replaces PC keys E/F. * **Jump Button (Small, Icon: Up Arrow)**: Simple vertical impulse. * **UI & Inventory**: * **Hotbar**: A row of 3-4 slots at the bottom center (touch to select active item). * **Feedback**: Screen shakes slightly (camera trauma) when taking damage. Vibrate device (Haptic Feedback) upon swinging the axe. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

99 Nights Online is a spine-chilling multiplayer survival horror experience that challenges you to survive 99 terrifying nights in a mysterious, enchanted forest. This cooperative survival game combines resource gathering, crafting mechanics, and intense horror elements as you work together with other players to stay alive against supernatural threats lurking in the darkness.

The game features a unique premise where strange sounds echo through the trees and invisible creatures stalk you from the shadows. Your mission is to collaborate with fellow survivors, defend against the horrors that lurk beyond the firelight, and uncover the truth about missing children while trying to make it through each deadly night.

Core Features

Multiplayer Survival Experience

99 Nights Online shines as a cooperative multiplayer game where teamwork is essential for survival. Join forces with other players online to increase your chances of making it through the 99 nights. Communication and coordination are key as you face increasingly dangerous threats together.

Resource Gathering and Crafting System

The game features an extensive crafting and building system that allows you to: - Gather essential resources from the haunted forest environment - Craft tools, weapons, and survival equipment - Build protective shelters and defensive structures - Create items needed to survive the supernatural threats

Atmospheric Horror Elements

Experience genuine fear as you navigate through: - A mysterious haunted forest filled with supernatural dangers - Invisible creatures that hunt you in the darkness - Eerie sound effects and atmospheric audio design - Progressive difficulty as nights advance

Roguelike Elements

Each playthrough offers unique challenges with roguelike features that keep the gameplay fresh and unpredictable. No two survival attempts are exactly the same, adding significant replay value.

Gameplay Mechanics

Night and Day Cycle

The game operates on a day-night survival cycle where each dawn represents a hard-earned victory. During daylight hours, gather resources and prepare defenses. When darkness falls, the real challenge begins as supernatural threats emerge.

Inventory and Item Management

Manage your survival inventory effectively with a comprehensive item system. Collect, craft, and use various tools and resources strategically to maximize your survival chances.

Social Features

Connect with other survivors through: - Quick chat system for fast communication - Emoji expressions for non-verbal communication - Dancing and social interactions to boost morale - Team coordination tools

Controls and Gameplay

The game features intuitive controls designed for smooth survival gameplay:

Movement : Use WASD keys or arrow keys to navigate the forest environment Combat : Left-click to attack threatening creatures Camera : Move mouse to look around and stay aware of your surroundings Interaction : Press E to pick up items, interact with objects, or consume resources Inventory : Use number keys (1-5) to quickly select inventory items Social : Use C for quick chat, B for emojis, and V for dancing

Why Play 99 Nights Online

Perfect for Group Gaming

This game is ideal for friends who enjoy cooperative horror experiences . The multiplayer aspect makes it perfect for gaming sessions with friends, combining teamwork with genuine scares.

Unique Horror-Survival Blend

Unlike typical survival games, 99 Nights Online combines resource management with supernatural horror elements, creating a unique gaming experience that keeps you on edge throughout your survival journey.

Free-to-Play Accessibility

Enjoy this complete survival horror experience without any upfront costs. The game offers substantial content and replayability as a free-to-play title.

Cross-Platform Compatibility

Play on multiple platforms including mobile devices, making it easy to survive with friends regardless of their gaming setup.

Progressive Challenge System

The 99-night structure provides long-term goals and increasing difficulty, ensuring that the game remains challenging and engaging throughout your survival journey.

Frequently Asked Questions (FAQ)