Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =begin
- Name: Basic Movie Before Title
- Author: Kio Kurashi
- Code level: Begginner
- Notes: Free for both Commercial and Non-Commercial projects.
- Please provide credit to the author.
- This script provides a single unskipable movie clip before the title scene.
- =end
- module Config
- # Here is where you will define the name of the video located in
- # the Movies folder of your project. Remember that RPG Maker only
- # uses OGV format. As such the Extension can be left off in the name.
- # Example: IntroName = "TestVid"
- IntroName = "TestVid"
- # It can get tot be pretty annoying durring testing. Change this to false
- # if you don't want to see the video everytime you playtest.
- TestView = true
- end
- ####### DO NOT EDIT BEYOND THIS POINT #######
- module SceneManager
- include Config
- def self.first_scene_class
- $BTEST ? Scene_Battle : TestView ? Scene_IntroClip : Scene_Title
- end
- end
- class Scene_IntroClip < Scene_Base
- include Config
- def start
- super
- p "Playing Intro Movie"
- Graphics.play_movie('Movies/' + IntroName) unless IntroName.empty?
- end
- end
Add Comment
Please, Sign In to add comment