Jump to content


Photo

splash video


  • Please log in to reply
4 replies to this topic

#1 naruto_chao

naruto_chao

    GMC Member

  • GMC Member
  • 18 posts
  • Version:GM8

Posted 13 June 2012 - 04:20 AM

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?
  • 0

#2 ZyklonMiraj

ZyklonMiraj

    GMC Member

  • GMC Member
  • 136 posts
  • Version:Unknown

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)

Edited by ZyklonMiraj, 13 June 2012 - 04:43 AM.

  • 0

#3 naruto_chao

naruto_chao

    GMC Member

  • GMC Member
  • 18 posts
  • Version:GM8

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?
  • 0

#4 ZyklonMiraj

ZyklonMiraj

    GMC Member

  • GMC Member
  • 136 posts
  • Version:Unknown

Posted 13 June 2012 - 05:59 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?

splash_show_video("WWU.mp4",0)
splash_set_fullscreen(true)
note:in the included files uder export,select
export to the folder containing game.
  • 1

#5 naruto_chao

naruto_chao

    GMC Member

  • GMC Member
  • 18 posts
  • Version:GM8

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users