From: William K. <nb...@so...> - 2001-08-31 23:26:37
|
On Fri, Aug 31, 2001 at 04:13:14PM -0700, Samuel Hart wrote: <snip> > Kewl, can't wait to see ;-) Do a 'cvs update' :) I use the 'drinking' and 'spitting out' frames at the beginning of the game. (Not sure that I'll use it at the beginning of each level, though.) I randomly pick one of the four console ones when you type any keys. If you miss a comet, it picks between 'drat' and 'yipe' :) When you get one, it randomly picks whether to animate at all, and if it does, it picks between 'yes' and 'yay'. Finally, if a comet lands, it plays the 'fist' one. I need to integrate the 'kiss' and 'egypt' ones when I add the "wave complete" code. > Hey, I just noticed that sometimes if your system is running to slow (or CPU > too slow, or X support lackluster, or whatever) that occassionally numbers > you type will be dropped. For example, I was playing and the answer I needed > to type was 12, but when I typed it (and I did type it ;-) only the "2" > showed up. Eep.. While adding the 'demo' feature, I handled all key events outside the "while SDL_PollEvent()" loop, so really it's probably a matter of you typing too quickly. > I'll look into it if I can.... but if you get to it before me, feel free > (probably some sort of SDL_Event polling problem ;-) I'll see what I can do to fix it. THanks! :) -bill! |