Login

Fancade Wiki

Updated Decrease Number.md (markdown)

... ...
@@ -1,3 +1,18 @@
1 1
Decreases the input variable by 1.
2 2
3
[[/uploads/Decrease Number.png]]
... ...
\ No newline at end of file
0
[[/uploads/Decrease Number.png]]
1
2
Inputs:
3
- Variable: The number variable to decrease by 1
4
5
# Notes
6
7
Decrease will work with a [[List Element]] input as well!
8
9
# Examples
10
11
Here's how you might script a simple delay:
12
13
[[/uploads/delay.png]]
14
15
When the user taps the screen, Num is set to 60. Num is then decreased each frame, and since Fancade runs at 60 FPS it'll reach zero after exactly one second. This triggers the If (remeber that unwired number inputs default to zero) and plays a sound.
... ...
\ No newline at end of file
Fancade Wiki