class Window_Base < Window
#--------------------------------------------------------------------------
# ● 名前の描画
#--------------------------------------------------------------------------
def draw_actor_name(actor, x, y, width = 120, align = 0)
self.contents.font.color = normal_color
align = 1 if $scene.is_a?(Scene_Battle)
self.contents.draw_text(x, y, width, 32, actor.name, align)
end
/QUOTE]
替换成
[quote]
class Window_Base < Window
#--------------------------------------------------------------------------
# ● 名前の描画
#--------------------------------------------------------------------------
def draw_actor_name(actor, x, y, width = 120, align = 0)
if $scene.is_a?(Scene_Battle)
align = 1
self.contents.font.color = Color.new(这里填写颜色RGBA)
else
self.contents.font.color = normal_color
end
self.contents.draw_text(x, y, width, 32, actor.name, align)
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |