Simplified
commited
commit
5b526df4c420611a7370e5258ec4a119084e573d
... | ... | @@ -1,18 +1,5 @@ |
1 | Decreases the input variable by 1. |
|
2 | ||
3 | 1 | [[/uploads/Decrease Number.png]] |
4 | 2 | |
5 | Inputs: |
|
6 | - Variable: The number variable to decrease by 1 |
|
7 | ||
8 | ## Notes |
|
9 | ||
10 | - Decrease will work with a [[List Element]] input as well! |
|
11 | ||
12 | ## Examples |
|
13 | ||
14 | Here's how you might script a simple delay: |
|
15 | ||
16 | [[/uploads/delay.png]] |
|
3 | Decrease the input [[variable|Set Variable]] by 1. |
|
17 | 4 | |
18 | 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 (remember that unwired number inputs default to zero) and plays a sound. |
|
... | ... | \ No newline at end of file |
0 | [[/uploads/Screenshot_2022-02-17-07-59-23-56_6c69499164362a0dbe2f1dfe7c62199a.jpg]] |
|
... | ... | \ No newline at end of file |