[VXA] Break Video

mgnesium

the maverick
Member
Joined
Jun 16, 2016
Messages
6
Reaction score
0
First Language
English
Primarily Uses
Previously, I used Nicke's Pre-Title script to play a video before the game began. However, there was a script conflict, so I resorted to the following in Main: 


"Graphics.play_movie("Movies/Oz-Opening")
Graphics.fadeout(12)
rgss_main { SceneManager.run }"


This works perfectly fine. However, I'd like to "break" the video if the user presses <Enter> or <Space> (for example). This would terminate the video at input, leading to the "rgss_main { SceneManager.run }" for smooth sailing. I figure the line has something to do with break if Input.trigger?:)C) and update, but messing around has led to fruitless hours. 


Could anyone please lend a helping hand? Thank you very much! :)
 
Last edited by a moderator:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
The method for playing a movie is not handled in the scripts found in the script editor, so there is no way to make what you ask there.


You will either need to modify the default dll (which is prohibited) or make your own dll to handle this (or better to say, to make your own movie playback class/module).


As a matter of fact, finding anything about the play_movie method in the Graphics module seems to be impossible. 


All of the sites which even list this just show an empty method for it. 


Either no one knows what that method does exactly, or it's not allowed to post it publicly. 


This is the first time Google failed me! Well, everything must start somewhere... sometimes, I guess.
 

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,868
Messages
1,017,066
Members
137,576
Latest member
SadaSoda
Top