Skip to content

2D game map library with simple command line game engine

License

Notifications You must be signed in to change notification settings

Blue5alamander/planet

Repository files navigation

Planet

A C++ game engine

Documentation GitHub License Discord

Planet started as just a 2D hex and square grid infinite map implementation. Both make use of a chunking system that aggregates the allocation of larger parts of the map which are created lazily as required by the game.

Now it consists of several libraries:

Building and running the library and examples

git clone --recursive git@github.com:KayEss/planet.git
cd planet
mkdir build.tmp
cd build.tmp
cmake ..
make
./examples/snake

Development requirements

On Linux you'll need some dev packages installed:

sudo apt install libasound2-dev libogg-dev libopus-dev liburing-dev libvorbis-dev

On Windows it's generally best to add these as submodules to your project and use add_subdirectory from cmake to build them.

Modules

An incomplete list of the available modules are:

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages