I have this assignment and i am really struggling with, i understand what to do but i cant implement the code because the teacher didnt explain classes, methods and arrays well so all i did was read the textbook but i still struggle immensly.
i need to make this
http://sleepeater.net/comp115assignment3HD/applet/
using: classes, methods and arrays.
Each ball has the following characteristics –
-
diameter (between 20 and 80 pixels)
-
color (random)
-
location (random, but such that the entire ball is within the window)
-
speed in x and y directions (each speed component is a random value
between 0.1 and 2.0)
-
additionally for fading, it has –
-
opacity and
-
speed of fading
-
The number of balls that are generated are between 5 and 20.
-
(16%) Using collideWith(Ball other) method to implement collision between Balls.
i know i can't really do this but i need urgent help guys, and i would honestly appreciate it because i dont want to fail this hard course, i need it to graduate, thankyou heaps.
1