Game Using Sprites with Different "Personalities"

Category:
Multimedia/Games
Type:
Applications
Difficulty:
Advanced
Author:
gh0ul

Version Compatibility:

More information:
This application, a game in which you shoot mosquitos, was an experiment on using several sprites simultaneously, each one assuming a new personality when it is time for a change. This is done by using a personality table for each of the mosquitos. A personality table is nothing more than an array of integers. Each integer represents a given personality.

In addition, a corresponding array, or table contains the amount of time the bug remains in each personality.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download aidemo.zip