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 compiler.

  2. Run the following script to generate the engine's dependent libraries.

    Tools\build-scripts\build_lib_windows.bat
  3. Install Visual Studio Community 2022.

  4. Open the project file in the IDE: Projects/Windows/Dora.sln.

  5. Compile, debug, and run the project.

3. Build Web IDE

  1. Compile and run the Dora SSR engine.

  2. Install the latest version of Node.js.

  3. Initialize the project and enter the Dora Dora editor development mode.

    Please select the platform you are building with.

cd Tools/dora-dora/3rdParty/YarnEditor && yarn && yarn build
rm -rf ../../public/yarn-editor
mv dist ../../public/yarn-editor
cd ../.. && yarn
yarn start

Alternatively, you can generate the Web IDE release files, copy them to the project's Assets/www directory, and then start the Dora SSR engine to test the full project functionality.

# Ensure the previous steps of compiling and copying YarnEditor are completed
cd Tools/dora-dora
yarn build
rm -rf ../../Assets/www
mv build ../../Assets/www