Saturday, January 22, 2011

week 03 D

I was able to patch over the scan, for now, using a previous iteration. (Versioning: it saves lives). It's not as done as before, but at least it's working.

Before that, I had to put it aside in frustration and try working on another mini-game to keep up with my 2/week pace. For some strange reason, I went out of order and tried starting on the physical therapy. When one is pressed and stressed, doing something out of order is better than doing nothing at all.

I went back and started on the respiration test mini-game. All I want to do is have the patient hold the space bar to build up breath, then rapidly press keys to release. I set up an array to capture the keys being held down, and erase them as they are released. The problem is that one can simply hold down all the keys instead of rapidly typing them to have them register. This doesn't give the feel I was looking for. I tried only allowing counting the keys when they are first pressed, but it really gummed up my program. Now, I can't get the space bar to register, either.

No comments:

Post a Comment