Search:

Type: Posts; User: JakkyD

Search: Search took 0.08 seconds.

  1. Replies
    2
    Views
    1,454

    Re: Prevent object going outside of screen?

    As you can see here as well



    // if the ball hits the left wall add to Player 2 score
    if ( BallXLoc <= 11 ){
    Player2Score +=...
  2. Replies
    2
    Views
    1,454

    Prevent object going outside of screen?

    I solved object going outside of screen by saying if the Y axis of paddle = top or bottom of screen then set the paddle's Y axis to the min/max so it can't go over.

    I have another query to do with...
Results 1 to 2 of 2