Login

Fancade Wiki

Updated Text Script.md (markdown)

... ...
@@ -234,25 +234,25 @@ If (condition) {
234 234
235 235
Loop(num start = 0, num end = 0) {
236 236
//Output
237
self.currentIndex
237
out.counter
238 238
}
239 239
240 240
TouchSensor() {
241 241
//Outputs
242
self.screen.x
243
self.screen.y
242
out.screen.x
243
out.screen.y
244 244
}
245 245
246
Collision(obj PhysicalObject) {
246
Collision(obj mainObject) {
247 247
//Outputs
248
self.secondObject
249
self.normal
250
self.impulse
248
out.secondObject
249
out.normal
250
out.impulse
251 251
}
252 252
253 253
SwipeSensor() {
254 254
//Output
255
self.direction
255
out.direction
256 256
}
257 257
258 258
BoxArt() {
... ...
@@ -333,7 +333,7 @@ Math.LineVsPlane(vec From, vec To, vec Point, vec Normal)
333 333
Math.LookRotation(vec Direction, vec Up)
334 334
```
335 335
### (Important!) Editing Notes
336
***To all contributors and people who edits the Fancade Pseudo-Coding Language*** , Pls don't put to much extensions to the things such as `math.` , `object.` , this thing is very unnecessary since it will only be used in scripting discussion , unless... one of us can implement it as a real coding language ;D
336
***To all contributors and people who edits the Fancade Pseudo-Coding Language*** , Pls don't put to much extensions to the things such as `math.` or `object.` , this thing is very unnecessary since it will only be used in scripting discussion , unless... one of us can implement it as a real coding language ;D
337 337
338 338
# Syntax
339 339
Fancade Wiki