I have a video for a cutscene, and I was going to use splash video to add it in the game.
Can someone explain how to use splash video?
splash video
Started by naruto_chao, Jun 13 2012 04:20 AM
4 replies to this topic
#1
Posted 13 June 2012 - 04:20 AM
#2
Posted 13 June 2012 - 04:31 AM
gml code is splash_show_video("video.mpg",1)
video.mpg,is the name of the video.if it is in the sme folder u can simply type video name like"hello.mp4" etc,if it is other directory type for example"c:\program files\video.mpg".
1 is for loop,if u dont want to loop keep 0.eg splash_show_video("video.mpg",0)
if u want it to be fullscreen splash_set_fullscreen('video.mpg')
if u want the cursur to be present or not splash_set_cursor(true)
where u want the initial poit of the video be splash_set_position(16,10)
what size do u need splash_set_size(320,240)
if u want it to stop in mouse click splash_set_stop_mouse(mb_left) or esc button splash_set_stop_key(vk_escape)
video.mpg,is the name of the video.if it is in the sme folder u can simply type video name like"hello.mp4" etc,if it is other directory type for example"c:\program files\video.mpg".
1 is for loop,if u dont want to loop keep 0.eg splash_show_video("video.mpg",0)
if u want it to be fullscreen splash_set_fullscreen('video.mpg')
if u want the cursur to be present or not splash_set_cursor(true)
where u want the initial poit of the video be splash_set_position(16,10)
what size do u need splash_set_size(320,240)
if u want it to stop in mouse click splash_set_stop_mouse(mb_left) or esc button splash_set_stop_key(vk_escape)
Edited by ZyklonMiraj, 13 June 2012 - 04:43 AM.
#3
Posted 13 June 2012 - 05:42 AM
Uh, the file is saved on the desktop as WWU.mp4 if I add it to the files included with the game, in full screen with no loop, what would I put?
#4
Posted 13 June 2012 - 05:59 AM
splash_show_video("WWU.mp4",0)Uh, the file is saved on the desktop as WWU.mp4 if I add it to the files included with the game, in full screen with no loop, what would I put?
splash_set_fullscreen(true)
note:in the included files uder export,select
export to the folder containing game.
#5
Posted 13 June 2012 - 06:10 AM
Thank you
that's been bothering me for a while. I already clicked the green circle too.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











