Valhalla Legends Forums Archive | Java Programming | 2 Quick Applet Questions

AuthorMessageTime
Clan CDH
1.  I need to create a moving eye and have it follow the mouse cursor.  My teacher said we're going to have to be doing this in a few weeks but I've been sitting in class doing nothing b/c I'm already done with our assignments.  He said something about using distance formula, but wouldn't you use Tan, Sin, or Cos?

Oh, and how does one go about creating a text box?


Thanks!
-Aaron
September 9, 2008, 2:30 AM
c0ol
Why do you need a text box?  For following eyes you need a canvas that you can draw 4 circles on(one for each eye, one for each pupil)
September 9, 2008, 9:46 PM

Search