Git Product home page Git Product logo

cephalon's Introduction

Cephalon

Cephalon is a C++17 voxel game that is similar to Minecraft. It simulates an infinite world using a procedural terrain generator that supports various types of terrain and includes a random seed parameter. The renderer used by cephalon is efficient through the use of optimal algorithms and multithreading. Additionally, it is designed in a way that new blocks and textures can be added without modifying unrelated code.

Cephalon is an out-of-the-box game in which players can freely create and destroy blocks in a way similar to the creative mode in Minecraft. It also has a database subsystem that saves play records automatically when the game is closed and allows you to take screenshots by pressing F2 while playing.

Cephalon GIF

Build Instructions

To build Cephalon, the following libraries and APIs are required:

The bgfx library should be built using bgfx.cmake to be compatible with Cephalon. The following instructions builds and installs bgfx and its CMake config files on Arch Linux:

git clone https://github.com/bkaradzic/bgfx.cmake.git
cd bgfx.cmake
git submodule init
git submodule update
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build

After the dependencies listed above are installed, run the following instructions to build Cephalon:

mkdir build & cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

After build, the compiled binary can be found in the directory build/cephalon. The game should be run with the directory assets next to it. Finally, after the game is executed, a folder save that consists of a metadata JSON file and a SQLite database should be created.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.