Zero Iteration, available in The Lab, lets you view MagicScript apps in the Simulator on a computer or stream them to a Magic Leap device without needing to build and deploy them.
- Hello, Cube! MagicScript
- Install Zero Iteration from The Lab's Package Manager - Required for the Simulator. Dependencies:
- Install Lumin Runtime SDK version 0.23.0 or later
- Magic Leap device running Lumin OS 0.95 or later
Simulator for MagicScript
Zero Iteration provides a simulator to view and debug your MagicScript app without a device. Follow the steps below to launch a MagicScript app in the Simulator.
Launch the Simulator in Zero Iteration. See Zero Iteration for instructions on running Zero Iteration.
Start a command-line session and navigate to your MagicScript app project. Enter the following:
To build the app for Simulator, add the --host, or -h flag:
magic-script build -h
Navigate to the output directory:
Run the app:
The app runs in Simulator on the computer.