class Scene_Title
def create_command_window
s1 = Vocab::new_game
s2 = Vocab::continue
s3 = Vocab::shutdown
s4 = "啊啊啊啊"
s5 = "啊啊啊啊啊"
@command_window = Window_Command.new(172, [s1, s2, s3, s4, s5])
@command_window.x = (544 - @command_window.width) / 2
@command_window.y = 416 - @command_window.height - 20
if @continue_enabled # 继续有效的情况下
@command_window.index = 1 # 光标位置符合
else # 无效的情况下
@command_window.draw_item(1, false) # 指令以半透明显示
end
@command_window.openness = 0
@command_window.open
end
def update
super
@command_window.update
if Input.trigger?(Input::C)
case @command_window.index
when 0 # 新游戏
command_new_game
when 1 # 继续
command_continue
when 2 # 退出
command_shutdown
when 3
command_new_game
$game_switches[1] = true
when 4
command_new_game
$game_switches[2] = true
end
end
end
end
以下引用IamI于2008-9-21 9:44:56的发言:
其实我每次看到这样的帖子第一感觉就是:有一个ssd诞生了= =
按下面两个会也一样开始游戏,但是请按下F9查看开关一号二号||||-_-
其实我很懒的。
以下引用drgdrg于2008-9-21 9:47:16的发言:
按F9什么意思?游戏中按了没反应
以下引用八云紫于2008-9-21 9:52:10的发言:
Debug 的时候才可以使用。 用来手动调节开关和变量。
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |