Login

Fancade Wiki

Updated Script Colors.md (markdown)

... ...
@@ -1,6 +1,23 @@
1
In Fancade, there are many different colored scripts. They mean different things.
2
The dark grey blocks are Change blocks. They change a certain thing.
3
Grey blocks are Value blocks. They retrieve a value of something.
4
Yellow blocks are Control blocks. They control actions in game.
5
# Variable blocks
6
<<Warn ("To be added") >>
... ...
\ No newline at end of file
0
The wires that connect script blocks, as well as the inputs and outputs the wires connect to, are color-coded to indicate their data type:
1
2
* **<font color="00e5ff">██████ Blue</font>**: Number
3
* **<font color="00ee85">██████ Green</font>**: Vector
4
* **<font color="ff8543">██████ Orange</font>**: Rotation
5
* **<font color="ff4343">██████ Red</font>**: Truth
6
* **<font color="ff85c8">██████ Pink</font>**: Object
7
* **<font color="a7b1d0">██████ Gray</font>**: Constraint
8
* **<font color="ffe043">██████ Yellow</font>**: [Execution order](/Script/Control flow) (not technically a "data type")
9
10
Script blocks are also color-coded:
11
12
* **<font color="424252">██████ Dark gray</font>**: [Statement](/Script/Control flow#statements)
13
* **<font color="696B7C">██████ Medium gray</font>**: [Expression](/Script/Control flow#expressions)
14
* **<font color="FFE200">██████ Yellow</font>**: [Control flow](/Script/Control flow#control-statements)
15
16
And script blocks for getting/setting variables and lists, are colored similarly to the wires:
17
* **<font color="0096FF">██████ Blue</font>**: Number
18
* **<font color="45C952">██████ Green</font>**: Vector
19
* **<font color="FF7758">██████ Orange</font>**: Rotation
20
* **<font color="FF4E6F">██████ Red</font>**: Truth
21
* **<font color="FF9ED9">██████ Pink</font>**: Object
22
* **<font color="C6C9D3">██████ Gray</font>**: Constraint
Fancade Wiki