Aground - Pixel Survival Adventure Game

Seele01-Flash
By
Aground is an engaging 2D pixel survival adventure where you're stranded in wilderness and must gather resources, build shelters, and form alliances to survive against wild animals and approaching storms.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Aground: Pixel Survival". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Side-Scroller using an **Orthographic Camera**. The game should use `THREE.PlaneGeometry` with pixel-art textures (nearest-neighbor filtering) to emulate the retro aesthetic seen in the screenshot. * **World Generation**: * **Foreground**: A tile-based grid system for the ground (Dirt/Grass blocks). * **Resources**: Sprites for Trees (harvestable for wood), Rocks (mineable for stone), and Berry Bushes (foragable for food). * **Background**: A multi-layered parallax background (distant forest/mountains) to add depth to the side-scrolling movement. * **Player Character**: A simple pixel-art sprite (plane) that flips direction based on movement (left/right). * **Mobile Optimization**: Use a Texture Atlas for all sprites to reduce draw calls. Limit the visible chunk rendering to the mobile screen width to maintain high FPS. ### 2. Audio Requirements * **BGM**: A lo-fi, atmospheric chiptune track. It should feel lonely but adventurous, looping seamlessly. * **Sound Effects (SFX)**: * **Movement**: Soft 8-bit footstep sounds when moving on grass. * **Action**: A "Crunch" sound for mining rocks, a "Chop" sound for cutting trees. * **UI**: A high-pitched "Blip" when collecting an item or selecting a menu option. * **Feedback**: A low-frequency "Buzz" or distinct sound when stamina is fully depleted. ### 3. Gameplay Loop * **Core Mechanics**: 1. **Exploration**: The player moves left/right across the terrain. 2. **Gathering**: Approaching a resource (Tree/Rock) and holding the action button depletes the resource HP and drops items (Wood/Stone). 3. **Survival Stats**: Implement a **Stamina Bar** and a **Health Bar**. Every action (mining/attacking) reduces Stamina. If Stamina hits 0, the player cannot act until it regenerates (stand still to regen). 4. **Building**: A simple crafting check. If the player has 10 Wood and 5 Stone, allow them to place a "Shelter" sprite which acts as a save point/healing spot. * **Combat (Simplified)**: Spawn a simple AI "Boar" that walks back and forth. If it touches the player, Player Health decreases. Player can "Attack" to destroy the Boar. ### 4. Mobile Controls & Interaction * **Orientation**: Landscape Mode (force orientation if possible via CSS/meta tags). * **Touch Controls**: * **Left Thumb**: An invisible or semi-transparent **Virtual Joystick** (D-Pad) for horizontal movement (Left/Right). * **Right Thumb**: A large **Context-Sensitive Action Button** (min-size 64px). * Icon changes based on proximity: Shows a "Pickaxe" near rocks, "Axe" near trees, "Sword" near enemies. * **UI Layout**: * Top-Left: Health (Red) and Stamina (Yellow) bars. * Top-Right: Inventory counter (Wood: X, Stone: Y). * **Haptic Feedback**: Trigger `navigator.vibrate(50)` when a resource is successfully destroyed or the player takes damage. * **Visual Feedback**: Floating text numbers (e.g., "+1 Wood") rising from the player position upon successful gathering. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Aground is a compelling survival adventure game that combines classic 2D pixel art with deep gameplay mechanics. Stranded in an uninhabited wilderness, you must use your wits and resourcefulness to survive against the elements, wild creatures, and an approaching heavy storm. This challenging survival experience offers hours of engaging gameplay as you build, craft, mine, and explore your way to creating a thriving community.

Core Features

Comprehensive Resource Management System

Aground features a robust resource collection and management system. Gather essential materials like wood and stone from the environment, mine valuable ores underground, and forage for berries and food to sustain yourself. Every resource serves a purpose in your survival strategy.

Advanced Building and Crafting

Construct shelters to protect yourself from storms and wild animals. The game offers extensive crafting options, allowing you to create weapons for defense, tools for resource gathering, and structures for protection. Your building skills directly impact your survival chances.

Dynamic Survival Mechanics

Manage your stamina bar carefully - when it depletes, you become unable to perform actions. This adds strategic depth as you must balance work, rest, and resource consumption. The approaching storm creates urgency, making every decision crucial.

Community Building Elements

Meet other survivors throughout your journey and form valuable alliances. These relationships can help you prosper and overcome challenges that would be impossible to face alone. Building a thriving community becomes your ultimate goal.

Retro Pixel Art Style

Experience beautifully crafted 2D pixel graphics that bring the wilderness to life. The retro aesthetic combines nostalgic charm with modern game design, creating an immersive survival world.

Gameplay Mechanics

Exploration and Mining

Venture underground to discover valuable resources and hidden treasures. Mining plays a crucial role in obtaining materials needed for advanced crafting and construction projects.

Combat System

Defend yourself against wild animals that roam the land. Craft weapons and develop combat strategies to protect yourself and your growing settlement from various threats.

Quest System

Complete objectives and challenges that guide your survival journey. These quests help structure your experience while providing goals and rewards.

Controls Guide

The game features intuitive controls designed for easy gameplay:

  • WASD or Arrow Keys : Move your character around the world
  • Z Key : Perform actions like gathering resources or interacting with objects
  • X Key : Cancel current action or close menus
  • I Key : Use items from your inventory
  • Q Key : Open the quest menu to track your objectives
  • 1 and 2 Keys : Quick-use hotkeys for frequently used items

Why Play Aground

Aground stands out in the survival game genre by offering:

  • Complete Free Access : Play the entire game without downloads or payments
  • Browser Compatibility : Works on all modern web browsers across different devices
  • Balanced Challenge : Difficult enough to be engaging, accessible enough for new players
  • Multiple Gameplay Layers : Combines survival, building, crafting, mining, and social elements
  • Retro Appeal : Perfect for fans of classic pixel art games
  • Community Aspect : Build relationships with other survivors for a richer experience

Whether you're a survival game veteran or new to the genre, Aground provides a compelling experience that will test your resource management skills and strategic thinking.

Frequently Asked Questions (FAQ)