
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An assignment for creating a smooth animation program using a custom double-buffering algorithm in c# gui programming. Students are required to modify the happyanimation project and implement a private workspace bitmap object to enable the algorithm. The program should be submitted for grading as smooth.exe.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Assignment 3 – Smooth Animation GUI Programming 10 Points
A PictureBox control is ideal for displaying an image and for doing animation. The problem with the PictureBox control is that if it is being used to animate a PNG or GIF image with a transparent background, it uses a double- buffering algorithm that produces an undesirable effect. To overcome this limitation, we must implement our own double-buffering algorithm.
Algorithm for Smooth Animation/Dragging:
Your assignment is to create a smooth animation program that implements this algorithm. The best way to create this program is to modify the HappyAnimation program given to you in class. You will need to add a private WorkSpace Bitmap object to your class so it is available to all the methods in your class.
The HappyAnimation project and smooth animation executable can be accessed from \cs1\Classes\Comp445\C#.
Submit your smooth.exe program to Easel before the next class period for grading.