level 3
然后求助_(:3」∠)_
怎么播放视频_(:3」∠)_
2013年08月03日 11点08分
2
level 13
视频的话还真没用过。不知道这个函数能否帮到你:
url_open_ext(url, target);
2013年08月03日 22点08分
3
谢谢⊙ω⊙说不定是个办法 昨天去爬了一晚上官网论坛。。简直绝望了
2013年08月04日 09点08分
回复 踹纸帝 :继续求助QAQ 怎么打开本地写好的html
2013年08月04日 09点08分
试了好多方法也没能成功打开……莫非真的只能用sprite序列播放视频么……
2013年08月06日 07点08分
回复 踹纸帝 :肯定不是。这几天天热,都没开台机,回头研究下。
2013年08月06日 09点08分
level 13
研究了下帮助文件,GM或者GMS要播放视频,只需要使用一个函数即可。
splash_show_video Shows a video splash screen. fname is the name of the video file. Whether a particular movie file is supported depends on the drivers on the machine. Typically you can use .avi, .mpg, and .wmv files but avoid special codecs. You best put this file in the folder of the game yourself or in a subfolder. loop indicates whether to loop the video.
显示一个视频溅射屏幕,参数fname是视频文件的名称。是否支持视频依赖于你机器上的驱动。通常你可以使用AVI,MPG或者WMV文件,但是要避免使用特殊的视频类型,你最好把视频文件放在你游戏所在目录的子目录中,参数loop,指定是否循环播放。
亲测可行,不过机器里要先装有相应视频文件的解码器。
2013年08月07日 23点08分
9
我在手册里翻到的这个函数,后面写着(obsolete),说这种方式仅支持windows,所以在gms里就舍弃了……我试过的确没有效果……前辈如果可行的话,能丢给我一个gms的栗子么?不胜感激
2013年08月08日 03点08分
哦这样吗?我确实是在gm中试的。如果已经舍弃,看来在gms中要换其他方案了。回头再研究下。
2013年08月08日 04点08分