Choosing where to drop spheres
The player has to be able to choose where to drop spheres with the mouse. Moving the mouse over a column will make the sphere place at the very top of the column. This way the player will select the column by placing a sphere over it.
This time we'll try a different approach to game mechanics. Rather than having a different set of functions to be called according to what's happening on stage, we'll manage the whole game in the function triggered by an
ENTER_FRAME event. To let us know what's going on in our game, we'll use a variable called
gameStatus that will take various values according to the state of the game. Let's add three new class level variables to
private var balance:balance_mc=new balance_mc(); ...