This is a two weeks game project I made in august 2017.
I use Unity game engine and reused plenty of code from previous games.
The project has been open sourced and is available here: https://github.com/ArnaudValensi/warfest-voxel-unity
It implements:
- A fully functional chunk system
- Culling of interior faces
- Greedy mesh algorithm (https://0fps.net/2012/06/30/meshing-in-a-minecraft-game/)
- A qbt loader, which is the file format generated but qbicle: http://www.minddesk.com/
- A inventory previewing 3D objects
- A start menu
- A world creation and selection menu
- A player with animations
- A 3rd person camera with care of walls
- And probably more stuff
I have also implemented infinite terrain generation using some different noises, but it is in another project. I could add it here if someone needs it.
A Youtube video:
Source
https://github.com/ArnaudValensi/warfest-voxel-unity
Controls
- WASD: to move
- Left click: to add a block
- Right click: to remove a block
- I: to open the inventory
If the cursor doesn't lock in the screen, open and close the inventory.
I suggest you to open the scene Scene-01
.