I'm trying to build a little shoot-game just for fun. But I have problems to handle the keyEvents well.
My SpaceShip should fly to the direction as long as the key (for example: VK_UP && VK_RIGHT --> fly to north-east) is been pressed. by this way a lot of events are thrown and I don't know the right way to catch them (performantly).
Could you please post an example? To see, what I mean, please visit my applet:http://www.gm.fh-koeln.de/~wi784/to/java/flight/flightJar.htm
The steering doesn't work valid - that's my problem.
greetings & thanks