Skip to content

MrCatNerd/BobEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BobEngine

BobEngine is a WIP game engine written in C++

current features: phong lighting, triangels, and BLOCKS


Bob Ross

Warning

this engine is still a WIP


screenshots screenshot

Compiling Running and Cleaning

General Stuff

### Running
make
# or
#make run

### Compiling
make compile

### Cleaning
make clean

Build profiles

# Debug mode (default)
make PROFILE=Debug

# Release mode
make PROFILE=Release

# If you want to only compile
#make compile PROFILE=<profile>

Compilation databases

make compile_commands.json

Requirements

Ensure you have the following installed on your system

GLFW

How to install GLFW manually on a Debian based system
# installs GLFW on debian based systems
sudo apt-get install -y make cmake git
sudo git clone "https://github.com/glfw/glfw.git" "/usr/local/lib/glfw" --depth 1
sudo cmake -S "/usr/local/lib/glfw" -B "/usr/local/lib/glfw/build"
sudo make -C "/usr/local/lib/glfw/build" install # you can use cmake --build --install if you really want to
How to install GLFW with vcpkg
vcpkg install glfw3

GLEW

How to install GLEW manually on a Debian based system
# installs GLEW on debian based systems
sudo apt-get install -y libglew-dev
How to install GLEW with vcpkg
vcpkg install glew

OpenGL

How to install OpenGL manually on a Debian based system
sudo apt-get install -y libgl1-mesa-dev
How to install OpenGL with vcpkg
vcpkg install opengl

GLM

I am too lazy to add debian installation instructions (maybe ill do it later)

How to install GLM with vcpkg
vcpkg install glm

TODO

mostly sorted by priority

  • CMake
  • Good README
  • a THICC TOC
  • Examples
  • Docs
  • Tests (i got no idea how do you test a game engine)