Search code examples
javaopengllwjgl

LWJGL openGL immediate mode vs pure java


Like the title says, what render method would you recommend for a 2D top-down game to get the best performence?

Would you use LWJGL to use openGL immediate rendering mode or pure java?


Solution

  • I would recommend using neither the Java Swing/AWT library or the LWJGL (In it's immediate form). I would personally recommend using either Slick2D or LibGDX libraries as both have really useful features and optimizations that allow for your game to be written much quicker and run much faster.