This repository is an implementatio of a stateful Entity Component System (ECS) in C++. There's also a demo implementation of Pong which uses the ECS. This is currently only known to be compatible in a Linux development environment.
If you'd like to see the 5 minute presentation I gave on this library and demo, you can find a recording of my presentation here: https://youtu.be/lbwLZDrIXds
Thanks for looking at my project!
Installing the ECS and demo is easy. Start by cloning the repository from GitHub.
git clone https://github.com/rtulip/cpp-secs.gitThe demo provided has a few pre-requisites which can be installed by running the install script
cd cpp-secs
sudo ./install.shThis will check the version of CMake before installing the OpenGL, GLUT, and Boost libraries which are required to compile and run the application. Doxygen is also installed, should you want to read the documentation.
Once the install script has been run, building and running the demo is easy. Just run the clean_build.sh script.
./clean_build.shNote: the demo will run until the GUI is closed.
Demo Controls: Left player Controls: W (up) and S (down) Right player controls: I (up) and K (down) Make a ball: spacebar
I've made a bunch of documentation explaining how the ECS and the demo were made and how they work. You can build the documenation by running the generate_docs.sh script. Then opening the docs/html/index.html file in your favorite browser
./generate_docs.sh
firefox docs/html/index.html # Replace firefox with whichever browser you'd prefer.