Login

Fancade Wiki

Updated Text Script.md (markdown)

... ...
@@ -40,9 +40,9 @@ num frame = Game.Get_Frame;
40 40
}
41 41
```
42 42
43
## _______________________________________________________________
43
### _______________________________________________________________
44 44
### Basics
45
## _____________________________
45
### _____________________________
46 46
**Value Types** :
47 47
```
48 48
Num varName = 0;
... ...
@@ -53,7 +53,7 @@ Obj varName = Object;
53 53
54 54
//Any variable can be used as list. Format: varName[index]
55 55
```
56
## _____________________________
56
### _____________________________
57 57
### Basic Math Operators
58 58
59 59
```
... ...
@@ -81,7 +81,7 @@ num++
81 81
//Decrease
82 82
num--
83 83
```
84
## _____________________________
84
### _____________________________
85 85
### Basic Boolean Operators
86 86
```
87 87
//Boolean logic (AND, OR, NOT)
... ...
@@ -97,7 +97,7 @@ tru greater = a > b;
97 97
tru less = a < b;
98 98
```
99 99
100
## _______________________________________________________________
100
### _______________________________________________________________
101 101
### Game
102 102
```
103 103
Game.Win();
... ...
@@ -118,7 +118,7 @@ Game.Accelerometer
118 118
Game.Current_Frame
119 119
```
120 120
121
## _______________________________________________________________
121
### _______________________________________________________________
122 122
### Objects
123 123
```
124 124
Objects.Get_Position(obj).Position
... ...
@@ -147,7 +147,7 @@ Objects.Create_Object(obj Object);
147 147
Objects.Destroy_Object(obj Object);
148 148
```
149 149
150
## _______________________________________________________________
150
### _______________________________________________________________
151 151
### Sound
152 152
```
153 153
Sound.Play_Sound(num Volume, num Pitch);
... ...
@@ -158,14 +158,14 @@ Sound.Stop_Channel(num Channel);
158 158
Sound.Volume_Pitch(num Channel, num Volume, num Pitch);
159 159
```
160 160
161
## _______________________________________________________________
161
### _______________________________________________________________
162 162
### Physics
163 163
```
164 164
//I regret doing this, sorry
165 165
```
166 166
167 167
168
## _______________________________________________________________
168
### _______________________________________________________________
169 169
### Control
170 170
```
171 171
//Basic if operator
... ...
@@ -212,7 +212,7 @@ LateUpdate() {
212 212
}
213 213
```
214 214
215
## _______________________________________________________________
215
### _______________________________________________________________
216 216
### Math
217 217
```
218 218
Math.Negate(num Num)
Fancade Wiki