![]() This lock can be prevented if we ensure that AL.create() is called after Display initializaton. I replaced my “official” LibGDX libraries with the ones I had just compiled… and after that the game refused to run.įurther tests showed that LibGDX was getting locked in Display initialization. What Im trying to do is create a fullscreen display using lwjgl, display the video (with audio synced) as an intro, then either when the video is finished or forcefully skipped continue to the main menu. Now, time to change The Rainbow Machine project. I am currently using lwjgl, and cannot easily change to a different library, so please limit suggestions to those compatible with lwjgl. ![]() I downloaded that version of LWJGL, compiled it, and updated my version of LibGDX. It’s still labeled as experimental, though. However, the LWJGL gurus are already working on an experimental branch which has made great progress. The problem: LibGDX is based on LWJGL (for Desktop versions), and LWJGL was not working on Mac OS X with Java 7. What I’ve been up to lately is porting The Rainbow Machine to Mac OS X, but using Java 7. And definitively, the good design in these libraries makes them easier to understand. The best part of this work is that I’ve learned quite a lot by reading the internals of LWJGL and LibGDX: the authors of such libraries are really clever people. ![]() It took around 4 hours to glue everything together and have a working solution. For a couple days I’ve been busy browsing and modifying source code. \\begingroup\ I have done the opposite, encode a H.264 video from OpenGL rendering with Java, and I can highly recommend xuggler.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |