Skip to main content

How to Build Dora SSR Engine

1. Get the Source

git clone https://github.com/ippclub/Dora-SSR.git

2. Build Game Engine Runtime

Please select the target platform you want to build for.

  1. Install Rust, xmake, and Visual Studio Community 2022 with MSBuild tools.

  2. Build bgfx libraries first, the same way as GitHub Actions.

    Tools\build-scripts\build_lib_bgfx_windows.bat
  3. Build the Windows runtime and solution.

    Tools\build-scripts\build_windows.bat
  4. For local debugging, open Projects/Windows/Dora.sln in Visual Studio and run the Debug configuration.

3. Build Web IDE

  1. Compile and run the Dora SSR engine.

  2. Install the latest version of Node.js and pnpm.

  3. Initialize the Dora Dora editor. Use pnpm start for development, or pnpm build to generate the Web IDE release files and sync them to Assets/www.

    Please select your platform.

cd Tools/dora-dora && pnpm install
pnpm start
cd Tools/dora-dora
pnpm build