Home > database >  When animating a control over a graphic, the graphic erases
When animating a control over a graphic, the graphic erases

Time:07-18

I am using a transparent image, from this package enter image description here

After Image:

enter image description here

CodePudding user response:

I figured out the solution. In the SlideToDestination function, after changing the location, all I needed to do was call Form1.snake.Update() where snake is the transparent image control. Then it redraws the snake every time after updating the location.

  • Related