Wiki
Clone wikiNuclearThroneTogether / Scripting / Tools / FlashDevelop
You can use FlashDevelop for creating/editing Nuclear Throne Together' mods.
FlashDevelop is a fairly advanced editor, spotting syntax highlighting, auto-completion, code analysis, and numerous other features for large projects in supported programming languages.
However, it also supports user-defined syntax highlighting files:
While the auto-completion it offers in such cases is simple, it is still helpful for NTT modding.
Installing
-
Download the scheme (v9879).
-
Unzip into
%LOCALAPPDATA%\FlashDevelop\Settings\Languages
(can be pasted into Explorer' "address bar"). -
Restart FlashDevelop.
Updating
Updating the syntax highlighting file is done as following:
-
Do
/gmlapi
in chat in NTT.This will generate a number of files in
%LOCALAPPDATA%/nuclearthrone/api
directory (you can paste that path into Explorer' "address bar"). -
Open the files starting with
raw-
. Can also do this in FD itself. -
Open the earlier copied
GML.xml
in FD' AppData directory. -
Replace the list inside
<keyword-class name="gml-functions">
with that fromraw-functions.gml
. -
Replace the list inside
<keyword-class name="gml-constants">
with that fromraw-constants.gml
. -
Replace the list inside
<keyword-class name="gml-variables">
with that fromraw-variables.gml
. -
Replace the list inside
<keyword-class name="gml-assets">
with that fromraw-assets.gml
. -
Restart FlashDevelop for changes to take effect.
If all was done correctly, the new entries will highlight accordingly, most noticeable on the raw- files themselves (which would show up entirely in the according color).
Additional information
- You can edit colors via menu: "Tools" - "Syntax highlighting"
Updated