2D grid based moving

Started by Kaito, May 28, 2014, 19:37:15

Previous topic - Next topic

Kaito

Hey :)

I just found LWJGL and it is pretty interesting.
Now I would like to experiment a bit with it and I am searching
for a nice tutorial how to move an object on a grid (like in the good old pokemon games :D)

thanks in advance for your help

greetings
Kaito

quew8

Welcome @Kaito

I'm afraid I don't know any specific tutorials for that kind of thing.

Read the tutorials on the wiki. http://lwjgl.org/wiki/index.php?title=Main_Page. That should teach you how to get things (like the squares in a grid) rendering on the screen and parsing keyboard input (like for moving said squares about said grid). That should get you on your way.

If you are looking for more advanced OpenGL tutorials after the wiki's then might I suggest:

@SHC's ongoing tutorial series: http://goharsha.com/lwjgl-tutorial-series/, which is a LWJGL specific OpenGL tutorial.

The older (incomplete, but more than complete enough) arcsythesis tutorials http://www.arcsynthesis.org/gltut/ which is not LWJGL specific but the wonderful @ra4king has ported the code examples to LWJGL here: https://github.com/ra4king/LWJGL-OpenGL-Tutorials

Kaito

okay :)
thanks for your help