The Emscripten port of VisualScriptEngine.
You can see the live demo here.
You have to install the following software:
You can find detailed instruction on Emscripten Download and install page. You have to use the following commands to set up the environment for VisualScriptEngineWeb:
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
git pull
emsdk install latest
emsdk activate latest
emsdk install mingw-4.6.2-32bit
emsdk activate mingw-4.6.2-32bit
You can create the project with CMake, and build it with Visual Studio. This step is optional. The Visual Studio project is useful if you would like to debug the functionalities, but it is not necessary for building the web application.
mkdir Build
cd Build
cmake -G "Visual Studio 15 2017 Win64" ..
cd ..
The easiest way is to run the EmscriptenBuild.bat
file from the root directory. It needs three command line parameters:
- The Emscripten SDK folder (e.g. "C:\Emscripten\emsdk").
- The result folder of the web application (e.g. "C:\xampp\htdocs\WebApp").
- The build configuration type (Debug or Release).
EmscriptenBuild.bat C:\Emscripten\emsdk C:\xampp\htdocs\WebApp Release
- Set up a web server for the result folder.
- Open it in a web browser.