jbcallv / game-engine

2D game engine made in C++
1 stars 0 forks source link
cpp game-development game-engine

game-engine

Installation

Debug mode:

  1. mkdir debug
  2. cd debug
  3. cmake .. -G "Unix Makefiles"
  4. make
  5. ./game-engine

Release mode (faster):

  1. mkdir release
  2. cd release
  3. cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
  4. make
  5. ./game-engine

Problems with installation

Development

Remember to add new classes to CMakeLists.txt under the add_executable command

To run the program at any point, e.g., when testing new code, simply run the following commands in the debug / release directory created above:

  1. make
  2. ./game-engine

Game