Project1
标题:
关于胜利动态
[打印本页]
作者:
繁星乄纬帅
时间:
2007-12-24 21:46
提示:
作者被禁止或删除 内容自动屏蔽
作者:
繁星乄纬帅
时间:
2007-12-24 21:46
提示:
作者被禁止或删除 内容自动屏蔽
作者:
0飘絮0
时间:
2007-12-25 05:00
主站上有这个,自己去找吧
(貌似这句话是废话……不知道下次还要不要说……)
作者:
孤独少帅
时间:
2007-12-25 05:29
在scene_batlle 2里
#--------------------------------------------------------------------------
# ● 开始结束战斗回合
#--------------------------------------------------------------------------
def start_phase5
# 转移到回合 5
@phase = 5
for actor in $game_party.actors
actor.battler_name = actor.battler_name + "★5"
end
# 演奏战斗结束 ME
$game_system.me_play($game_system.battle_end_me)
# 还原为战斗开始前的 BGM
$game_system.bgm_play($game_temp.map_bgm)
# 初始化 EXP、金钱、宝物
exp = 0
gold = 0
treasures = []
# 循环
彩色部分加上去就可以了 呵呵 不用公共事件也可以有胜利动作了 哇卡卡
在研究开场动作的设置 不知道大家有没有什么好的设置哦 不用公共事件的
--------------------------------------------------------------------------------
作者:
呵呵 开场动作也设置出来了 不过比较短 不知道有没有人能修正一下
还是在scene_batlle 2里
class Scene_Battle
#--------------------------------------------------------------------------
# ● 开始自由战斗回合
#--------------------------------------------------------------------------
def start_phase1
for actor in $game_party.actors
actor.battler_name = actor.battler_name + "★5"
end
# 转移到回合 1
@phase = 1
# 清除全体同伴的行动
$game_party.clear_actions
# 设置战斗事件
setup_battle_event
end
#--------------------------------------------------------------------------
# ● 刷新画面 (自由战斗回合)
#--------------------------------------------------------------------------
def update_phase1
# 胜败判定
if judge
# 胜利或者失败的情况下 : 过程结束
return
end
# 开始同伴命令回合
start_phase2
end
#--------------------------------------------------------------------------
# ● 开始同伴命令回合
#--------------------------------------------------------------------------
def start_phase2
# 转移到回合 2
@phase = 2
# 设置角色为非选择状态
for actor in $game_party.actors
actor.battler_name = actor.battler_name.split(/★/)[0]
end
@actor_index = -1
@active_battler = nil
# 有效化同伴指令窗口
@party_command_window.active = true
@party_command_window.visible = true
# 无效化角色指令窗口
@actor_command_window.active = false
@actor_command_window.visible = false
# 清除主回合标志
$game_temp.battle_main_phase = false
# 清除全体同伴的行动
$game_party.clear_actions
# 不能输入命令的情况下
unless $game_party.inputable?
# 开始主回合
start_phase4
end
end
作者:
孤独少帅
时间:
2007-12-25 05:30
http://rpg.blue/web/htm/news560.htm
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1