You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
karl 1989ff4cc2 Update README 2 years ago
.idea Add basic project with gravity system test 4 years ago
ECS Add flag for non-colliding objects 2 years ago
Rendering Autoformat everything + minor include fixes 2 years ago
Resources Add visual output for the collision 2 years ago
Shaders Add simple line drawing component + renderer 2 years ago
Util Hotfix for memory leak 2 years ago
tools Add clang-format, format main 2 years ago
.clang-format Add clang-format, format main 2 years ago
.gitignore Add gitignore for CLion 4 years ago
CMakeLists.txt First steps towards Catmul-Rom spline path movement 3 years ago
LICENSE Add LICENSE 3 years ago
README.md Update README 2 years ago
main.cpp Add benchmark code in main (commented out) 2 years ago
screenshot.png Change window title, add screenshot 3 years ago

README.md

ECSGame

screenshot

C++ ECS OpenGL game demo.

Movement

  • Moving and panning: WASD and mouse
  • Switching between free-look and path-mode: P
  • Adding a path point: R
  • Changing speed in path-mode: W/S
  • Toggle anti-aliasing: Q

Building

Building requires OpenGL 3.2+, GLFW, GLM and GLAD. CMake is used for compiling.

Credits

Some code adapted from Joey de Vries' (https://twitter.com/JoeyDeVriez) tutorials at https://learnopengl.com/About licensed under https://creativecommons.org/licenses/by-nc/4.0/.

OBJ-Loader from https://github.com/Bly7/OBJ-Loader.

ECS library from https://github.com/redxdev/ECS.

Image loader from https://github.com/nothings/stb/blob/master/stb_image.h.