Project 2 - Game

The game does not work, unfortunately. I have met with the professor a couple times and neither of us can figure out exactly what is the problem, which relies on the setSpeed() function that will have a movieclip send a speed to the bat movieclip, but the function is just not being reached, even though the movieclip is. Shame, really.

Since the project was due on Halloween, I decided to give it a Halloween theme. :) I took my idea for the game from the Freaky Factory game on Neopets.com and simplified it enough that I could code it. Granted, if I had a month to work on the game and better graphics skills, I could probably emulate the Neopets game exactly (with a Halloween theme, of course).

As for the game itself, it opens with a title screen that offers you the choice of setting your settings and going directly to the game or to read the instructions first. The settings include a volume slider (which refuses to work, even after two hours of trying to get it to behave) and a choice of difficulties, which will grey out (reduce alpha transparency to 25% original) the other two selections so it is obvious which difficulty you have picked.

Once you get into the game, there is a timer, a potion counter, an ingredient counter, three big pots with ingredient labels on them, and once in awhile a black cat will appear. Theoretically, this is how the game works: the timer will start counting down and bats will start flying across the screen with one "ingredient" clutched in their claws. If you click a bat, it will drop its ingredient, and if the ingredient hits the right pot, the ingredient counter for the next potion for that ingredient will go down by one. If the ingredient hits the wrong pot or misses all three pots completely, however, the overflow counter goes up.

There are only three ingredients you actually need, but two (tongue of dog and wool of bat) will either fill up any one pot or add +10 seconds to the timer, respectively. Once in awhile a black cat will hiss its way across the screen, giving you a bad luck run of -20 seconds to the timer.

In reality, the game ends up doing any of the following randomly:

In addition, as a result of the failure of setSpeed() to execute, if you click on a bat to drop its ingredient, the ingredient will continue across the screen horizontally but will not go downwards, thus making you lose the game every time since you cannot put any ingredients in any pot.

What a mess. :(

Complete documentation of all sources used (media and audio) are on the Media page.

Return to main