Foreword
Resources
Code Listings
Foil Sets
Assignments
Solutions
External Resources
SiteMap
Search
Home
| |
[ Up ] [ Assignment-01a ] [ Assignment-01b ] [ Assignment-01c ] [ Assignment-01d ] [ Assignment-02 ] [ Assignment-02a ] [ Assignment-03 ] [ Assignment-03a ] [ Assignment-03b ] [ Assignment-03c ] [ Assignment-03d ] [ Assignment-04 ] [ Assignment-04a ] [ Assignment-04b ] [ Assignment-05 ] [ Assignment-06 ] [ Assignment-07 ]
Writing a Java applet with moving objects
- You may choose to design your own animation/moving object applet.
- or explore the moving object examples shown in class.
- Copy the movable rectangles and other movable objects examples from the web page.
- Write an applet similar to mRectApplet.java or mObjApplet.java that has one or more
moving rectangles, circles, and triangles.
- Make another child class for a different shape (hexagons?, mushrooms?, trees?, text?,
images?) and extend your test program to have one or more of these.
- Add the boundary checks, if you haven't already, and try unusual bounce patterns
(different directions?, different slope?)
|