Installation & Project Setup

Modularity is built from source using CMake. On both Windows and Linux,

https://git.shockinteractive.xyz/Shock-Interactive-LLC/Modularity/releasesarrow-up-right


Requirements

  • Git

  • CMake (required)

  • C++ compiler toolchain

    • Windows: Visual Studio / MSVC Build Tools

    • Linux: g++ or clang++

  • VSCode (recommended, optional)

Package Installation


Fedora/Red Hat


Debian/Ubuntu


Arch/Pacman based systems


Windows

Required Version: Visual Studio 2026

Workloads:

  • Desktop development with C++

Components:

  1. MSVC v143

  2. Windows 10/11 SDK

  3. CMake tools for Windows

Optional:

  • choco install sccache

Clone the repository


Windows

Linux

These scripts typically:

  • create/update a build directory

  • Install any github references to ThirdParty resources

  • run cmake to generate build files

  • build the editor/runtime


Build (Manual CMake)

Windows (Visual Studio generator example)

Linux


Running the Editor

After building, run the compiled Modularity editor binary from your build output directly located in the Modularity folder.


Projects

A Modularity project typically includes:

  • Scripts/ for runtime-compiled C++ scripts

  • Scenes/ for loading scenes

  • Models/ for loading models

  • Scripts.modu for script build settings (auto-created if missing)

Open or Create a project through the editor’s Project Manager, or point the editor at a project directory.


Some Troubleshooting Steps:

If CMake isn't found

  • Install CMake and make sure it’s on PATH

If the Compiler Isn't found

  • Windows: install Visual Studio Build Tools (MSVC)

  • Linux: install your distro’s C++ toolchain packages

Last updated

Was this helpful?