PDA

View Full Version : [AS3] help altering some Breakout code


InuyashaX5
12-13-2009, 09:25 PM
I'm currently doing a personal project of making a breakout game into a warlords like game (the old arcade game). Basically to get a general idea of what I'm talking about, see the screen shots here: http://www.hardcoregaming101.net/warlords/warlords.htm

What I'm trying to do is to use the code from this tutorial ( http://www.mrsunstudios.com/2008/07/tutorial-create-a-brick-breaker-game-in-as3-part-4/ ) to make a version of that, only with maybe 1 or 2 players instead of 4. I've been having trouble moving the paddles vertically because for some reason the ball always stick to the paddle.

Any clue on how I can make the paddle work in a vertical position? and maybe some help on how make it 2 players (with two paddles)?