Skip to content

MAKMART/minecraft_clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

202 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Clone

Introduction 📝

WARNING

Major rewrite with new game engine BUILD IS BROKEN, WIP

This is a small minecraft clone built using OpenGL 4.6 and C++ 23. The project is in a very early, experimental stage 🚀.

Since this is meant for me to learn programming, don't expect high-quality stuff here for some time.

Screenshots 🖼️

WIP

Dependencies 🔧

To build this project, you'll need:

Make sure these are installed and added to your system's PATH if you're on Windows.

Building the Project from Source 🛠️

After building, all build files will be stored in the build directory. The final binary will be located in: build/<your-OS>/<your-arch>/<build-type>/


1. Clone the Repository 📥

Open a terminal in your desired folder and run:

git clone https://github.com/MAKMART/minecraft_clone.git
cd minecraft_clone

⚠️ Warning: You need to have git installed.


2. Building the Project 🏗️

Choose the build type:

# For Debug build
xmake config -m debug

# For Release build
xmake config -m debug

# To run engine tests
xmake run test

# To run a certain target
xmake run <target>

# To see available build targets
xmake show -l targets

# To see available infos
xmake show 

✅ Once configured, you only need to run the build command again if you make changes.


Troubleshooting 🛡️

If you run into any build issues or have questions, feel free to email me.