• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is animation typically redrawing or updating the entire window constantly?

 
John Quach
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought only a character needs to be updated, not the background or any non-moving objects.

I thought about this after I removed the code that fills up the background in this program. The result was the image being shadowed, or the image the buffer replaced was never erased and left a trail of the image wherever the user dragged the mouse cursor.





 
Mich Robinson
Ranch Hand
Posts: 260
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
typically, yes.
 
Randall Twede
Ranch Hand
Posts: 4363
2
Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
concidering even ordinary GUI components are constantly redrawn i would think so.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic