top of page
Search

Assignment 8 (bug fixes)

  • ncampanelli0
  • Nov 12, 2019
  • 1 min read

change log:

1. Revised collision for ball to bounce off paddles properly (instead of requiring perfect pixel alignment with a sweet spot, which was the original collision detection. I figured out it was set to find a sweet spot on testing purely by accident).

2. Added collision to prevent paddles from going off screen.

3. Removed segments of code that no longer have any use (collision variables and dist() related code).

4. Removed debug code (text() and print()).


 
 
 

Recent Posts

See All
Final assignment (trivia project)

How I came to this idea for a project was simple. Back when I was in high school I made a trivia style game. This game was written for...

 
 
 
Assignment 9 (drawing program)

I made a drawing program with multiple colors that can be selected (with black being used as the eraser color as the background is...

 
 
 
Assignment 8

I attempted to make pong. I have a problem in getting the collision detection to work. I tried importing somebody else's code (p5 2d...

 
 
 

Comments


©2019 by creative coding art and games. Proudly created with Wix.com

bottom of page