make open world minecraft + no man sky game in 3d fun
- User
make open world minecraft + no man sky game in 3d fun
Assistant
I'll build a 3D voxel open-world game blending Minecraft-style building/mining with No Man's Sky-style procedural planets, scanning, and interstellar warping. Let me start by exploring the project.
Now let me install Three.js for the 3D engine.
Three.js installed. Now I'll create the procedural noise engine (Perlin + fBm + seeded RNG).
Now the planet/galaxy generator — procedural worlds with unique palettes, gravity, flora, and hazards.
Now the voxel world: chunk generation, terrain, flora, ambient-occlusion meshing, and raycasting.
Now the core engine — rendering, physics, chunk streaming, creatures, mining, and warping.
Now the sci-fi HUD, galaxy map, discovery log, and menus.
Now the main App that wires the engine to the UI.
Let me check the TypeScript config for strictness settings before building.
Build passes. Now let me fix several important runtime issues I spotted: lazy chunk generation (to avoid a startup freeze), water surface gaps, spawn safety, and step-up movement.
Now the engine fixes: lazy chunk streaming, safe spawn, cleaner step-up, and pointer-lock safety.
Let me apply gameplay tuning: movement speeds, night lighting direction, and gravity display.
Let me review the engine's planet-loading and main loop sections for correctness.
Let me add a landed starship at the spawn point — a strong "No Man's Sky" landmark.
Voxel Odyssey is built — a 3D open-world sandbox that fuses Minecraft's mine-and-build loop with No Man's Sky's procedural galaxy.
What's in it
Engine (
src/game/)noise.ts— seeded Perlin/fBm/ridged noise + hash RNGplanets.ts— procedural galaxy: 14 star systems, 1–3 planets each, with generated names, 8 biome types (lush, desert, frozen, toxic, volcanic, barren, exotic, ocean), unique HSL colour palettes, gravity, hazards, weather, sentinels, flora/fauna species and resourcesworld.ts— 16×16×64 chunk voxel world with terrain fBm + ridges, caves, ore/crystal veins, seamless cross-chunk flora (trees, cacti, mushrooms, crystal spires, coral), per-vertex ambient-occlusion meshing, and DDA voxel raycastingengine.ts— Three.js renderer, custom sky shader (sun disc, glow, night fade), stars, twin moons, drifting clouds, day/night cycle, AABB voxel physics with auto step-up, swimming, jetpack, mining/building, particles, animated multi-tool, wandering alien creatures, landed starship, WebAudio SFX, and time-budgeted chunk streaming
UI (
src/ui/Hud.tsx,src/App.tsx)- Sci-fi HUD: planet analysis panel, unit counter, coordinates, crosshair with mining progress + target label, life-support & jetpack bars, block hotbar tinted by the planet's palette, toast notifications
- Interactive galaxy map (star chart with links, planet dossiers, "Initiate Warp")
- Discovery log, pause menu, and a start screen with the full control scheme
How to play
WASD + mouse to move/look, Space to jump then hold for jetpack, Shift to sprint, LMB to mine, RMB to build, 1–9/wheel to pick blocks, E to scan lifeforms/minerals for units, R to recharge life support with 5 materials, M for the galaxy map to warp to a brand-new world, J for your discovery log.
Files built:
src/game/noise.ts,src/game/blocks.ts,src/game/planets.ts,src/game/world.ts,src/game/engine.ts,src/ui/Hud.tsx,src/App.tsx,index.html