blah blah blah is here! blah blah » Close

up0down
link

Hi guys!
I have a problem with getting smoothe movemetns with objekts.
I guess it would help to incresse the reletive low framerate in a normal windows application. How can i increse the framerate?
Thanks!

last answered 2 years ago

1 answers

up0down
link

buy a better computer.
thats about all you can do.

up0down
link

Jacob,
I take it you've tried setting the DoubleBuffered property to true for the form and any custom controls you've created ?
It usually helps to reduce flicker.

up0down
link

setting the double buffer flag will help w/ the immediate window. but chances are if thats flickering, then sub windows will too, and therefore would have to create a whole new line of controls, and set their double buffered property to true. and all that would be a lot of work and would require a bit more work on the computer (which is obviously already poor to begin with).

up0down
link

no, it's not the computer, but I haven't tried the doublebuffrer.
just for explanation, my probllem is, that it i make a loop an keep setting an images kordinats to +1, i wil see the image move, but also a little black box for a secund the possesion the image had before? as if the form doesnt update fast enough?

up0down
link

I have a suggestion. you can make a picture box that contains a gif which contains the picture you are moving and this picture is animated to move +1 on the needed direction per frame along the width of the gif according to the width of the form.

up0down
link

Is it a problem with the monitor?
Try changing the frame rate of the monitor? I always notice CRT monitor flickering at 60 Hz.

This post was imported from csharpfriends, if you have a similiar question please ask it again.

All previous members have been migrated, hope you enjoy the new platform!

Feedback