-
Notifications
You must be signed in to change notification settings - Fork 1
Doable
"Doable" in this case means things you can do (kind of like commands).
Supported in builders: JavaScript/Web application
Description: Switch from scene to scene
Supports function arguments: yes
Supports variables: yes
Syntax
["scene", <scene id>]
Examples
Normal:
["scene", 4]Variables:
["scene", "variable_name"]Arguments:
["scene", "ArgumentName"]Supported in builders: JavaScript/Web application
Description: Set variables to a completely new value
Supports function arguments: yes
Supports variables: yes
Syntax
["set", "<variable name>", <new value>]
Example Set new string:
["set", "foo", "The new foo value!"]Set new number:
["set", "foo", 4]Supported in builders: JavaScript/Web application
Description: /
Supports function arguments: yes
Supports variables: yes
Syntax
["add", "<what variable>", "<what should be added>"]
Examples Add a number:
["add", "foo", 40]Add a number from a variable:
["add", "foo", "blob"]Add a number from a function argument:
["add", "foo", "AddAmount"]You cannot add strings here. Only numeric variables to numeric variables or numeric arguments!
Supported in builders: JavaScript/Web application
Argument ids supporting variables: 1 (has to be a variable), 2
Description: /
Supports function arguments: yes
Supports variables: yes
Syntax
["remove", "<what variable>", "<what should be removed>"]
Examples Remove from number:
["remove", "foo", 40]Remove from numeric variable:
["remove", "foo", "blob"]Remove from a numeric function argument:
["remove", "foo", "AddAmount"]Supported in builders: JavaScript/Web application
Argument ids supporting variables: 1 (has to be a variable), 2
Description: /
Supports function arguments: yes
Supports variables: yes
Syntax
["multiply", "<what variable>", "<what should be multiplied>"]
Examples Multiply a number:
["multiply", "foo", 40]Multiply a numeric variable:
["multiply", "foo", "blob"]Multiply a numeric function argument:
["multiply", "foo", "AddAmount"]Supported in builders: JavaScript/Web application
Argument ids supporting variables: 1 (has to be a variable), 2
Description: /
Supports function arguments: yes
Supports variables: yes
Syntax
["divide", "<what variable>", "<what should be divided>"]
Examples Divide from a number:
["divide", "foo", 40]Divide form a numeric variable:
["divide", "foo", "blob"]Divide from a numeric function argument: ["divide", "foo", "AddAmount"]
## Function
> Supported in builders: JavaScript/Web application\
> Argument ids supporting variables: none\
> Description: Call a function that you programmed
> Supports function arguments: no\
> Supports variables: no
**Syntax**
["function", ""]
**Example**
```json
["function", "add_to_foo"]
Supported in builders: JavaScript/Web application
Description: Log something (mostly used for debugging) Supports function arguments: yes
Supports variables: yes
Syntax
["log", "<text>"]
Example
["log", "Hello! Variables are {@foo} times cooler than anything. Also {arg:Blob} is pretty cool!"]More info: here
More info: here
Support, issues or feature requests? Click here
- Settings
- Custom theme (coming soon)
- Project
- Creating project (coming soon)
- Open project (coming soon)
- Bookmark project (coming soon)
- Editor
- Buttons (coming soon)
- Scenes (coming soon)
- Texts (coming soon)
- Build/play Game (coming soon)