Helpful Information
 
 
Category: Visual Basic Programming
graphics flickering

I am writing a game using VB that has a bunch of images moving around. Currently there is a lot of flickering. Is there any easier way to solve the flickering problem besides using ActiveX or directX?

From my experience, moving objects doesn't work well.

No, you don't need to use ActiveX or DirectX, but I'm pretty sure you need to call out to a graphics library. Assuming, of course, that you don't want to draw everything with form.Line, form.Circle, and form.Pset...

You can use gdi32.dll (part of windows). Search for "vb gdi tutorial" on Google without the quotes and you'll get with some fairly simple tutorials.










privacy (GDPR)