Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Easy Intro Script
#1
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


To use it paste the script before Main and follow the steps inside the script:

Code:
#-----------------------------------------------------------------
# Slipknot's Intro
#   to use it search in the Scene_Title:
#    $scene = Scene_Map.new
#   and change it for
#    $scene = SlipknotIntro.new
#-----------------------------------------------------------------
class SlipknotIntro
#-----------------------------------------------------------------
  def main
    @txt = IntroTxt.new(480); @time = 2; @txt.contents_opacity = 255
    Graphics.transition
    loop do
      Graphics.update; Input.update; update
      if $scene != self; break; end
    end
    Graphics.freeze; @txt.dispose
  end
#-----------------------------------------------------------------
  def update
    @txt.update
    if @time > 0; @time -= 1
    else; @time = 2; @txt.y -= 1; end
    if @txt.y  < 162; dissapear = false; end #change @txt.y < to the number that you want the text
                                                              #start to dissapear
    if dissapear == false; @txt.contents_opacity -= 1; end
    if @txt.contents_opacity < 15; $scene = Scene_Map.new; end
    if Input.trigger?(Input::B)
      sleep 0.05; $scene = Scene_Map.new; return
    end
    if Input.repeat?(Input::UP); @txt.y -= 5; end
  end
#-----------------------------------------------------------------
end
#-----------------------------------------------------------------
class IntroTxt < Window_Base
#-----------------------------------------------------------------
  def initialize(y=0)
    super(0,y,640,480); self.opacity = 0
    self.contents = Bitmap.new (width - 32, height - 32)
    self.contents.font.name = $defaultfonttype
    self.contents.clear
    t1="In the beginning doesn't exist the intro. The common"
    t2="people use the text boxes to make one, but it was ugly"
    t3="and complicate to edit."
    t4="Now, a guy called Slipknot make a simple script to make"
    t5="a nice intro easy to edit."
    t6="With that script you can make a dissapering text and make"
    t7="a slow or fast movement."
    o=26 #Change the distance of the text
    self.contents.draw_text(0,0,608,o,t1,1)
    self.contents.draw_text(0,o,608,o,t2,1)
    self.contents.draw_text(0,o*2,608,o,t3,1)
    self.contents.draw_text(0,o*4,608,o,t4,1)
    self.contents.draw_text(0,o*5,608,o,t5,1)
    self.contents.draw_text(0,o*7,608,o,t6,1)
    self.contents.draw_text(0,o*8,608,o,t7,1)
  end
#-----------------------------------------------------------------
end
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Change character script jaigai 0 2,737 11-19-2006, 01:00 PM
Last Post: jaigai
  Just a modification of Abyssos' facs script lumina... 0 2,589 11-01-2006, 01:00 PM
Last Post: lumina...
  Credit Script 1.1 acoole 0 2,416 10-24-2006, 01:00 PM
Last Post: acoole
  Script Dev Kit Nick 0 2,793 10-15-2006, 01:00 PM
Last Post: Nick
  Opening Image script sasuke89 0 2,020 07-24-2006, 01:00 PM
Last Post: sasuke89
  Change Color of The diferent Status Script MASTERLOKI 0 2,267 07-18-2006, 01:00 PM
Last Post: MASTERLOKI
  Event Name and ID Search Script Hadriel 0 2,026 06-21-2006, 01:00 PM
Last Post: Hadriel
  Currency Script Split 0 2,273 05-18-2006, 01:00 PM
Last Post: Split
  Book Script and Utility Bruth 0 2,216 05-07-2006, 01:00 PM
Last Post: Bruth
  Individuality Script DrakoShade 0 2,175 03-12-2006, 01:00 PM
Last Post: DrakoShade



Users browsing this thread: