42dotmk / schism

A 2D Game Engine
GNU General Public License v3.0
5 stars 1 forks source link
cpp17 game-engine opengl

Schism

An experimental game engine

example workflow

Description

This is the repository for base42's experimental learning experience game engine. Everything here will have major breaking changes for the time being as the API stablizes.

For now the project tasks can be found at: https://github.com/orgs/42dotmk/projects/5

Planned features:

Ordered by priorities

Getting started

Clone the repository

Clone the repository and all of it's submodules with your preferred method, example below is using https

git clone --recursive https://github.com/42dotmk/schism
cd prism

Setup vcpkg

Follow the steps in the official vcpkg repository: https://github.com/microsoft/vcpkg VCPKG_ROOT has to be set as an environment variable that will point to root directory of vcpkg.

Build

Linux:
Install dependencies

Debian:

sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev libwayland-dev libxkbcommon-dev libglew-dev lib-tool autoconf automake

Installing the dependencies for other distributions should be fairly straightforward, make sure you also have cmake and ninja installed.

Generate cmake and build

In the schism directory run

chmod +x ./cmake_generate.sh
chmod +x ./cmake_build.sh
./cmake_generate.sh
./cmake_build.sh

If successfull you should have the binaries in the bin directory.

Windows:
Visual Studio of Clion

For windows this will be fairly straightforward, you can just open up the root schism directory in visual studio or clion and it should be able to generate cmake and build the project, provided of course if you have setup vcpkg (make sure you have set the target to the schism executable).