• Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

It's Not Over Yet

Sign in to follow this  


Still not finished Two Player Pong. But things I have done today are add a sound effect that will play when the ball hits a wall or player (I intend to put in two different tones but I have only found one at the moment - I was only looking for one to make sure I had set up SDL_mixer right [smile]).

Also I have rejigged some of the collision detection parts so that instead of seeing if the ball/wall/player collide with each other *now*, I see if they *will* collide in the next frame and take steps to make sure they don't overlap and only touch. At the moment I have ball-wall and player-wall collisions working and only the right side of player one and left side of player two (ie neither the top or bottom faces).

Tomorrow, I plan to finish the collision detection, change the title screen so that it tells the player the controls, add a winning screen, add another beep and release (if I can work out how to do it).

Thanks for reading.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement