[Game]
Library=RGSS102J.dll
Scripts=Data\Scripts.rxdata
Title=增强型时间/日期窗口
RTP1=Standard
RTP2=
RTP3=
以下引用snstar2006于2007-8-4 19:45:12的发言:
多谢版主,只是不懂,为合适发布为教程而非脚本呢?
alias timedate_update update
def update
#如果时间日期功能开关为OFF则不显示时间窗口
if $game_switches[$time_date_running] == false
@time_window.visible = false
else
@time_window.visible = true
end # end if
@time_window.refresh
timedate_update
end # end def update
alias timedate_update update
def update
#如果时间日期功能开关为OFF则不显示时间窗口
if $game_switches[$time_date_running] == false
@time_window.visible = false
else
@time_window.visible = true
end # end if
if Graphics.frame_count % $min_rate == 0 <==加这行
@time_window.refresh
end # end if $total_sec % $min_rate ==0 <==还有这行
timedate_update
end # end def update
#------------------------------------------------------------------------
# ● 刷新
#------------------------------------------------------------------------
def update
super
if Graphics.frame_count / Graphics.frame_rate != @total_sec
end
end
end
以下引用小楼于2008-11-5 14:36:49的发言:
请问是第几个脚本的215行啊???什么内容???
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |