πŸ•ΉοΈ Survival Game (Web Demo)

Explore. Harvest. Craft. Fly. Survive.
A modular 3D survival game built in Babylon.js — fully playable in your browser and installable as a Progressive Web App (PWA).

🌟 Features

  • πŸ—ΊοΈ Infinite procedural terrain using Perlin noise

  • 🌲 Resource harvesting (trees, rocks)

  • πŸ› οΈ Crafting system with inventory

  • 🐺 Enemy AI + combat system

  • πŸ’₯ XP and leveling

  • ✈️ Flying mechanic via double-jump

  • πŸŒ™ Day/night cycle

  • πŸ“± PWA support: install & play offline

πŸ’Ύ Use This as a Starter for Your Own Game!

This project is open-source and modular — perfect for devs looking to build their own 3D game in JavaScript.
The code is structured into clean ES6 components (terrain, player, animals, UI, etc.) and includes PWA install support out of the box.

πŸ”— Fork it here: https://github.com/CptNope/survival-game
πŸ“– Dev Blog: Vibe-Coding with Windsurf + Babylon.js

πŸ”§ Controls

  • WASD: Move

  • Mouse: Look

  • Space: Jump / Double Jump to Fly

  • Ctrl (Flying): Descend

  • Click: Attack / Harvest

  • Right Click: Special attack (with tools)

🧠 Built With

  • Babylon.js (WebGL 3D engine)

  • Windsurf (modular ES6 dev tool)

  • JavaScript + HTML + Web APIs

  • Hosted on GitHub Pages

Leave a comment

Log in with itch.io to leave a comment.