简体   繁体   中英

how to insert a movie clip into my game?

我正在制作一个Android游戏,我想在游戏中插入爆破的影片剪辑(.flv),我该怎么做?

You don't. Android only supports the video formats specified here: http://developer.android.com/guide/appendix/media-formats.html

Convert the video to h.264 or mpeg-4 with a supported container, then play it with the builtin android mediaplayer and/or videoview classes.

我不确定是否可以使用froyo支持的动画gif来访问浏览器,但是可以使用多个.png文件模拟展开效果而不是影片剪辑,可以在JEtBoy示例游戏中看到它

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM