【发布时间】:2016-05-23 23:32:46
【问题描述】:
我想在我的 LWJGL 游戏中播放一段视频作为介绍。我怎么能这样做?
我已经设置了多个状态,现在我只是尝试在已经创建的状态下实现介绍视频。
//This for now keeps the into state the red color for now.
public void introElement(){
//This clears the color from the previous State.
GL11.glClear(GL11.GL_COLOR_BUFFER_BIT);
//This changes the color to red.
GL11.glClearColor(1, 0, 0, 1);
}
【问题讨论】:
-
我不想对你太苛刻,但这很有趣:p