The autocomplete feature is one of the handiest new tools on Episode. As its name implies, for nearly any command you can think of while working in a script, you’re now able to complete a command without having to full type it out.
Here are a list of just some of the commands for which autocomplete is available:
- @transition fade in
- @transition fade out
- @zoom reset
- @pan to zone
- @cut to zone
- @pause for a beat
- @CHARACTER enters from side to position
- @CHARACTER walks to position
- @CHARACTER exits side
- @remove CHARACTER
- @CHARACTER faces right / left
There are two types of autocomplete available in the script editor:
1. Asset Names
Autocompletion of asset names is the simpler version. If you start typing the beginning of the name of a behavior, character, outfit, or sound, a dialogue like this will show up:
From here, you can use the arrow keys to select a completion, and then hit the Tab or Enter key to insert that completion into your script.
2. Script Patterns
You can also autocomplete some common patterns in Donacode scripts, such as spot positioning, if/else blocks, and choice statements. To do this, first, as with asset names, type out the beginning of the pattern:
Choose a completion and hit Enter, and the pattern with some default values will be inserted into the script.
Here you can enter the spot you want your character to walk to. Now, if you hit the Tab key, the editor will automatically focus on the next field of the pattern: