Back

ide

JS Py
Hello World
Content:
- Methods

Functions to interact with the DroidScript IDE.

ide → Object

Methods

The following methods are available on the ide object:

Boolean
String
String: path to file or folder ( “/absolute/...” or “relative/...” )
String: “GameView” or “Html” or “Hybrid”
String: comma “,” separated: NoSwap
ide.AddModule
Add a NodeJS module to your app from code. Can include specific version numbers via “name@version”
ide.Export
Export your Game as pure HTML project. Will support “Hybrid” in a future version too
ide.MakePlugin
Create a new plugin as DroidScript project
ide.Obfuscate
Obfuscate a javascript source file. Useful for developing plugins and extensions
ide.SetAutoStart
Set a default start application.
Equal to SetAutoStart
ide.SetAutoWifi
Enable AutoWifi in the IDE