Dodgeball Final Project

For my final project, I wanted to make a dodgeball collision game. The object of the game is to control a player circle and dodge the larger objects bouncing around. It would be implemented with a mouse drag function and the the player would not be allowed to touch the balls or the sides of the canvas. The score would be kept with the timer in milliseconds.

I had a lot of fun making this project, but I wish I had a better system for implementing the collision detection, since it was a bit spotty. The detection worked well for the sides of the canvas, but less so for the animated balls, since they were in constant motion. If I had more time, I would experiment with color matching for a possibly much more effective collision detection.

Here is a video screen grab of my project:

Below is a screenshot of what a starting screen might look like. The balls have random colors generated each time the user plays. The user is depicted as a minimalistic “tron” white circle:
Screen Shot 2015-12-10 at 11.07.54 PM