Open-source physics game engine written in C++.
Epitech's 4th/5th year end project (EIP)
Engine² is a game engine that aims to provide a developer friendly and open-source alternative for 3D game development. It is designed to provide accurate physics simulation and visually appealing graphics in a single package.
- Run
xmake build
- Install required dependencies if needed (or use
xmake build -y
to install them automatically)
- Open the repository using Visual Studio
- Execute
xmake project -k vsxmake -m "debug,release"
inside the root using a VS "Developer PowerShell" - Open the created VS Solution using Visual Studio (/vsxmake2022/EngineSquared.sln)
- (Optional) Install Xmake VS extension
- Build the solution
- Run
xmake test
- Install required dependencies if needed (or use
xmake test -y
to install them automatically) - Tests will be executed individually
For bash users, you can use the following command to apply the coding style to the project:
find . -iname '*.hpp' -o -iname '*.cpp' | xargs clang-format -i
For Windows users, you can use the following command to apply the coding style to the project:
Get-ChildItem -Recurse -Include *.cpp, *.hpp | ForEach-Object { clang-format -i $_.FullName }
For Visual Studio users, you can use the ClangFormat extension to format the code.
- Download Doxygen from the official website
- Create a
docs
folder if it doesn't already exist and rundoxygen Doxyfile.cfg
to generate the documentation using Doxygen - Open the generated documentation using a web browser (/docs/EngineSquared/html/index.html)