Code-Nycticebus / claymore

A C Game Engine
MIT License
33 stars 3 forks source link

Claymore

A C Game Engine

⚠️ The Project as well as the Documentation is WIP and is prone to change.

Libraries

Building Claymore

On linux you need to install these dependencies:

sudo apt install libmesa-dev xorg-dev libxrandr-dev 

First clone and enter the repo:

git clone --recursive https://github.com/Code-Nycticebus/claymore
cd claymore

Build it with a c compiler. From inside the claymore directory, compile the build system. you can even:

cd claymore
gcc build/build.c -o build/build
./build/build

or build it with pybuildc:

pybuildc -d claymore build

Running Sandbox

Build it with a c compiler. From inside of the sandbox directory:

gcc build.c -o build && ./build

Run the executable:

./sandbox

or build and run directly with pybuildc:

pybuildc -d sandbox run

Usage

Check out the documentation for more info. For an example project, take a look at shadertoy.