C# Tutorial – Transparent Image Animation using Paint and Animator in Windows Form and Visual Studio

Hi, have you ever wanted to truly play with transparent GIF or sprite sheet animations in windows form. No. well we did and here is the answer. After failing to do this for a long time finally found a way for smooth animations and amazingly true transparent layered image positioning in windows form and c#. No ones asked for this tutorial and it wasn’t in any sort of top level problem solving list either, this is just a simple production of a curious mind.

So what is this project for then? This project is created with a curiosity of how to make games like graphics in windows form applications and use them for displaying animation, collisions, click events, movements etc. This is the first video among many we will explore in terms of how to get do some crazy stuff with Paint events in windows form.

Lesson Objectives:

  1. Make a transparent animator player in windows form and c#
  2. Call the images from the C# script using the Image Class
  3. Use some form of Class Instances in the project
  4. Use the Animator class to animate GIF images using paint
  5. Use custom event listeners for the GIF animation
  6. Test the form for appropriate results

Video Tutorial –

Download The Fan Windmill Animation Images Here

 

Full Source Code For the Fan, WiindMill animation project




Comment on this tutorial and let us know how you got on -