CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2000
    Location
    Germany
    Posts
    18

    animation in applets

    i have created an applet that draws 4 circles of the same size and now im trying to get the circles to move in single steps in a square motion using clearing them as they go along..and i want the loop to keep going say 5 times.any help or an different example or anything owuld be apprectiated! thankyou


  2. #2
    Guest

    Re: animation in applets

    Define an abstract Path interface that allows you to reset the path, and return a position on the path given a "time" variable. Implement the Path interface in a SquarePath class.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured