Project1
标题:
魔塔 关于跳过标题脚本
[打印本页]
作者:
qq719078369
时间:
2014-6-18 13:37
标题:
魔塔 关于跳过标题脚本
我想做个事件标题,就用到了 跳过标题 的脚本。
接着,在测试的时候就发现上下楼会报错,
不用这个脚本的话就不会报错。
我自己是个脚本渣,错误什么的根本不懂,
求说明并修改一下,谢谢了。
跳过标题-魔塔.zip
(2.67 MB, 下载次数: 41)
2014-6-18 13:35 上传
点击文件名下载附件
网盘地址:
http://pan.baidu.com/s/1qW2mp1U
作者:
你欠抽吧
时间:
2014-6-18 15:39
#==============================================================================
# 本脚本来自www.66RPG.com,使用和转载请保留此信息
#==============================================================================
class Scene_Title
#==============================================================================
# 脚本作者:朱仔メ龍 QQ:251724722
# 脚本转载请保留以上信息
#==============================================================================
def main
$data_mapname = load_data("Data/MapInfos.rxdata")
$data_actors = load_data("Data/Actors.rxdata")
$data_classes = load_data("Data/Classes.rxdata")
$data_skills = load_data("Data/Skills.rxdata")
$data_items = load_data("Data/Items.rxdata")
$data_weapons = load_data("Data/Weapons.rxdata")
$data_armors = load_data("Data/Armors.rxdata")
$data_enemies = load_data("Data/Enemies.rxdata")
$data_troops = load_data("Data/Troops.rxdata")
$data_states = load_data("Data/States.rxdata")
$data_animations = load_data("Data/Animations.rxdata")
$data_tilesets = load_data("Data/Tilesets.rxdata")
$data_common_events = load_data("Data/CommonEvents.rxdata")
$data_system = load_data("Data/System.rxdata")
$game_system = Game_System.new
Graphics.frame_count = 0
$game_temp = Game_Temp.new
$game_system = Game_System.new
$game_switches = Game_Switches.new
$game_variables = Game_Variables.new
$game_self_switches = Game_SelfSwitches.new
$game_screen = Game_Screen.new
$game_actors = Game_Actors.new
$game_party = Game_Party.new
$game_troop = Game_Troop.new
$game_map = Game_Map.new
$game_player = Game_Player.new
$game_party.setup_starting_members
$game_map.setup($data_system.start_map_id)
$game_player.moveto($data_system.start_x, $data_system.start_y)
$game_player.refresh
$game_map.autoplay
$game_map.update
$scene = Scene_Map.new
end
end
#==============================================================================
# 本脚本来自www.66RPG.com,使用和转载请保留此信息
#==============================================================================
复制代码
魔塔样版的话要读取MapInfo的,这样就行了
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1