Technical Documentation
Web
Dependencies
- git
- CMake
- Project System & Asset Compiler for the host operating system (Windows or native MacOS)
- See and
Building for the first time
- Open a command prompt / terminal instance (not Powershell or Git Bash!)
- Navigate outside of your Sceneri repository (i.e. C:/Dev/sceneri โ C:/Dev)
- Enter the following commands:
- Navigate to your Sceneri repository and run the following commands
- Depending on platform
- Windows
cmake -DOPTION_PACKAGE=ON -S Code -B Code/IntermediateWeb -DTARGET_ENVIRONMENT=internal_staging --preset=windows-web-ninja -DOPTION_UNITY_BUILD=ON -DOPTION_CCACHE=ON
- macOS
cmake -DOPTION_PACKAGE=ON -S Code -B Code/IntermediateWeb -DTARGET_ENVIRONMENT=internal_staging --preset=macos-web-ninja -DOPTION_UNITY_BUILD=ON -DOPTION_CCACHE=ON
- Windows
cmake --build Code/IntermediateWeb --target Editor --config ReleaseDevelopment --parallel
- Depending on platform
Running
To run, you need to have a web server with COOP and COEP enabled.
- Open a command line / terminal window
- Navigate to the root of your Sceneri repository
- Run the python script located here.
- Open your browser
- Navigate to localhost:8000/bin/Web/ProfileDevelopment/Editor.html
- Note: Substitute ProfileDevelopment for your active config
Supported Browsers
- Google Chrome
- Edge
- Opera
- Safari Technology Preview
- Not loading into scenes yet
- Firefox Nightly
- Not loading into scenes yet
Debugging
Need to document Chrome debugging.
Copy to Clipboard