for a class assignment we have to make a pongish/handballish game so far i got two paddles, one blue and one red the ball starts off as green and turns the color of the paddle it hits it ounces off the paddle and hits the right wall and bounces back however if you miss the ball with the paddle it does not bounce of the left wall. i want to make a LOSE screen for when the ball goes off the left side and i also want to keep score of how many times each player hits the ball with the paddle i have tried doing both but neither attempts were successful i would GREATLY appreciate it if someone could help me. Thanks in Advance
Note: I have highlighted the part where i tried
//blue paddle is controlled by the 'a' and 'z' keys
i have this code which makes a cube with only one picture on all 6 sides so i want to make this cube have a different pictures on each side. This cube also moves as you move your mouse over it. If you want to send me a code assum ethe other pictures are called pic1.jpg, pic2.jp, etc. PS- this was based on the TextureCube example if that is neccesary.