The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Mitsarugi on June 18, 2010, 12:04:21 PM

Title: [RESOLVED] Splash logo script with skip function
Post by: Mitsarugi on June 18, 2010, 12:04:21 PM
Updated the script with the skip logo patch by modern algebra ,so other people can use the script ^^
could an admin move this to the script sharing section plz? :)

i deserve no credit for this!


the script:

[Spoiler]
#==============================================================================
# ** Scene Logo  V1.7
# SceneLogo.rb von Dëvic, Isaacsol, Lux (24.12.2008)
#------------------------------------------------------------------------------
# http://www.rpg-studio.de/scriptdb/node/239
# http://www.rpg-studio.de/forum/index.php?page=Thread&threadID=64
# http://www.rpgvx.net/index.php/topic,481.0.html
# http://www.rpgmakervx.net/index.php?showtopic=974
#==============================================================================

#==============================================================================
# ** Scene_Logo 1.7 RGSS2
# Script and RGSS2 debugging by Dëvic
# Support and RGSS1 debuggin by Isaacsol
# Version history:
#   ~ 07.03.08 :: First version released with fade effects, image delaying and
#                 unlimited number of logo images.
#   ~ 10.03.08 :: Version 1.7 released with beta Audio processing; plays all
#                 types of Audio (BGM, BGS, SE & ME), but just one through all
#                 the Scene. It is possible to disable Audio.
#------------------------------------------------------------------------------
# Shows on the screen the logos on startup. Compatible only with RGSS2!
#   Questions, acknowledgments and requests should be taken on the Thread at:
#   English thread:
#   http://www.rpgmakervx.net/index.php?showtopic=974
#   Portuguese thread:
#   http://www.rpgmakerbrasil.com/forum/f43/rmvx-scene-logo-1-7-rgss2-552.html
#==============================================================================

class Scene_Logo
  # Audio types Constant; leave it as nil to disable Audio.
  # Standard value: %w( BGM BGS ME SE )
  AudioTypes = %w( nil )

  # The Method here the options are customised.
  def initialize
    # Include in this array the logo(s) image(s), there is no limit for the
    # array's size.
    @img = [ 'Enterbrain', 'logorpgmvx', 'Title2' ]
    # Here, set 'true' if you want to have a fade in and fade out effect,
    # otherwise set to 'false'.
    @fade = true
    # Choose the amount of time taken to make the fade in/out effects (in
    # frames).
    # Standard: 20 frames.
    @fade_delay = 20
    # Choose the wait time (in frames [1/60 seconds]) that a logo image shall
    # stay in the screen.
    # Standard: 120 frames.
    @delaying = 120
    # General audio instance variable array; first three values are:
    # "Audio name", "Volume" and "Pitch"; next one is the type, based on the
    # constant AudioTypes
Title: Re: [REQUEST] please help me make this little modification
Post by: modern algebra on June 18, 2010, 01:33:12 PM
Try replacing this line:


Graphics.wait(@delaying)


with:


@delaying.times do
  Graphics.update
  Input.update
  break if Input.trigger? (Input::C)
end


I'm at work right now, so I can't test it or think about it, but give it a try.
Title: Re: [REQUEST] please help me make this little modification
Post by: Mitsarugi on June 18, 2010, 08:35:51 PM
thank you my friend i'll try it right away ^^


EDIT: works like a charm, thanks :) love your scripts btw ^^