Project1
标题:
标题画面的问题
[打印本页]
作者:
星辰天羽
时间:
2008-11-22 20:06
标题:
标题画面的问题
如何做到有记录档案则冻结新游戏选项? [LINE]1,#dddddd[/LINE]
版务信息:本贴由楼主自主结贴~
作者:
雪流星
时间:
2008-11-22 21:09
def create_command_window
s1 = Vocab::new_game
s2 = Vocab::continue
s3 = Vocab::shutdown
@command_window = Window_Command.new(172, [s1, s2, s3])
@command_window.x = (544 - @command_window.width) / 2
@command_window.y = 288
# 注意這裡
if @continue_enabled # 如果「繼續」有效
@command_window.index = 1 # 將游標移至「繼續遊戲」
else # 否則則將「繼續遊戲」半透明化
@command_window.draw_item(1, false)
end
@command_window.openness = 0
@command_window.open
end
還有這裡
def command_continue
if @continue_enabled
# 這裡
Sound.play_decision
$scene = Scene_File.new(false, true, false)
else
Sound.play_buzzer
end
end
[LINE]1,#dddddd[/LINE]
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1