Tag Archives: sprites

Perform Windows Forms property animation in C#

Making a control’s properties change over time is called property animation. Keeping track of where a control’s properties, for example its position as it moves, can be tricky, particularly if you need to animate multiple objects at the same time. … Continue reading

Posted in algorithms, classes, multimedia | Tagged , , , , , , , , , , , , | 4 Comments

Use vectors to manage bouncing balls in C#

This example is similar to the one Use sprites to animate several bouncing balls in C# except it uses vectors to store information about the balls. A vector is a direction represented by X and Y coordinates. For example, the … Continue reading

Posted in algorithms, animation, audio, geometry, graphics, multimedia | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Use sprites to animate several bouncing balls in C#

This example is similar to the one described in the post Animate several bouncing balls in C# except it uses sprites to control the balls. The previous example stores the ball data in a group of arrays. This approach works … Continue reading

Posted in algorithms, animation, audio, graphics, multimedia | Tagged , , , , , , , , , , , , , , , , | Leave a comment