|
-
May 1st, 2009, 11:33 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Choppy Movement in GDI
I have 22 30x30 shapes(players) moving around a simulated football field. This is the culmination of 2 years of basement hobby work and it looks pretty good except for some choppy movement. With 11 shapes moving around it really looks good, but doubling the load causes the flicker to be noticeable.
I have double-buffered the control that does the drawing and that helped immensely, but I'm looking for another way to improve the invalidation speed.
For each tick of the timer I basically calculate the positions of the "players" before and after they move and then invalidate the those rects, then I call Update() to force the drawing. This process repeats until the play is over.
Besides double-buffereing is there any tricks to try?
Last edited by neef; May 1st, 2009 at 11:01 PM.
Intermediate Level Programmer Extraordinaire 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|