Difference between revisions of "016A"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Icon|trilogy}} '''DO_FADE''' | {{Icon|trilogy}} '''DO_FADE''' | ||
<hr /> | <hr /> | ||
− | |||
'''Description''' | '''Description''' | ||
: Fades the screen | : Fades the screen | ||
Line 9: | Line 8: | ||
'''Parameter''' | '''Parameter''' | ||
: [''int1''] | : [''int1''] | ||
− | :: | + | :: Fade stage (see below) |
: [''int2''] | : [''int2''] | ||
:: Duration in milliseconds | :: Duration in milliseconds | ||
This opcode allows the screen to fade in and fade back out. The color of the fade can be set through opcode [[0169]]. The longer the time set to fade, the slower the screen will fade. As the screen fades in, game sounds will fade out, and vice versa. Use opcode [[043C]] to prevent game sounds from being affected. The game is unable to be paused as the screen fades. | This opcode allows the screen to fade in and fade back out. The color of the fade can be set through opcode [[0169]]. The longer the time set to fade, the slower the screen will fade. As the screen fades in, game sounds will fade out, and vice versa. Use opcode [[043C]] to prevent game sounds from being affected. The game is unable to be paused as the screen fades. | ||
− | } | + | |
+ | {| class="wikitable" | ||
+ | ! Stage || Enum | ||
+ | |- | ||
+ | | 0 || FADE_OUT | ||
+ | |- | ||
+ | | 1 || FADE_IN | ||
+ | |} | ||
+ | |||
+ | == Keywords == | ||
+ | do, fade | ||
[[Category:OpCodes]] | [[Category:OpCodes]] |
Revision as of 08:51, 16 January 2015
Description
- Fades the screen
Syntax
- 016A: fade [int1] [int2] ms
- fade [int1] [int2]
Parameter
- [int1]
- Fade stage (see below)
- [int2]
- Duration in milliseconds
This opcode allows the screen to fade in and fade back out. The color of the fade can be set through opcode 0169. The longer the time set to fade, the slower the screen will fade. As the screen fades in, game sounds will fade out, and vice versa. Use opcode 043C to prevent game sounds from being affected. The game is unable to be paused as the screen fades.
Stage | Enum |
---|---|
0 | FADE_OUT |
1 | FADE_IN |
Keywords
do, fade