Making a Voxel Engine from SCRATCH (w/ Destruction)
MaxMakesGames MaxMakesGames
2.79K subscribers
31,210 views
0

 Published On May 7, 2023

A Voxel game is a game made of a bunch of small cubes, kinda like Minecraft. Because the games contain millions of little cubes, it's pretty much impossible to make a large voxel game in a game engine like unity or unreal engine 5. That's why I decided to craft my own engine using a lot of tricks to optimise things and allow me to have large voxel worlds without lagging.

In this video, I show you the process of making my voxel engine from scratch using only the OpenGL library in c++. No game engines. You will see that it wasn't easy to do, but it was worth it because the results are amazing and I learned many things. In the end, what I had looked more like Minecraft 2.0 than a voxel game, but that will be fixed later :)

In the next part, I plan to do Procedural Generation to generate a random world based on a seed as you move around so stay tuned.

Huge shoutout to LearnOpenGL for the amazing tutorials, I couldn't have done it without them: https://learnopengl.com/Introduction

---------------------------------

Subscribe for game making tutorials, other game-making related content and to follow my projects with the devlogs !

0:00 Intro
0:32 Engine: Why & How
1:30 OpenGL
2:07 Cubes or squares ?
3:27 Landscape
5:25 Optimisations
6:37 World Interactions
9:50 Colors
11:25 Destruction
12:20 Octree/Chunks
14:10 Outro

#gamedev #coding #indiegame

show more

Share/Embed