I am using this listener
class Transaction implements KeyListener // When character typed
{
public void keyPressed( KeyEvent e) // Obey this method
{
...
Type: Posts; User: JakkyD
I am using this listener
class Transaction implements KeyListener // When character typed
{
public void keyPressed( KeyEvent e) // Obey this method
{
...
Ahh my first post on this forum and it's a shambolic one. I apologise. I didn't call the checkCollisions(); function while running the main program loop.
I added this and now it's working fine.
...
Hi all, I'm creating a game of Pong and I'm having trouble seeing whether the ball has hit the paddle. My game so far has a ball that bounces around the screen, and a paddle on the left which can be...