small update as per public release
commited
commit
24927923b3d91d087591eb9ad6f480fadbdfe9cf
... | ... | @@ -1,9 +1,11 @@ |
1 | Editor Scripting is an experimental feature that can be used to build levels by programmatically placing blocks. The editor is currently available in the beta version of [[ Fancade Web ]] by entering the `EditorScript` command in the [command line](/wiki/fancade-web#command-line). |
|
1 | Editor Scripting is an experimental feature that can be used to build levels by programmatically placing blocks. The editor is currently available as of [[Fancade 1.12|version-updates#fancade-1-12-3]], on [[Fancade Web]], by entering the `EditorScript` command in the [command line](/wiki/fancade-web#command-line). |
|
2 | 2 | |
3 | 3 | ## Getting Started |
4 | ||
4 | 5 | Let's create a new level and enter the `EditorScript` command. You will be greeted by a simple code editor with some examples in place. The code might seem unfamiliar at first, because it is written in [JavaScript](https://developer.mozilla.org/en-US/docs/Learn/JavaScript). But don't be scared, because we will learn the basics in this tutorial! |
5 | 6 | |
6 | 7 | ## [๐](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/function)Functions |
8 | ||
7 | 9 | So let's look at our first example. |
8 | 10 | ```js |
9 | 11 | // Set block at position (x, y, z) |