Difference between revisions of "ColorScreen"
Jump to navigation
Jump to search
(Created page with "= {3E} {{IE_3E}} = Colors the whole screen, in different possible ways. The Initial Color is applied immediately, while the Target Color gradually changes with a given amount ...") |
m (Xifanie moved page Event Instruction 3E to ColorScreen) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= {3E} {{IE_3E}} = | = {3E} {{IE_3E}} = | ||
− | + | {{IE_3E_ex}} | |
− | + | {{IE_3E_desc}} | |
− | |||
− | |||
+ | To achieve black or any darker color, you need to set the [[#BM|Blending Mode]] to x02. | ||
− | |||
+ | See Also: [[Event_Instruction_2E|{2E} {{IE_2E}}]] ― [[Event_Instruction_31|{31} {{IE_31}}]] ― [[Event_Instruction_32|{32} {{IE_32}}]] ― [[Event_Instruction_33|{33} {{IE_33}}]] ― [[Event_Instruction_E5|{E5} {{IE_E5}}]](x0C,x00) | ||
− | == Blending Mode : Byte (hex) == | + | |
+ | == <span id="BM">Blending Mode : Byte (hex)</span> == | ||
*x00 Multiply (Colors are blended to existing graphics) | *x00 Multiply (Colors are blended to existing graphics) | ||
*x01 Normal (Creates an independent screen above all graphics, allowing pure colors) | *x01 Normal (Creates an independent screen above all graphics, allowing pure colors) |
Latest revision as of 15:03, 6 August 2020
Contents
{3E} ColorScreen
ColorScreen(xBM,IRD,IGR,IBL,TRD,TGR,TBL,+TIMER)
Colors the whole screen, in different possible ways. The Initial Color is applied immediately, while the Target Color gradually changes with a given amount of time assigned.
(255,255,255) is white while (000,000,000) is no coloration.
Not battle-friendly.
To achieve black or any darker color, you need to set the Blending Mode to x02.
See Also: {2E} Background ― {31} ColorBGBeta ― {32} ColorUnit ― {33} ColorField ― {E5} WaitForInstruction(x0C,x00)
Blending Mode : Byte (hex)
- x00 Multiply (Colors are blended to existing graphics)
- x01 Normal (Creates an independent screen above all graphics, allowing pure colors)
- x02 Normal with inverted colors (for both Initial and Target colors)
Initial Red : Byte (unsigned)
Red color of the RGB.
Initial Green : Byte (unsigned)
Green color of the RGB.
Initial Blue : Byte (unsigned)
Blue color of the RGB.
Target Red : Byte (unsigned)
Red color of the RGB.
Target Green : Byte (unsigned)
Green color of the RGB.
Target Blue : Byte (unsigned)
Blue color of the RGB.
Time : Half-Word (signed)
Time in frames to complete the operation. A frame is the equivalent of 1/60th of a second.
- +00060 = 1 second
- +00120 = 2 seconds
- +00300 = 5 seconds