This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
fade_out [2017/04/13 16:43] – justin | fade_out [2021/04/21 18:30] – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
Fades to black over the specified duration of time (in seconds). [[fade_in|Fade In]] would typically be called at some point after this function to fade the screen back into view. | Fades to black over the specified duration of time (in seconds). [[fade_in|Fade In]] would typically be called at some point after this function to fade the screen back into view. | ||
+ | ====Signature: | ||
<code python> | <code python> | ||
fade_out(duration) | fade_out(duration) | ||
Line 12: | Line 13: | ||
====Example: | ====Example: | ||
- | < | + | < |
- | fade_out(1) | + | fade_out(1); |
</ | </ | ||
// | // |