How to create a smooth animation using C# Windows forms?

HuMMeR-SI picture HuMMeR-SI · Jan 24, 2013 · Viewed 68.4k times · Source

due my school project I must create a game using Windows forms only..

I have decided to create a 2D racing game. So now I need to move the car image. To move it I tried to animate the car with the KeyDown event, however the animation is really Faltering.. So is there any other way to create animation? or is it possible to soomth it somehow? (For the car I use a PictureBox that Docked to the form and in its paint event im redrawing the car in the right window positions.)

Answer

Kobunite picture Kobunite · Jan 24, 2013

This post should solve your issues: simple-animation-using-c-windows-forms

He details how he went around coding animation in a windows form and covers some of your questions.

If that doesn't solve it, look up using some XNA libraries as Freeman said.