Skip to content

This code was encouraged by a friend trying to get me to learn coding with OpenGL and creating a voxel engine game.

Notifications You must be signed in to change notification settings

RocksterMan208/VoxelTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Why am I making a voxel engine?

I'm making a voxel engine at the reccomendation of a friend of mine who encouraged me to use OpenGL to create the game from. This is mainly going to be used by me to create a game using OpenGL and learn the maths surrounding it.

How to compile and use

Ensure you have GLFW installed and (at the moment) are on a Linux-based system

GLAD is included with this git repo and does NOT need to be included manually.

To install the GLFW dependency:

On the main Debian operating systems:

Run:

sudo apt install glfw

or on Fedora:

sudo dnf install glfw

If you are on Arch Linux, run:

sudo pacman -S glfw

Now that GLFW is installed the code can be compiled and executed.

Open terminal and cd into the folder

An example command would be:

cd /home/<user>/Downloads/VoxelTest

Now that you are in the folder, you can use the makefile by running:

make run

And as long as you have GCC and G++ installed, the code will compile and run automatically. I am planning on making a CMAKE profile to allow for Windows users to compile and run the code.

Any further use of the program can be executed without compiling by simply double clicking on the executeable file called "play"

About

This code was encouraged by a friend trying to get me to learn coding with OpenGL and creating a voxel engine game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published