Judah Smith
03-17-2008, 04:18 PM
Hi
I'm trying to make my first flash game. Reading 'Beiginning Flash Game Programming for Dummies' has got me so far, but I am now a bit stuck.
My game is a mix of pong and breakout. The player has to break down a wall in front of him by bouncing the ball off the bricks before getting the ball to the opponents side and making them do the same. For each brick the player destroys in his wall, he adds a brick to his opponents wall.
I have the pong bit working but I am a bit stuck on the arrays which will hold the players bricks and the opponents bricks.I have gotten a line of bricks for each of the player and the opponents brickArray but the opponent bricks seem to be sitting on top of the players bricks, despite me having given them two different start positions.
Could someone take a look at my code and tell me what I am doing wrong? Its probably very simple but I'm just not seeing it (n00b alert!).
I've also included a jpeg of the game which explains what I am trying to do.
Thanks
I'm trying to make my first flash game. Reading 'Beiginning Flash Game Programming for Dummies' has got me so far, but I am now a bit stuck.
My game is a mix of pong and breakout. The player has to break down a wall in front of him by bouncing the ball off the bricks before getting the ball to the opponents side and making them do the same. For each brick the player destroys in his wall, he adds a brick to his opponents wall.
I have the pong bit working but I am a bit stuck on the arrays which will hold the players bricks and the opponents bricks.I have gotten a line of bricks for each of the player and the opponents brickArray but the opponent bricks seem to be sitting on top of the players bricks, despite me having given them two different start positions.
Could someone take a look at my code and tell me what I am doing wrong? Its probably very simple but I'm just not seeing it (n00b alert!).
I've also included a jpeg of the game which explains what I am trying to do.
Thanks