Play movie upon load

Status
Not open for further replies.

Simply Ryan

Villager
Member
Joined
Sep 7, 2013
Messages
5
Reaction score
1
First Language
English
Primarily Uses
Hello all, I just wanted to ask a quick question when it comes to the "Scene_Load" script. Would it be possible to edit the last part of the script, see below, to play an .ogv movie before actually loading the file instead of playing the sound? If I can, would there be anything else I'd have to edit? Thanks in advance for any help given.

  #--------------------------------------------------------------------------
  # * Processing When Load Is Successful
  #--------------------------------------------------------------------------
  def on_load_success
    Sound.play_load
    fadeout_all
    $game_system.on_after_load
    SceneManager.goto(Scene_Map)
  end
end
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,662
Reaction score
2,982
First Language
Tagalog
Primarily Uses
of course you can... just add a call for playing a movie maybe before the scene manager call
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,479
Reaction score
12,024
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
 

Simply Ryan

Villager
Member
Joined
Sep 7, 2013
Messages
5
Reaction score
1
First Language
English
Primarily Uses
of course you can... just add a call for playing a movie maybe before the scene manager call
Okay, yeah, I can understand that. I forgot to mention that my skill in coding is minimal; the most I can do is a little bit of tinkering and guess'n'check stuff. How exactly would I be able to call the video though is what I'm wondering? My bad.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,479
Reaction score
12,024
First Language
English
Primarily Uses
RMMV
You can play a movie via an event command. So that means the Game_Interpreter script has the script equivalent of that command.


It's this:

Code:
Graphics.play_movie('Movies/moviename')
without the .ogv extension.
 

Simply Ryan

Villager
Member
Joined
Sep 7, 2013
Messages
5
Reaction score
1
First Language
English
Primarily Uses
Thanks, it works like how it should. I appreciate the help!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,479
Reaction score
12,024
First Language
English
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

putting a puzzle in my game that BSODs the player's computer if they complete it
I finally got a book out the door after seven years of nothing \^-^/ Now if I can get a game out the door too, that'd be great...
MY GAME IS NOW OFFICIALLY RELEASED!!
*FurAffinity is down*
*Sets house on fire*
This is fine.

Forum statistics

Threads
94,363
Messages
920,257
Members
124,124
Latest member
etiennasse
Top