A game engine, built from the ground up in C/C++ by Bigmancozmo.
This is only confirmed to work on Windows for now. We are working on testing other systems. It should work on Linux, but no guarantees!
Head here to get CMake. Any version newer than 3.8 should work.
Installing Visual Studio is required for compiling -- you do not have to code in it.
Go here and install Visual Studio 2022 (Visual Studio 2019 should work, but it is untested).
When in the Visual Studio Installer, you must enable Desktop development with C++
.
Click "Modify" in the bottom-right and wait for the changes to be made and/or Visual Studio to be installed.
You cannot use Code -> Download ZIP
!
In your Command Prompt/Terminal
, enter the directory you want to download the code to, and rungit clone https://github.com/bigmancozmo-software/bmc-engine --recurse-submodules
.
Open a new Command Prompt/terminal window in the source code directory.
Then, run the following command:cmake -S . -B build && cmake --build build --config RelWithDebInfo --target BMC-ENGINE
This should generate a folder called build. Go to build/BMC-ENGINE/Release
(build/BMC-ENGINE
on linux). BMC Engine is compiled!
If you're getting errors on Linux, try running
sudo apt-get install --fix-missing -y libgl1-mesa-dev libwayland-dev wayland-protocols libxkbcommon-dev libxrandr-dev libxinerama-dev libx11-dev libxcursor-dev libxi-dev pkg-config
You may also need to run copy-resources.sh
.
Open up Visual Studio and select Open a local folder
. Then, select the source code folder. If done correctly, Visual Studio should recognize it as a CMake project, and allow you to write code and build the engine from there.