Project1
标题:
制作avg怎么能按某个键让对话框消失,再按又出来继续
[打印本页]
作者:
皇鹧玲
时间:
2007-7-28 17:59
提示:
作者被禁止或删除 内容自动屏蔽
作者:
皇鹧玲
时间:
2007-7-28 17:59
提示:
作者被禁止或删除 内容自动屏蔽
作者:
闪电
时间:
2007-7-28 18:06
条件分歧,设置按下某键对话框消失,按下某键对话框出现
这里的消失和出现是通过公共事件设置的
作者:
纯子
时间:
2007-7-28 18:30
应该是在脚本里设置一个按键分歧窗口visible=false吧
在 # 取消
if Input.trigger?(Input::B)
if $game_temp.choice_max > 0 and $game_temp.choice_cancel_type > 0
$game_system.se_play($data_system.cancel_se)
$game_temp.choice_proc.call($game_temp.choice_cancel_type - 1)
terminate_message
end
end
上面加上
if Input.trigger?(Input::A)
if $game_switches[1]==false
self.visible = false
$game_switches[1]=true
else
self.visible = true
$game_switches[1]=false
end
end
作者:
快乐不打烊
时间:
2007-7-28 18:50
应该用脚本吧,按楼上说的试试~
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1