Chapter Project Excetris

How to play the Excetris game was described at the beginning of the chapter and the worksheet containing the game is shown again in Figure 10.10. My objective for this program is to demonstrate the use of the Shapes collection object and some of its component objects while creating a fun program.

(Figure 10.10)

The Excetris worksheet.

(Figure 10.10)

The Excetris worksheet.

Excetris involves a minimal amount of animation involving a small group of Shape objects as they move down the area of the worksheet defined as the game board (cells C3:L17 in Figure 10.10). VBA is somewhat limited with regard to animation. The easiest tool available for use in animating an object is the OnTime() method of the Application object; however, its minimum one-second interval (see Chapter 4) will prevent Excetris from reaching a high level of difficulty for the player.

Biorhythm Awareness

Biorhythm Awareness

Who else wants to take advantage of biorhythm awareness to avoid premature death, escape life threatening diseases, eliminate most of your life altering mistakes and banish catastrophic events from your life.

Get My Free Ebook


Post a comment