This is a project I started to learn Unity game engine. The goal was mainly to learn generating meshed, texturing, uv mapping and playing with world generation using Perlin noise.
What I achieved:
- Basic 3D player movement
- World generation (Perlin noise, multithreading)
- Chunk-based mesh generation
Install the Unity Editor version 2020.3.32f1
Clone the repo
git clone https://github.com/AnnaTrejdlova/voxel-game.git
- Movement:
W
A
S
D
- Camera: Mouse
- Jump:
Space
- Fly mode: double press
Space
- Fly up:
Space
- Fly down:
Shift
- Place block:
RMB
- Destroy block:
LMB
- UI - item bar, inventory, hand, F3 debug overlay, vignette, main menu (+ESC menu)
- Settings - render distance, world size (OR infinite generation)
- Buttons - ESC, F1, F2, F3, F11(Alt+Enter), E(TAB), C(zoom)
- Biome grass colors, render distance fog
- Terrain generation - 3 noise maps + biome map