Project1
标题:
新人求教怎么RMXP怎么设置开头动画
[打印本页]
作者:
chenjianwei
时间:
2014-6-15 23:48
标题:
新人求教怎么RMXP怎么设置开头动画
看了一些的教程但是不大会,请问哪位大大可以发个脚本来参考下吗?万分感激
作者:
天地有正气
时间:
2014-6-16 17:40
给你一个比较简单的:过渡一张图片
sprite = Sprite.new # 生成实例
sprite.bitmap = Bitmap.new("Graphics\Titles\logo") # 指定Bitmap,文件存放在Graphics/Titles/,命名为logo
sprite.opacity = 0
while sprite.opacity < 255
sprite.opacity += 10
Graphics.update
end
while sprite.opaicty > 0
sprite.opacity -= 10
Graphics.update
end
sprite.bitmap.dispose
sprite.dispose
复制代码
未经测试,有bug告诉我……
作者:
chenjianwei
时间:
2014-6-16 17:58
天地有正气 发表于 2014-6-16 17:40
给你一个比较简单的:过渡一张图片未经测试,有bug告诉我……
先试试,万分感谢大大
作者:
wolves
时间:
2014-6-16 18:25
貌似你可以跳过标题,在第一页显示动画后自己虚拟一个游戏标题画面,附上脚本。
#==============================================================================
# 本脚本来自www.66RPG.com,使用和转载请保留此信息
#==============================================================================
class Scene_Title
#==============================================================================
# 脚本作者:朱仔メ龍 QQ:251724722
# 脚本转载请保留以上信息
#==============================================================================
def main
$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,使用和转载请保留此信息
#==============================================================================
复制代码
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1