class Window_Base #-------------------------------------------------------------------------- # ● 获取各种文字颜色 #-------------------------------------------------------------------------- def hp_gauge_color1; text_color(20); end; # HP 值槽 1 def hp_gauge_color2; text_color(21); end; # HP 值槽 2 def mp_gauge_color1; text_color(22); end; # MP 值槽 1 def mp_gauge_color2; text_color(23); end; # MP 值槽 2 def tp_gauge_color1; text_color(28); end; # TP 值槽 1 def tp_gauge_color2; text_color(29); end; # TP 值槽 2 end
class Window_Base
#--------------------------------------------------------------------------
# ● 获取各种文字颜色
#--------------------------------------------------------------------------
def hp_gauge_color1; text_color(20); end; # HP 值槽 1
def hp_gauge_color2; text_color(21); end; # HP 值槽 2
def mp_gauge_color1; text_color(22); end; # MP 值槽 1
def mp_gauge_color2; text_color(23); end; # MP 值槽 2
def tp_gauge_color1; text_color(28); end; # TP 值槽 1
def tp_gauge_color2; text_color(29); end; # TP 值槽 2
end
在下面找个空档插入这段,自己把里面的text_color改成需要的颜色
写法是Color.new(红, 绿, 蓝, 透明度),自己根据需要填写各个颜色的数值,0~255
透明度一般都是255所以不用写,以你需要紫色为例:
Color.new(255, 0, 255)
|