From: Gottlieb, Chris (cpg) (cpg@sequent.com)
Date: Thu 13 Jul 2000 - 19:01:13 IDT
Hi, I am wondering if you could shed some light onto a tetris game programming problem that I am experiencing. Using svgalib I have the following program loop:- drawScreen(); int count = 0; if(count > 19){ shiftTetrisBlocks(); count = 0; } for(;;){ drawScreen(); lookForUserEvents(); usleep(50000); count++; } Just wondering if you could see a problem in this logic. The keys respond as they should but I cannot get program to draw stuff onto the screen. Any ideas? if the logic looks ok, then how can i debug svga programs? thanks, Chris Gottlieb
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST