Skip to content

Running and Debugging the Simulation

Assaf Attias edited this page Oct 27, 2024 · 4 revisions

To execute your simulation in development mode, you can use specific tasks provided by the OIS plugin for each platform you are targeting. These tasks allow you to run the simulation directly from your development environment, making it easy to debug and iterate.

  • HTML Platform: runHtml

Running on HTML

To run your simulation in a web environment (HTML), use the runHtml task. This will start the simulation in a local web server, allowing you to view it in a web browser.

windows
./gradlew.bat runHtml
Mac / Linux
./gradlew runHtml

Once executed, this command will:

  • Compile your Java code into JavaScript.
  • Launch a local server to serve your simulation at http://localhost:8080/.

Now you can start developing your own simulations.

Continue to our Developer's Guide

Or