Project1
标题:
Title的选项 坐标怎么改?
[打印本页]
作者:
地龙
时间:
2008-10-4 23:43
提示:
作者被禁止或删除 内容自动屏蔽
作者:
木葬枫
时间:
2008-10-4 23:47
#--------------------------------------------------------------------------
# ● 更新画面
#--------------------------------------------------------------------------
def update
super
@command_window.update
if Input.trigger?(Input::C)
case @command_window.index
when 0 #New game
command_new_game
when 1 # Continue
command_continue
when 2 # Boss Rush
command_new_game
$game_switches[1] = true
when 3 # 选项
command_new_game
$game_switches[2] = true
end
end
end
复制代码
#--------------------------------------------------------------------------
# ● 生成命令窗口
#--------------------------------------------------------------------------
def create_command_window
s1 = Vocab::new_game
s2 = Vocab::continue
s3 = "Boss Rush"
s4 = "小游戏"
@command_window = Window_Command.new(172, [s1, s2, s3, s4])
@command_window.x = (544 - @command_window.width) / 2
@command_window.y = 316 - @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
复制代码
代码
复制
[LINE]1,#dddddd[/LINE]
系统信息:本贴获得楼主认可,66RPG感谢您的热情解答~
作者:
木葬枫
时间:
2008-10-5 01:08
以后点认可答案·不是部分认可
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1