• 6 years ago
LWJGL 2 tutorialon how to create a 3D Java game with OpenGL!\r
\r
Tutorial about setting up the project:\r
\r
\r
Full code:\r
\r
\r
\r
Common Problems:\r
\r
-In case you had annotations off, you need to do the ContextAttribs stuff all in one line like this:\r
ContextAttribs attribs = new ContextAttribs(3, 2).withForwardCompatible(true).withProfileCore(true);\r
\r
-If you get the following error: org.lwjgl.LWJGLException: Could not create context (WGL_ARB_create_context) then your computer may not support the version of OpenGL that were trying to use (version 3.2). Try removing the parameters from the Display.create() method and try again.\r
\r
- Make sure you didnt miss the ! in the (!Display.isCloseRequested()) part.\r
\r
\r
LWJGL Wiki: \r
\r
My Youtube Channel: \r
Follow me on Twitter: \r
Check out my game on IndieDB:

Category

📺
TV

Recommended