The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: DangerMaggie on March 25, 2007, 02:24:34 PM

Title: Noob question...
Post by: DangerMaggie on March 25, 2007, 02:24:34 PM
I'm a noob, so forgive me for asking this... does RMXP support movie files, such as AVI, or MOV?
Title: Re: Noob question...
Post by: :) on March 25, 2007, 02:25:30 PM
No, to play (i forget I believe AVI files) you need a certain script.
Title: Re: Noob question...
Post by: SiR_VaIlHoR on March 27, 2007, 02:46:13 PM
U can play any movies with a script like this:

make new script called Scene_Movie


change the line @temp = @wnd.call(0,0,nil,"LE_NOM_DE_VOTRE_PROJET").to_s
"LE_NOM_DE_VOTRE_PROJET" is the name of your project after,
make an event that call a script:
$scene = Scene_Movie.new("VIDEO",5) where VIDEO is the name of your video file (avi, divx etc...) and 5 is the number of seconds of your video.
Don't forget to make a new directory called Movies  in your project.

PS: if you put a video with rmv format (RV9 or RV40) or mkv etc... it's only cause u have the right codec but if u give your project to anyone that haven't the right codec, he'll not see the movie.