赞 | 0 |
VIP | 3 |
好人卡 | 18 |
积分 | 2 |
经验 | 72569 |
最后登录 | 2023-12-30 |
在线时间 | 596 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 229
- 在线时间
- 596 小时
- 注册时间
- 2010-6-21
- 帖子
- 1218
|
个人推荐用字幕脚本,字幕占地小,剩制作
给你几个脚本,我这的字幕版本太多
给你几个吧- #==============================================================================
- # 本脚本来自www.66RPG.com,使用和转载请保留此信息
- #==============================================================================
- #——————————————————————————————————————
- # Scene_Credit 制作人员名单
- #——————————————————————————————————————
- #——使用注意:默认会返回地图,如果需要返回开头,请将本脚本中的
- #return_scene = Scene_Map.new改为return_scene = Scene_Title.new
- class Scene_Credit
- CREDIT=<<_END_
-
-
-
- 本版本为AVG精装版1.05
- AVG整合:Tranpol
- 脚本一览
- 回忆系统 BY Benavii
- 事件版CG系统 BY Tranpol
- 自动全屏
- 鼠标脚本
- 鼠标认图形脚本 BY 灼眼的夏娜
- GIF播放脚本 BY 灼眼的夏娜
- 新天气系统 BY ScriptKitty and Mr.DJ
- AVI播放器 BY FantasyDR
- 真·对话加强脚本的加强 1.12 BY IKKI debug:叶子
- 真·地震 BY 亿万星辰
- 文字使用图片效果ver.1.00(05/10/06)
- by 箱入小屋http://aea.to/hako/ 翻译:天狼星1110
- 自动识动剧本脚本 BY 柳柳
- 千千静听自动淡入淡出BGM BY 柳柳
- 字幕脚本
- PS:以上有部分脚本已惨遭俺虐待
- 如果要CO脚本
- 建议最好还是去CO原版为好
- 如要修改请在脚本中找#AVG
- 可以看一下俺的研究
- 改起来会更方便
- _END_
- end
- class Scene_Credit
- def initialize(return_scene = nil)
- #@sprite = Sprite.new
- #@sprite.bitmap = Bitmap.new("Graphics/Pictures/end.jpg")
- #@sprite.x = 0
- #@sprite.y = 0
- if return_scene.nil?
- return_scene = Scene_Title.new
- end
- @return_scene = return_scene
- end
- =begin
- def scene_start
- credit_lines = CREDIT.split(/\n/)
- credit_bitmap = Bitmap.new(640,32 * credit_lines.size)
- credit_lines.each_index do |i|
- line = credit_lines[i]
- credit_bitmap.draw_text(0,i * 32,640,32,line,1)
- end
- @credit_sprite = Sprite.new(Viewport.new(0,50,640,380))
- @credit_sprite.bitmap = credit_bitmap
- @credit_sprite.oy = -430
- @frame_index = 0
- @last_flag = false
- end
- def scene_end
- @credit_sprite.dispose
- #@sprite.dispose
- end
-
- def last?
- return (@frame_index >= @credit_sprite.bitmap.height + 480)
- end
-
- def last
- if not @last_flag
- Audio.bgm_fade(10000)
- @last_flag = true
- @last_count = 0
- else
- @last_count += 1
- end
- if @last_count >= 300
- $scene = @return_scene
- end
- end
-
- def update
- @frame_index += 1
- return if cancel?
- last if last?
- @credit_sprite.oy += 1
- end
- =end
-
- def scene_start
- credit_lines = CREDIT.split(/\n/)
- credit_bitmap = Bitmap.new(640,32 * credit_lines.size)
-
- pic_bitmap = Bitmap.new("Graphics/Pictures/end.jpg")
- @pic_sprite = Sprite.new(Viewport.new(0,50,640,380))
- @pic_sprite.bitmap = pic_bitmap
- @pic_sprite.oy = -380
-
- credit_lines.each_index do |i|
- line = credit_lines[i]
- credit_bitmap.draw_text(0,i * 32,640,32,line,1)
- end
-
- @credit_sprite = Sprite.new(Viewport.new(0,50,640,380))
- @credit_sprite.bitmap = credit_bitmap
- @credit_sprite.oy = -380
-
- @frame_index = 0
- @last_flag = false
- end
- def scene_end
- @credit_sprite.dispose
- end
-
- def line_last?
- return (@frame_index >= @credit_sprite.bitmap.height)
- end
-
- def last?
- return (@frame_index >= @credit_sprite.bitmap.height + 844)
- end
-
- def last
- if not @last_flag
- Audio.bgm_fade(10000)
- @last_flag = true
- @last_count = 0
- else
- @last_count += 1
-
- @pic_sprite.opacity -= 2 if (@pic_sprite.opacity >= 0) and (@last_count >= 20)
- end
- if @last_count >= 300
- $scene = nil
- end
- end
-
- def update
- @frame_index += 1
-
- if last?
- last
- elsif line_last?
- @pic_sprite.oy += 1
- end
-
- @credit_sprite.oy += 1
-
- end
-
-
- def cancel?
- if Input.trigger?(Input::B)
- $scene = @return_scene
- return true
- end
- return false
- end
- def main
- scene_start
- # 过渡
- Graphics.transition
- # 主循环
- loop do
- Graphics.update
- Input.update
- update
- if $scene != self
- break
- end
- end
- # 准备过渡
- Graphics.freeze
- scene_end
- end
- end
- #==============================================================================
- # 本脚本来自www.66RPG.com,使用和转载请保留此信息
- #==============================================================================
-
复制代码 |
评分
-
查看全部评分
|