在LibGDX中的纹理上渲染视频 [英] rendering video on a texture in LibGDX

查看:61
本文介绍了在LibGDX中的纹理上渲染视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是LibGDX的新手
我正在构建一个游戏,并且我拥有一个动画背景,该背景具有大约10秒的动画(约250帧左右),因为尝试为此创建一个Sprite工作表(当然是大背景)是没有用的,有一种方法可以呈现视频文件是png序列到纹理的文件,这样我就可以在游戏中绘制动画背景了吗?

i am new to LibGDX
i'm building a game and i have an animated background that has about 10 seconds of animation (250 frames aprox.) since it's useless to try and build a sprite sheet for this (large background of course) is there a way to render video files are png sequence to a texture so i can have my animated background drawn in the game?

推荐答案

现在有视频播放扩展程序gdx视频.

There is now an extension for video playback gdx-video.

这篇关于在LibGDX中的纹理上渲染视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆