Randomness wrote...
provide me a piece of code so maybe I can understand better what you mean ?1 2 3 4 5 6 | if (Greenfoot.isKeyDown( "up" )) { yourplayer2.move(- 2 ); if (ball.isTouchingPlayer(yourplayer2)) { ball.move(- 2 , yourplayer2.getRotation()); } } // no else part required |