Project1
标题:
请教变更字体的颜色!
[打印本页]
作者:
gjz010
时间:
2008-5-11 02:49
标题:
请教变更字体的颜色!
#==============================================================================
# ■ Window_Gold
#------------------------------------------------------------------------------
# 显示金钱的窗口。
#==============================================================================
class Window_Gold < Window_Base
#--------------------------------------------------------------------------
# ● 初始化对像
# x : 窗口 X 座标
# y : 窗口 Y 座标
#--------------------------------------------------------------------------
def initialize(x, y)
super(x, 180, 160, WLH*3 + 32)
refresh
end
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
self.contents.clear
draw_currency_value($game_party.gold, 4, 0, 120)
self.contents.draw_text(50, 20,250, WLH,$game_variables[7])
self.contents.draw_text(50, 40, 210, WLH,$game_variables[8])
self.contents.draw_text(0, 20, 250, WLH,"魂魄:")
self.contents.draw_text(0, 40, 210, WLH,"灵力:")
end
end
复制代码
我想把上面的语句输出的文字:
self.contents.draw_text(50, 20,250, WLH,$game_variables[7])
self.contents.draw_text(50, 40, 210, WLH,$game_variables[8])
把它们的颜色变成白色,怎么办? [LINE]1,#dddddd[/LINE]
版务信息:本贴由楼主自主结贴~
作者:
沉影
时间:
2008-5-11 02:58
提示:
作者被禁止或删除 内容自动屏蔽
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1