top of page
Search
  • kgriesh1

Virtual Assignment 2

For this assignment I included two ellipses. One is hitting off the left and right side of the screen and the other is hitting off the top and bottom on the screen. The ellipse going to the right and left I made change different shades of blue randomly. The ellipse going to the top and bottom I made change different colors. At one point I was able to get one ellipse bouncing off both the right, left, top, and bottom of the screen but I had no idea how I did that. So the final product includes two ellipses, one going to the right and left, and the other going to the top and bottom on the screen.


https://editor.p5js.org/KristinGrieshaber/sketches/8IEM1wgch

0 views0 comments

Recent Posts

See All

Final Project Process Cont.

So I decided to extend the goals to the top and bottom of the screen. So when the ball hits the right or left side it enters the whole goal. Another thing I did was when the game ends it will say, for

Final Project Process Cont.

For my project I was able to add the feature of the game ending when the blue team wins, I need to figure out how to get the game to end when the purple team wins as well. I also need to add in where

Final Project Process Cont.

For my project I got rid of being able to increase the ball size. I got rid of it because my professor had a very good point that anyone could cheat by increasing the size of the ball so that it hits

Post: Blog2_Post
bottom of page