Difference between revisions of "016A"
Jump to navigation
Jump to search
m |
|||
Line 5: | Line 5: | ||
| syntax1 = 016A: fade [''int1''] [''int2''] ms | | syntax1 = 016A: fade [''int1''] [''int2''] ms | ||
| syntax2 = fade [''int1''] [''int2''] | | syntax2 = fade [''int1''] [''int2''] | ||
− | | p1t = ['' | + | | p1t = [''int2''] |
− | | p1d = | + | | p1d = Duration in milliseconds |
− | | p2t = ['' | + | | p2t = [''int1''] |
− | | p2d = | + | | p2d = Fade stage ([[#Fade stages|see below]]) |
}} | }} | ||
Latest revision as of 00:09, 20 November 2016
- Description
- Fades the screen
- Syntax
- 016A: fade [int1] [int2] ms
- fade [int1] [int2]
- Parameter
- [int2]
- Duration in milliseconds
- [int1]
- Fade stage (see below)
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.
Fade stages
Stage | Enum | Notes |
---|---|---|
0 | FADE_OUT | Fade out of game into color |
1 | FADE_IN | Fade out of color into game |
Keywords
do, fade