A "Linux-First"1 Game Engine
- Includes modern features like SDL3 and Vulkan
- Ability to Cross-Compile for Windows by default
- Maybe other platforms in the future
- Aims to bring convenience to Game Development for Linux without sacrificing access to other platforms
The repository's boostrapper will set up your environment for you. There will be some things you need pre-installed on Windows environments. Linux Environment MUST BE Ubuntu 24.04 LTS at the time of writing.
- Visual Stuido Code
- VS Code will be the editor we use to connect to our Linux environment
- Windows Subsystem for Linux (WSL)
First, clone the Repository:
git clone https://github.com/John-Ridgway/RollbackEngine.git
Navigate to the setup directory:
cd RollbackEngine/setup
Run the Bootstrapper*:
./run-bootstrap.sh
*you will need root privilege for this
VS Code tasks have been included with this repository. To compile in VS Code for both Linux and Windows, follow these steps:
CTRL+SHIFT+P -> Run Task -> Build All
If you aren't using VS Code, in your terminal from the Project root (e.g. /RollbackEngine) run the following commands:
Linux
cmake -S . -B build
cmake --build build -j
Windows
cmake -S . -B build-win -DCMAKE_TOOLCHAIN_FILE=./toolchains/toolchain-windows.cmake
cmake --build build-win -j
cp ./deps/sdl/win/bin/SDL3.dll ./build-win
*For windows we need to copy the SDL3 dll
Linux
./build/RollbackEngine
Windows 2
sudo apt-get install wine -y
wine ./build-win/RollbackEngine.exe
Nothing fancy for now. A simple window initialization for testing that the libraries are compiling correctly.