joelwross / coloradocollegegame

Automatically exported from code.google.com/p/coloradocollegegame
0 stars 0 forks source link

Can only move in cardinal directions #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The java MousePressed and MouseReleased events aren't behaiving as would be
expected.  

Presently you can't hold down left and up and head in a North West 
direction.  

Presently if you hold down the up key (for example) for a minute it will
repeateedly call the MousePressed and then MouseReleased events, instead or
only calling MousePressed and MouseReleased once.

So if I press down on the up key and then down on the left key, the
KeyListener will only receive KeyPressed and KeyReleased events for the
left key, not the up key.  

So if, in the game, you are moving up and then push left, you will not
continue to move up, but you will only move left.

Testing on KeyListener is needed or a work around discovered.

Original issue reported on code.google.com by bam.tho...@gmail.com on 1 Feb 2007 at 5:15