Difference between revisions of "016A"
Jump to navigation
Jump to search
(Created page with '{{OpCode | ini = 016a=2,fade %2d% time %1d% | description = Fades the screen in or out. | p1 = 1 = fade in, 0 = fade out | p2 = time in ms | game …') |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{Icon|trilogy}} '''DO_FADE''' |
− | | | + | <hr /> |
− | + | <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| | |
− | + | '''Description''' | |
− | + | : Fades the screen | |
− | + | '''Syntax''' | |
− | + | : 016A: fade [''int1''] [''int2''] ms | |
+ | : fade [''int1''] [''int2''] | ||
+ | '''Parameter''' | ||
+ | : [''int1''] | ||
+ | :: 0 = fade out, 1 = fade in | ||
+ | : [''int2''] | ||
+ | :: Duration in milliseconds | ||
− | This opcode | + | 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. |
+ | }}</onlyinclude> | ||
− | + | [[Category:OpCodes]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[Category: |
Revision as of 11:00, 26 January 2012
Description
- Fades the screen
Syntax
- 016A: fade [int1] [int2] ms
- fade [int1] [int2]
Parameter
- [int1]
- 0 = fade out, 1 = fade in
- [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.