Saturday, July 31, 2010

Writing Tetris

I'm currently in the process of writing a couple small games in an effort to use Sgine for some real-world game development in order to fill in any wholes and evaluate how easy it is to use in a complete application. The first simple game on my agenda is Tetris. I'd say I'm about half-way finished writing it, and I think it's coming along pretty well:

As you can see I'm using 3d cubes to represent pieces and though the game itself is still played on two dimensions the appearance is in 3d slightly translucent and rotated on the x-axis in order to give it a little more depth. I'll post a link to play the game once it is finished, but I know many people have asked if there are any practical examples of Sgine and I just wanted to send out this note to let everyone know that there will be soon. :)

Also, you can't see it from the screenshot obviously, but I have the original Tetris theme playing in the background on loop. Oh, how it takes me back to playing on the Gameboy as a kid. :)


  1. i've been following the progress of sgine for a a week or two now, it looks great!

    i'm only wondering why you have decided to base it on lwgl instead of using jogl...

  2. @hansi: I actually started out with JOGL and moved to LWJGL. My first reason is that LWJGL seems to be much more standards-based to OpenGL than JOGL, but it also seems to perform much faster and with fewer hard-coded ties to AWT.

    All-in-all I'm quite a bit happier with LWJGL than with JOGL.


Note: Only a member of this blog may post a comment.

Scala Engine for high-performance interactive applications.