Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:
- # [Xp/VX-VXA] Simple Splash Screen
- # Version: 1.00
- # Author : LiTTleDRAgo
- #:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:
- SPLASH_IMAGE = 's2'
- begin
- sprite = Sprite.new
- cache = defined?(Window_ActorCommand) ? Cache : RPG::Cache
- sprite.bitmap = cache.picture(SPLASH_IMAGE)
- Graphics.transition
- (0..120).each {|i| [Graphics,Input].each {|s| s.update}
- sprite.opacity -= 5 if i > 40
- break if Input.trigger?(Input::C) || sprite.opacity <= 0}
- sprite.dispose
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement