Survival Game (Web Demo)
πΉοΈ 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
Published | 4 days ago |
Status | In development |
Platforms | HTML5 |
Author | CptNope |
Genre | Survival, Adventure |
Tags | 3D, DRM Free, Open Source, Procedural Generation, Royalty Free |
Leave a comment
Log in with itch.io to leave a comment.