/Starlight-dev

Dev repo of starlight

Primary LanguageC++MIT LicenseMIT

Starlight

The starlight game engine

Starlight is a retro 3D game engine written in OpenGL

Building on Win32

Prerequisites

Install the following dependencies

Build instructions

  1. Make sure that CMake is installed and added to the system PATH variable.
  2. Open terminal in the CMakeLists.txt directory and run:
  mkdir build
  cd build
  cmake -A Win32 ..

Note: The project must be configured as Win32, due to precompiled x86 binaries of thirdparty libraries.


Building on Ubuntu

  • The following recipe was successfully tested on Ubuntu 20.04 platform.
  • So far, we haven't tested macOS, nor any other Unix flavors.
  • However, we anticipate most Linux distros should build similarly, aside from a few package-management tweaks.
  • So... if you're developing on those platforms, please feel free to contribute :-)

Prerequisites

  sudo apt update
  sudo apt install -y build-essential cmake mesa-common-dev mesa-utils freeglut3-dev

Build & run

  mkdir build
  cd build
  cmake ..
  make -j4
  ./OpenGLExample