LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: gregorypierce on March 03, 2005, 18:46:28

Title: Announce: Javalobby running tutorial series on LWJGL
Post by: gregorypierce on March 03, 2005, 18:46:28
In an effort to get the project more exposure and get a clean set of docs I worked with Java Lobby to start running a tutorial series on LWJGL. You can access this series at:

http://www.javalobby.org/articles/game-programming/

This first piece is more newbie than most people here will need, but parts 2-4 will dive deep into LWJGL and at the end of it you'll have a nice little 2D game library that sits atop LWJGL and allows you to make games.
Title: Announce: Javalobby running tutorial series on LWJGL
Post by: Matzon on March 03, 2005, 20:52:24
excellent!
just have to register.....
Title: Announce: Javalobby running tutorial series on LWJGL
Post by: Matzon on March 03, 2005, 20:54:20
while waiting for my validation key...
who has copyright of the articles? - I would like to add it to lwjgl.org at some point in time, so that all people don't have to register... (if you dont mind)
Title: Announce: Javalobby running tutorial series on LWJGL
Post by: Matzon on March 03, 2005, 22:36:53
Nice article, looking forward to the next installment.
A couple of things:
1 (page 4): The image of WindowCreationTest is Windows XP - yet states it is OSX
2 (page 5): ...(as of this writing that would be lwjgl.jar, lwjgl_devil.jar, lwjgl_fmod3, lwjgl_media, lwjgl_util).... lwjgl_media is just resources, and needn't be added
3 (page 5): ...the directory
where the liblwjgl.dll (windows),..
it's lwjgl.dll under windows.
4 (page 7): You might consider using the util display mode selection stuff instead of manually selecting, see here: http://lwjgl.org/forum/viewtopic.php?t=948
5 (page 10): There is no need to call Keyboard.poll(); It is done automatically on a Display.update();
Title: Announce: Javalobby running tutorial series on LWJGL
Post by: elias4444 on March 03, 2005, 22:44:34
Keyboard.poll() is called on a Display.update()?
Ah, the things I never knew.
Title: Announce: Javalobby running tutorial series on LWJGL
Post by: Matzon on March 03, 2005, 23:08:54
/**
* Update the window. This calls processMessages(), and if the window is visible
* clears the dirty flag and swaps the buffers and polls the input devices.
* @throws OpenGLException if an OpenGL error has occured since the last call to GL11.glGetError()
*/

:lol:
Title: Announce: Javalobby running tutorial series on LWJGL
Post by: gregorypierce on March 04, 2005, 02:15:42
I will incorporate this stuff in the revision to the .pdf that will be going in (hopefully) Tuesday.