Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.21 KB

vscode.md

File metadata and controls

48 lines (34 loc) · 1.21 KB

SUDS Visual Studio Code Extension

The best way to use SUDS is to install the Visual Studio Code Extension.

The extension primarily provides syntax highlighting and makes it much easier to write scripts accurately, and to skim read them afterwards.

You can find the extension on the VSCode Marketplace by just searching for "SUDS".

As a comparison, here's what the same script looks like with & without the extension:

Without the extension:

===
# This is a header that is executed every time the dialogue starts
[set CameraSetup `Main`]
===

[if not {MetAlready}]
    [event InitialMeetIntro]
    [set MetAlready true]
    Player: Um, hello?
    NPC: <Surprise>Oh!</> Wotcha mate! What's up?
[else]
    NPC: Hello again, what's new?
[endif]

Player: Not much to be honest.
  * What's that you're eating?
    NPC: This? It's just a bit of {FoodName}. Funny you should ask...
    [goto FoodExposition]
  * Some other question

With the extension:

Script with VSCode Extension


See Also