Project1
标题:
清爽血条我方姓名
[打印本页]
作者:
小包子
时间:
2008-4-18 01:37
提示:
作者被禁止或删除 内容自动屏蔽
作者:
水迭澜
时间:
2008-4-18 03:27
draw_actor_name(actor, i * 50 + 350,i * -30 + 354)
找到这一行,改为
self.contents.font_color = Color.new(r,g,b,a)
self.contents.draw_text(i * 50 + 350, i * -30 + 354, 200, 32,actor.name)
self.contents.font_color = normal_color
# r,g,b,a 需要你自己改成数字
大概这样吧……很久没用RMXP有点模糊了
作者:
小包子
时间:
2008-4-18 19:44
提示:
作者被禁止或删除 内容自动屏蔽
作者:
禾西
时间:
2008-4-18 19:51
Window_Base 122 行 self.contents.font.color = Color.new(?,?,?,?)
作者:
雪流星
时间:
2008-4-18 20:28
要重载draw_actor_name
Window_Base里面定义了颜色
怎麽改都是白色
在最後一个end前面插入
def draw_actor_name(actor, x, y)
self.contents.font.color = Color.new(
R值
,
G值
,
B值
,
A值
)
self.contents.draw_text(x, y, 120, 32, actor.name)
end
[LINE]1,#dddddd[/LINE]
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1