/WebGraphics

Game library code.

Primary LanguageC++MIT LicenseMIT

About

This repo is supposed to be a cross-platform lightweight general-purpose game library. It can run on Windows, Linux, and the web via Emscripten. It is a work in progress but the goal is to have a library in some ways similar to RayLib, to make it easier to quickly create 2D or perhaps even 3D games using OpenGL.

Installation

Build on Linux (Ubuntu)

apt-get install cmake
apt-get install mesa-utils
apt-get install freeglut3-dev
apt-get install libglew-dev
apt-get install libfreetype6-dev
apt-get install libglfw3-dev
apt-get install libglm-dev
apt-get install libxinerama-dev
apt-get install libxcursor-dev 
apt-get install libxi-dev 
apt-get install libsdl2-dev
git clone git@github.com:marcus1337/WebGraphics.git && cd WebGraphics
git submodule update --init --recursive 

Once required packages are installed use cmake and make in the example projects here.