Announce: Javalobby running tutorial series on LWJGL

Started by gregorypierce, March 03, 2005, 18:46:28

Previous topic - Next topic

gregorypierce

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.

Matzon


Matzon

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)

Matzon

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();

elias4444

Keyboard.poll() is called on a Display.update()?
Ah, the things I never knew.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

Matzon

/**
	 * 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:

gregorypierce

I will incorporate this stuff in the revision to the .pdf that will be going in (hopefully) Tuesday.