CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Animation

  1. #1
    Join Date
    Nov 2007
    Posts
    28

    Wink Animation

    I am making an animation in Java,
    I'd like the jerkings to go away to make the animation more real
    But it seems like setting the thread alone can not help at all. Pleaseeee
    Thanks for your help.

  2. #2
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,877

    Re: Animation

    Thread with repaint().
    Without seeing your code or a specific question, its hard to recommend.
    Norm

  3. #3
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Animation

    If by "Setting the thread" you mean changing the thread priority then you may or may not see any difference. Thread priorities guarantee very little and the effects vary from platform to platform.

    Smooth animation is best achieved by drawing to an offscreen buffer, I suggest you google for some tutorials such as this one.

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