Sometimes the "key up/down" events are very useful.
"Key up" event can be very useful sometimes. Imagine the game Tetris. When you press down button and hold it (key down event occurs) the block begins to fall down faster until you release the "down" button and "key up" event occur - then the speed of block falling comes back to normal state.
Last edited by grgczyz : 06-08-2007 at 09:58 AM.
|