Visual Basic 2010 Express Tutorial 13 - Making Parallel Arrays and the Bouncing Balls Animation


This tutorial will take the code from Tutorial 12 and build upon the code. This application will use several balls to bounce around the window. Parallel arrays will be used instead of adding code for each ball. Parallel arrays must have the same number of elements and work in tandem with each other

The PowerPack OvalShape will be used.
If you need the PowerPack 3.0 plugin, it can be downloaded for free at msdn.microsoft.com/en-us/vbasic/bb735936.aspx

Window properties and coordinates used in the video are as follows

VB Form Client Rectangle

VB Client Rectangle

Code Download
VBT13.zip