Jump to content
  • Advertisement
Sign in to follow this  
lehthanis

Ionware Tetris Tutorial questions/problems

This topic is 2268 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all,

I've been going through IonWare's Tetris tutorial over at http://openglgui.sou.../tutorials.html and I'm having some oddities.

First of all, the screen is VERY flickery when the game is running with the provided source code. It seems to respond to my move commands quite well, but the animations seem to be goign super slow, and eliminating full lines seems to be slow also.

I'm also having trouble with loading blocks. It only seems to want to give me the square block...so I can't tell if block rotation is working or anything.

I ended up commenting out all the includes for glaux.h and the sample code compiled with minimal changes (I had to add the int declaration in front of several i=0 statements in the parentheses portions of for loops). Does anyone know how to contact the author of those tutorials and whether or not he intends to finish the series? Edited by lehthanis

Share this post


Link to post
Share on other sites
Advertisement
Flickering tends to occur when your application is single buffered, instead of double buffered.

Also, that tutorial seems to be out of date, judging by the calls to glVertex. Modern OpenGL tutorials are shader based; Immediate mode is obsolete.

... I think OpenGL is great, but I don't think it's a good place for beginners to start.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!