赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 11 |
经验 | 3139 |
最后登录 | 2017-8-24 |
在线时间 | 226 小时 |
Lv3.寻梦者
- 梦石
- 0
- 星屑
- 1085
- 在线时间
- 226 小时
- 注册时间
- 2010-4-16
- 帖子
- 87
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 as853484572 于 2011-7-14 14:06 编辑
比图片标题华丽的标题
效果图:
脚本:
- #=====================================================
- #~Rafidelis FE Title
- # By Rafidelis ( xD )
- # [email][email protected][/email]
- # [url]www.ReinoRpg.com[/url]
- # Creditos: Mog Hunter por criar a versão para RMXP
- # Data: 30/11/08 ( Falta pouco para 2009)
- #====================================================
- #====================================================
- #~Instruções:
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- # Cole acima do Main,depois configure o resto no
- # modulo Rafidelis,logo abaixo.
- #====================================================
- #====================================================
- # ~INICIO DAS CONFIGURAÇÕES
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- module Rafidelis
- FE_COMMAND_PIC_NAMES = [
- "newgame", # Nome da Imagem de Novo Jogo
- "continue", # Nome da Imagem de Load Game
- "exit" # Nome da Imagem Sair
- ]
- BACK_PIC_NAME = "back"
- TRANSITION_NAME = "Transition" # Nome da Transição
- TRANSITION_TIME = 90 # Tempo de Transição
- end
- #====================================================
- # ~FIM DAS CONFIGURAÇÕES E INICIO DO SCRIPT
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- class Scene_Title < Scene_Base
- include Rafidelis
- alias rafidelis_fe_vx_title_start start
- def start
- rafidelis_fe_vx_title_start
- create_fe_title_options
- @command_window.opacity = 0
- @command_window.contents_opacity = 0
- end
-
- def create_fe_title_options
- @back = Plane.new
- @back.bitmap = Cache.picture(BACK_PIC_NAME)
- @back.z = 0
- @back.opacity = 250
- @back.blend_type = 1
- @back2 = Plane.new
- @back2.bitmap = Cache.picture(BACK_PIC_NAME)
- @back2.z = 0
- @back2.opacity = 90
- Graphics.transition(TRANSITION_TIME, "Graphics/Pictures/#{TRANSITION_NAME}",60)
- @newgame = Sprite.new
- @newgame.bitmap = Cache.picture(FE_COMMAND_PIC_NAMES[0])
- @newgame.x = -300
- @newgame.y = (Graphics.height - @newgame.height)/1.5
- @continue = Sprite.new
- @continue.bitmap = Cache.picture(FE_COMMAND_PIC_NAMES[1])
- @continue.x = 600
- @continue.y = @newgame.y + @continue.height + 3
- @exitgame = Sprite.new
- @exitgame.bitmap = Cache.picture(FE_COMMAND_PIC_NAMES[2])
- @exitgame.x = -300
- @exitgame.y = @continue.y + @exitgame.height + 3
- end
-
- alias rafidelis_fe_vx_title_update update
- def update
- rafidelis_fe_vx_title_update
- @back.ox += 1
- @back.oy += 2
- @back2.ox -= 1
- @back2.oy += 2
- if @newgame.x < (Graphics.width - @newgame.width)/2
- @newgame.x += 10
- end
- if @continue.x > (Graphics.width - @continue.width)/2 + 10
- @continue.x -= 10
- end
- if @exitgame.x < (Graphics.width - @exitgame.width)/2
- @exitgame.x += 10
- end
- @newgame.opacity += 10 if @newgame.opacity < 255
- @continue.opacity += 10 if @continue.opacity < 255
- @exitgame.opacity += 10 if @exitgame.opacity < 255
- case @command_window.index
- when 0
- @newgame.tone = Tone.new(0,0,0)
- @continue.tone = Tone.new(0,0,0,255)
- @exitgame.tone = Tone.new(0,0,0,255)
- if @newgame.opacity >= 255
- @newgame.opacity = 0
- end
- when 1
- @newgame.tone = Tone.new(0,0,0,255)
- @continue.tone = Tone.new(0,0,0)
- @exitgame.tone = Tone.new(0,0,0,255)
- if @continue.opacity >= 255
- @continue.opacity = 0
- end
- when 2
- @newgame.tone = Tone.new(0,0,0,255)
- @continue.tone = Tone.new(0,0,0,255)
- @exitgame.tone = Tone.new(0,0,0)
- if @exitgame.opacity >= 255
- @exitgame.opacity = 0
- end
- end
- end
-
- def terminate
- @newgame.dispose
- @continue.dispose
- @exitgame.dispose
- @back.dispose
- @back2.dispose
- @sprite.dispose
- end
- end
- #===============================================================================
- # FIM DO SCRIPT - Encontre mais Scripts de Rafidelis em [url]www.ReinoRpg.com/forum[/url]
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
复制代码
范例:
Project8.zip
(376.47 KB, 下载次数: 1293)
|
评分
-
查看全部评分
|