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,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
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
40,098
Reaction score
13,704
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
40,098
Reaction score
13,704
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
40,098
Reaction score
13,704
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 Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top