At 1/11/09 03:16 PM, DawnOfDusk wrote:
At 1/11/09 03:13 PM, pyrobunny9 wrote:
I have 2 different questions regarding programming for as2:
1: Is there a tutorial for making a bouncing ball? I made one myself but it can only bounce in 8 specific directions.
Uh, well, lets see yours. Making a ball that just bounces isn't difficult. But how is the ball suppose to bounce? Based on the users input? or randomly?
2: Is there a tutorial for making the towers in a tower defense game? I cant figure out how you would make the bullets fly towards the enemies.
Your not that good yet. Sorry.
bouncing ball: Mine is designed with 8 buttons on it so that it flies in that direction when you hit it. it also falls downward like gravity
Cannon: I see. I kinda figured that would be the case, but is there a tutorial anyway? I never actually was planning on making a full fledged tower defense game, I just wanted to know. I also wanted to use that type of thing for a different game i'm making. (An overhead game where your character shoots where the your mouse is.)