Dark_Paladin

Simple Logo 1.2

May 7th, 2013
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.64 KB | None | 0 0
  1. module Logo
  2. ###############################################################################
  3. # DKP Simple Logo 1.2
  4. # Platform: VX Ace
  5. # Author: Dark Paladin
  6. # Description: A very basic logo script.
  7. # Terms of use: You may use this script any way you see fit. Commercial or not.
  8. # no credit is needed but appriciated.
  9. ###############################################################################
  10.  
  11. #------------------------------------------------------------------------------
  12. # Config Area
  13. #------------------------------------------------------------------------------
  14.       LOGOGRAPHIC = true        #show logo graphic from "Graphics/Logo" true/false
  15.             MUSIC = true        #Play logo music from "Audio/Logo" true/false
  16.            Lmusic = "logo"      #Change the Grapic file name here
  17.            Lgraph = "logo"      #change the Audio file name here
  18. end
  19. #------------------------------------------------------------------------------
  20. # Def music
  21. #------------------------------------------------------------------------------
  22.      def music
  23.      Audio.bgm_play("Audio/Logo/" + (Logo::Lmusic), 100, 100)
  24.   end
  25.      def show_logo
  26.      sprite = Sprite.new
  27.      Graphics.fadeout(0)
  28.      sprite.bitmap = Cachext.logo(Logo::Lgraph)
  29.      Graphics.fadein(220)
  30.      Graphics.wait(180)
  31.      RPG::BGM.stop
  32.      Graphics.fadeout(30)
  33.      Graphics.wait(80)
  34.      Graphics.fadein(0)
  35.    end
  36. #------------------------------------------------------------------------------
  37. # Execute
  38. #------------------------------------------------------------------------------
  39.  if Logo::MUSIC
  40.      music
  41.   end
  42.  if Logo::LOGOGRAPHIC
  43.      show_logo
  44.   end
Advertisement
Add Comment
Please, Sign In to add comment