Skip to content

Latest commit

ย 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒฟ Aura Survive

Explore ยท Endure ยท Survive

Aura Survive is an evolving third-person 3D survival game prototype built for the browser. Explore a procedural wilderness filled with rolling meadows, autumn woods, snowy regions, lakes, caves, animated vegetation, and a responsive character controller.

The project focuses on building a living, atmospheric world with smooth exploration before expanding into deeper survival mechanics.

โœจ Current features

  • ๐ŸŒ Large procedural terrain rendered with a clipmap-based approach
  • ๐ŸŒฟ Meadow, autumn, and snow biomes with gradual transitions
  • ๐ŸŒฒ Dynamically streamed trees, bushes, rocks, flowers, and vegetation
  • ๐Ÿƒ GPU-rendered grass with wind and player deformation
  • ๐Ÿ‘ฃ Directional footprints and fading ground trails
  • ๐ŸŒŠ Terrain-shaped lakes with animated water and underwater ground detail
  • ๐ŸŠ Swimming detection, movement, animation fallback, and water splashes
  • ๐Ÿ•ณ๏ธ Solid cave structures with walkable entrances and collision
  • ๐Ÿง Rigged and animated player with idle, walking, running, and swimming states
  • ๐ŸŽฅ Third-person camera with pointer-lock mouse control and terrain clearance
  • โ˜€๏ธ Stylized sun, sky, lighting, fog, and dynamic shadows
  • ๐Ÿ”Š Biome-aware footsteps, wind, water, cave ambience, and UI sounds
  • ๐ŸŽฎ Loading screen, main menu, and pause menu
  • ๐Ÿ› ๏ธ Optional lil-gui camera and player tuning controls

๐ŸŽฎ Controls

Input Action
W A S D Move
Arrow keys Alternative movement
Mouse Look around
Shift Sprint
Esc Pause or resume
Any key Enter the world from the main menu

The mouse cursor is captured automatically during gameplay. Press Esc to release it and open the pause menu.

๐Ÿงฐ Tech stack

React provides the application shell and menus, while Babylon.js owns the scene, rendering, input, camera, animation, terrain, environment, audio, and game loop.

๐Ÿš€ Getting started

Requirements

  • Node.js 22.23.1 or newer
  • npm 12.0.2 or newer
  • Git LFS for the GLB model files

Installation

git clone https://github.com/neprostostas/aura-survive.git
cd aura-survive
git lfs pull
npm install
npm run dev

Open the local URL printed by Vite, normally http://localhost:5173.

Audio begins after the first keyboard interaction because browsers block sound autoplay before a user gesture.

โœ… Available scripts

npm run dev        # Start the Vite development server
npm run typecheck  # Run strict TypeScript checks
npm run build      # Type-check and create a production build

๐Ÿ“ Project structure

src/
โ”œโ”€โ”€ components/          React menus, loading screen, and canvas shell
โ”œโ”€โ”€ game/
โ”‚   โ”œโ”€โ”€ environment/     Biomes, streamed nature assets, sun, and sky
โ”‚   โ”œโ”€โ”€ terrain/         Heightfield, clipmaps, grass, trails, and shaders
โ”‚   โ”œโ”€โ”€ AudioManager.ts
โ”‚   โ”œโ”€โ”€ CameraDebugControls.ts
โ”‚   โ”œโ”€โ”€ InputController.ts
โ”‚   โ”œโ”€โ”€ PlayerController.ts
โ”‚   โ”œโ”€โ”€ config.ts
โ”‚   โ””โ”€โ”€ createScene.ts
โ””โ”€โ”€ styles/              Global interface styles

public/assets/
โ”œโ”€โ”€ 400 Sounds Pack/     Environment, movement, and interface audio
โ””โ”€โ”€ models/              Character and nature GLB assets

โš™๏ธ Configuration

Gameplay and rendering values are centralized in src/game/config.ts, including:

  • terrain resolution and scale;
  • vegetation density and streaming distance;
  • movement, sprinting, and swimming speed;
  • camera behavior and sensitivity;
  • trail, shadow, grass, and sun settings;
  • debug mode and lil-gui visibility.

To display the tuning panel, set debugGuiEnabled to true. Set testModeEnabled to true to use click-and-drag camera control while adjusting values.

๐Ÿ—บ๏ธ Roadmap

Aura Survive is still an early prototype. Future development may expand the world with survival systems such as enemies, resources, crafting, inventory, and richer environmental interactions. These systems are intentionally outside the current exploration-focused foundation.

๐Ÿ™ Credits and assets

The project uses licensed third-party character, nature, and sound packs. Their original licenses remain applicable; possession of this source repository does not grant permission to redistribute those assets independently.


Made with TypeScript, Babylon.js, and a love for atmospheric game worlds. ๐ŸŒฒโœจ

About

๐ŸŒฟ Aura Survive is a browser-based 3D survival game built with React, TypeScript, Vite & Babylon.js. Explore a procedural open world with dynamic biomes ๐Ÿ‚โ„๏ธ, forests ๐ŸŒฒ, lakes ๐ŸŒŠ, caves ๐Ÿชจ, animated movement and responsive third-person controls.

Topics

Resources

Stars

13 stars

Watchers

0 watching

Forks

Contributors

Languages