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

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

问题描述

我是 LibGDX 的新手
我正在构建一个游戏,我有一个动画背景,它有大约 10 秒的动画(大约 250 帧),因为尝试为此构建一个精灵表是没有用的(当然是大背景)有没有办法渲染视频文件是 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天全站免登陆