Skip to content
Proyectos

Acerca de

Un juego abierto al estilo de Minecraft que admite multijugador y scripts de Lua tanto en el cliente como en el servidor.

Juegos y emulación

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

As of ~April 2020, I stopped working on this project for several reasons.

The way I created this was quite "over done" to the point it got hard to work out how to add new features, perhaps due to trying to be an engine rather than a game. However, I am interested in one day revisiting this concept, however perhaps in a different repository rather than this one.

Open Builder

Linux C/C++ CI macOS C/C++ CI

Open source Minecraft-like voxel sandbox game with multiplayer support.

More information about the project can be found in the Open Builder Wiki

This was made mostly for a YouTube series which can be found here: Lets Code A Multiplayer Voxel Game

Building and Running

Windows (Visual Studio)

The easiest way to build is to use vcpkg and install dependencies through this:

vcpkg install sfml
vcpkg install imgui
vcpkg install glm
vcpkg integrate install

Then open the Visual Studio project file to build and run.

Linux

Pre-requisites

Install Vcpkg and other required packages using your distribution's package manager:

git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh

# These are required to build some packages
sudo apt install cmake make autoconf libtool pkg-config

# The following are required for SFML
sudo apt install libx11-dev xorg-dev freeglut3-dev libudev-dev

Ensure paths are set correctly:

export VCPKG_ROOT=/path/to/vcpkg
export PATH=$VCPKG_ROOT:$PATH

RECOMMENDED: Add the above lines to your .bashrc or .zshrc file:

echo 'export VCPKG_ROOT=/path/to/vcpkg' >> ~/.bashrc
echo 'export PATH=$VCPKG_ROOT:$PATH' >> ~/.bashrc

Build and Run

To build, at the root of the project:

vcpkg install # First time only
sh scripts/build.sh

To run, at the root of the project:

sh scripts/run.sh

To build and run in release mode, simply add the release suffix:

sh scripts/build.sh release
sh scripts/run.sh release

Project Structure

A quick overview of the code and project structure can be found in the wiki article:

Project Structure

Contributing

Please see main article here:

Contributing

Screenshots

Terrain gen:

player

Early screenshot: player

Similar Projects

This project was heavily influenced by the following projects:

Minetest

Another open source voxel sandbox game, one of the original ones. Also created using C++, and also has multiplayer support.

Website - GitHub

Terasolgy

Open source multiplayer voxel sandbox game created using Java like the original minecraft.

Website - GitHub

Craft

Minecraft clone created by Fogleman in C.

Website - GitHub

Special Thanks

D3PSI - Added GitHub actions, and created the install.sh file to automate the installation process on Linux systems

CalvinSpace - Created a lot of the textures for the blocks

History

Originally, this was going to be a Zombie game, but I got very bored of that very quickly, and so changed the project to be a voxel game instead.

As a result of this, the code was created for the zombie game, so when I decided to switch over, the code got messy very quickly.

To combat this, I did a massive refactor in just over 2 weeks, re-creating large parts of the project.

The before-refactor-project can be found here

The commit that adds the refactored code can be found here

Explorar proyectos relacionados

Cargando…