Difference between revisions of "ColorBGBeta"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
= [[Event_Instruction_31|{31} {{IE_31}}]] =
+
= {31} {{IE_31}} =
Colors gradually the background using preset and/or RGB colors based on its current state. Because the result is based on its previous state, this instruction cannot blend a homogeneous color except black. It cannot have any impact on pure black backgrounds either.
+
{{IE_31_ex}}
 +
 
 +
{{IE_31_desc}}
  
  
Line 19: Line 21:
  
 
== Red : Byte (signed) ==
 
== Red : Byte (signed) ==
Blue value of the RGB color.
+
Red value of the RGB color.
  
  
Line 30: Line 32:
  
  
== Time : Byte (unsigned) ==
+
{{FrameTimeByte}}
Time required to perform the whole instruction in tenths of second.
 
*050 = 5,0 seconds
 
*100 = 10,0 seconds
 
*255 = 25,5 seconds
 

Latest revision as of 15:42, 14 November 2021

{31} ColorBGBeta

ColorBGBeta(xPR,+RED,+GRN,+BLU,TIM)

Colors Background to new value based on the current coloration, allowing better blending but ineffective on pure-black backgrounds.


See Also: {2E} Background{32} ColorUnit{33} ColorField


Preset Color : Byte (hex)

You can mix the RGB color with any of the preset colors:

  • x01 : Night
  • x02 : Grayscale
  • x04 : Original palette?
  • x08 : Original palette?
  • x10 : Completely Black
  • x20 : Completely Black
  • x40 : Completely Black
  • x80 : Completely Black


Red : Byte (signed)

Red value of the RGB color.


Green : Byte (signed)

Green value of the RGB color.


Blue : Byte (signed)

Blue value of the RGB color.


Time : Byte (unsigned)

Time assigned in frames to complete the instruction. One frame is the equivalent of 1/60th of a second.

  • 030 = 0,5 second
  • 060 = 1 second
  • 120 = 2 seconds
  • 180 = 3 seconds
  • 255 = 4,25 seconds