| View previous topic :: View next topic |
| Author |
Message |
Archonius Newbie
Joined: 22 Aug 2005 Posts: 7
|
Posted: Aug 24th, 2005 06:33 PM Post subject: Flickering in BITBLT |
|
|
Hey im using BITBLT but its flickering a little more than id hope. Im refreshing my image every 50 milli seconds to ensure smoother movement with my star ship yet it flickers abit.
Now ive heard of double buffering and decided originally not to use it to make things simpler. But im heading that way (but not fully understanding it). I understand it to be making all your changes where they cant be seen (im doing it on another undisplayed form but I've read about it just being done in memory) and then blitting the entire unseen picture to another form where they can be seen. But this seems just as bad. Does anyone know any methods of less flicker. Or can someone explain double buffering a little better. (bear in mind im new to bitblt and dont want to over complicate things) patronisation isnt a problem when talking about bitblt and double buffering.
Thanks.
Rob |
|
| Back to top |
|
DoobieKeebler Moderator

Joined: 17 Jun 2005 Posts: 254 Location: 181°15'2.003"W, 93°5'16.956"N
|
Posted: Aug 24th, 2005 06:41 PM Post subject: |
|
|
Double buffering is what they do to aspirin so you don't get sick, right?
Seriously, 50 milliseconds gives you a frame rate of 20 FPS (frames per second). If you lower the interval to 25 it gives you 40 FPS. Is that possible? |
|
| Back to top |
|
Archonius Newbie
Joined: 22 Aug 2005 Posts: 7
|
Posted: Aug 24th, 2005 06:46 PM Post subject: |
|
|
| Surely increasing the fps im increasing the flickering. I'm not sure how your responce can help my problem. |
|
| Back to top |
|
DoobieKeebler Moderator

Joined: 17 Jun 2005 Posts: 254 Location: 181°15'2.003"W, 93°5'16.956"N
|
Posted: Aug 24th, 2005 07:07 PM Post subject: |
|
|
| I've got that backwards then? Sorry. I thought the flickering might be from a low FPS. |
|
| Back to top |
|
|