If the ship touches the left side of the screen in another words if the location of the ship is negative in the x axis I want the ship to turn in the other direction (right). I did a System.out.print...
Type: Posts; User: hellhunt
If the ship touches the left side of the screen in another words if the location of the ship is negative in the x axis I want the ship to turn in the other direction (right). I did a System.out.print...
The method that controls movement is the translate method. For example if I put
enemyship.translate(enemyship.getSpeed(), 0);
The enemyships move to the right drawing him self 3 pixels to...
Here I made a code that takes an object, in this case an enemy ship, and move it to the left. I want that object to bounce to the right when he touches the left side of the screen and bounce to the...